You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by Ovilia <ov...@gmail.com> on 2022/05/05 15:36:14 UTC

Re: Bar Graph Question

Hi,

The doc is available at
https://echarts.apache.org/en/api.html#events.Mouse%20events.contextmenu

It should be called like
chart.on('contextmenu', function () { ... });

Thanks

*Ovilia*


On Thu, May 5, 2022 at 9:03 AM Jon Bulalaque <
jon.bulalaque@apiarysolutions.com> wrote:

> Hi Olivia,
>
> Would just like to ask if you have a sample of how to add context menu to
> the graph. Having a hard time finding one.
>
> Thank you,
>
> Jon
> ------------------------------
> *From:* Ovilia <ov...@gmail.com>
> *Sent:* Thursday, April 21, 2022 2:33 PM
> *To:* dev <de...@echarts.apache.org>; Jon Bulalaque <
> jon.bulalaque@apiarysolutions.com>
> *Subject:* Re: Bar Graph Question
>
> Hi,
>
> Here is an example:
> https://echarts.apache.org/examples/zh/editor.html?c=bar-waterfall
> The main idea is to create a transparent series to take the empty space so
> that the bars can "float".
>
> Thanks
>
> *Ovilia*
>
>
> On Thu, Apr 21, 2022 at 12:22 PM Jon Bulalaque <
> jon.bulalaque@apiarysolutions.com> wrote:
>
> Hi ECharts Team,
>
> Would just like to ask if you have a sample or if the graph below is
> possible.
>
> I was able to create this horizontal bar chart below. There are categories
> and each category has 2 tasks. If I pass a date value it will then fill the
> bar up to that date.
>
>
>
> Now let's say the task(s) has a start date and end date. I would like the
> bar to start and end on those dates. Please see the sample below.
>
>
>
> Hoping to hear from your team.
>
> Thank you,
>
> Jon
>
>