echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] cannot display all labels that don't overlap with type time

Open spiral2k opened this issue 2 years ago • 2 comments

Version

5.4.3

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/echarts-charts-sync-poc-forked-ycn4mj

Steps to Reproduce

I'm rendering a chart and I set the xAxis to type=time with axisLabel.interval = 0 & axisLabel.hideOverlap=true I want to display all labels that don't overlap but the configuration seems to not affect the labels tried to pass a timestamp to the xAxis.interval, but that doesn't work either

Current Behavior

It shows only 1 label (not including showMinLabel & showMaxLabel) and i cannot change it

Expected Behavior

display all labels that don't overlap with the given space OR be able to display labels by interval (like a minute)

Environment

- OS: macOS Monterey
- Browser: Chrome 119.0.6045.199
- Framework: [email protected]

Any additional comments?

thank you

spiral2k avatar Dec 11 '23 14:12 spiral2k