apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
59.72k stars 19.58k forks source link

Multi data Area Chart #19852

Open PaulMcF1987 opened 2 months ago

PaulMcF1987 commented 2 months ago

What problem does this feature solve?

Currently there is the option for a "stacked" Area chart What I am looking for is slightly different.

Currently, using the stacked area chart, the y-axis gives the total of all of the datasets added together

For example if total sales = £1000 and profit = £200 then the sales would show stacked on top of the profit giving a y-axis value os £1200.

Ideally I am looking for the ability to create a chart where profit would sit inside sales rather than ontop/underneath.

What does the proposed API look like?

an example of what I am looking for can be found Here I used to use this api before moving over to yourselves.

Any help would be much appreciates

helgasoft commented 2 months ago

an example of what I am looking for can be found Here

The FusionCharts example is not a stacked chart, but an area chart with opacity. Easily doable in ECharts. image