apache / echarts

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

[Bug] Stack does not work correctly if xAxis is value type #20506

Open the-string-val opened 1 week ago

the-string-val commented 1 week ago

Version

5.4.2

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AG4CGANgK5W0A0JAvt-uRz4iqUmUo1YDFu1q9-sPFQBOEKoVgBtEulFjYAE0ZhGRTZoCMABk4WArFYC6nLQCYbrgMxOXm751dXABZnLSCPCwAOUM0HW087GIA2GwsggHYY9I8Ux2cdUgpqOmYIaA4FMTwTAGMAawJaMHUwOTE-Ar0xIxMzSw8AThj3TnCY_yDE33DbK1hnWJts5JsMrJy8ysKJErKKgvRqxnrG5uq20g6xEkcUHgBuIA

Steps to Reproduce

  1. create simple line chart with both xAxis and yAxis as value type
  2. add stack property
  3. check the result

Current Behavior

Echart is selecting xAxis as stackable

Expected Behavior

yAxis should get selected as stackable or there should be option to provide which axis should be consider as stackable.

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

helgasoft commented 1 week ago

duplicate of #18437, #19400 📌 Please search existing issues before submitting a new one.