Thanks Ehsan, The most essential part for these issues is the ability to aggregate data (or named grouping/binning), which is scheduled in v5.4.
What you mentioned as "stacking" doesn't seem to behave like current "stacking" [1] with Apache ECharts where each stacking element belongs to different series and in most cases have different colors. As for the time series, if data should be grouped into monthly, each month should have only one bar with the sum of the data within the month, rather than stacking bars each of which represents a single data. If you have different ideas about this, please let me know and let's see what we can provide for most reasonable situations. [1] https://echarts.apache.org/examples/en/editor.html?c=bar-y-category-stack Thanks *Ovilia* On Tue, Dec 7, 2021 at 2:14 PM Ehsan Saberian <ehsan.saber...@gmail.com> wrote: > Hi Ovilia, > > Thanks for your answer. We need to use the time axis so that the intervals > get auto handled by the chart when zooming-in/out. With the category axis, > this requirement can not be met. > I decided to keep using the chart with time and wait for the fix in the > next version. > I also added another issue (#16177) to the github repo about the > binning/Grouping of time series data. It's about stacking adjacent bar > charts when the xAxis type is time in different zooms like the example i > provided from FusionTime in > https://codesandbox.io/s/fusion-charts-forked-8iv04?file=/src/chart.js . > It's different from the #16099 which is about the width of the bars. > > Regards, > -Ehsan > > > > On Mon, Nov 29, 2021 at 6:42 AM Ovilia <oviliazh...@gmail.com> wrote: > >> Hi Ehsan, >> >> This behavior is because the width of bars in time series are decided by >> the number of bars in the viewport but ECharts doesn't provide a width >> option in the value (time) unit. That means, when zooming, the width >> stays the same as long as the number of bars does not change. >> >> If you have urgent requirements about it, I would suggest using category >> axis instead of time series so that you can control how data should be >> "binned" into categories. >> >> Thanks >> >> *Ovilia* >> >> >> On Mon, Nov 29, 2021 at 11:03 AM Ehsan Saberian <ehsan.saber...@gmail.com> >> wrote: >> >>> Hello, >>> I posted an issue in your github repo about 5 days ago. It's about >>> binning >>> of time series data whe XAxis type is 'time'. >>> Solving the problem is very urgent for our team project. >>> I would appreciate it if you can check that soon. The issue link is: >>> https://github.com/apache/echarts/issues/16099 >>> >>> Regards, >>> -Eh >>> >>