Skip to content

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

@the-string-val

Description

@the-string-val

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions