apache / echarts

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

[Bug] Animations are not being suppressed, min and max labels on the xAxis are not getting populated. #20115

Closed RamkiAllada closed 9 hours ago

RamkiAllada commented 4 days ago

Version

5.5.1

Link to Minimal Reproduction

https://codesandbox.io/s/ccs4jz

Steps to Reproduce

Just open the sandbox link and run, the animations are seen even after passing the animation: false.

Current Behavior

Animations are not being suppressed. The min and max values of the x-axis are not getting surfaced. on the x-axis labels

Expected Behavior

Animations to be suppressed and min and max values on the x-axis coordinates needs to be surfaced.

Environment

- OS:Mac
- Browser:Edge
- Framework:javascript

Any additional comments?

No response

echarts-bot[bot] commented 4 days ago

I'm sorry to close this issue for it lacks the necessary title. Please provide a descriptive and as concise as possible title to describe your problems or requests and then the maintainers or I will reopen this issue.

Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.

A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.

Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.

plainheart commented 4 days ago

I'm afraid that's not animation but progressive rendering. Try to set progressive to 0.

RamkiAllada commented 4 days ago

@plainheart thanks for the instance response, I also have one more question on the above sandbox, the min and max values of the xaxis are not getting surfaced, even after specifing the min and max values in this sandbox. Thanks in advance.

helgasoft commented 3 days ago

Since the data is over 5000 points, it is recommended to optimize with large (large:true).

min and max values of the xaxis are not getting surfaced

Add showMinLabel: true, showMaxLabel:true in axisLabel

RamkiAllada commented 3 days ago

@helgasoft added in the above sandbox link, but it is not working.

helgasoft commented 3 days ago

don't see it in xAxis.axisLabel...

RamkiAllada commented 3 days ago

https://codesandbox.io/p/sandbox/apache-echarts-demo-forked-zkzz8f?file=%2Findex.js%3A75%2C23

helgasoft commented 3 days ago

only your Minimal Reproduction link works... Also codesandbox.io is weird, does not refresh after change... Here is Editor Demo. line-simple

RamkiAllada commented 3 days ago

@helgasoft I can see the code sandbox link working fine, only the min max labels are not populating, which I has raised in the above.

helgasoft commented 3 days ago

still cannot see your latest link https://codesandbox.io/p/sandbox/apache-echarts-demo-forked-zkzz8f?file=%2Findex.js

Sandbox not found It's likely that the Sandbox you're trying to access doesn't exist or you don't have the required permissions to access it.

Please use ECharts Editor with less data, so it could be shared.

RamkiAllada commented 3 days ago

Can we save in echarts editor? I dont see it is saving.

helgasoft commented 3 days ago

button Share will save code as a long link

RamkiAllada commented 3 days ago

The url is ending up with bad request. But able to download the HTML. 1720162707690.txt Please change the .txt to .html

RamkiAllada commented 3 days ago

@helgasoft any luck? Thanks in advance.

helgasoft commented 2 days ago

The url is ending up with bad request.

yes because there is too much data and URL becomes too long. That's why I said "less data". Both questions were answered and code provided in the Demo. Normally the issue should be closed.

RamkiAllada commented 11 hours ago

@helgasoft in which demo link have you updated the fix for showing min max labels of the xAxis.