Hi! I happened to work on a similar chart awhile back and one edge case I've run into with the stacked bar transparent series approach is when a single bar needs to span from negative to positive (see discussion here <https://github.com/apache/echarts/issues/11885#issuecomment-917510076>). That probably doesn't apply in this case, but if needed, you can use a custom series type and encode start and end values as shown here <https://github.com/sjcobb/echarts-waterfall/blob/master/waterfall.js#L82>. I could potentially update / clean up that version and submit a PR to echarts-examples if people think it's useful.
On Thu, Apr 21, 2022 at 2:34 AM Ovilia <oviliazh...@gmail.com> wrote: > 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.bulala...@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 >> >