Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dataZoom cannot be set to stick to values #6040

Closed
ljkania opened this issue Jun 21, 2017 · 2 comments
Closed

dataZoom cannot be set to stick to values #6040

ljkania opened this issue Jun 21, 2017 · 2 comments

Comments

@ljkania
Copy link

ljkania commented Jun 21, 2017

Hi!

Lately I am working on integrating echarts with our project and we would like to use line plot to stream some values (for example we would like to show plot with currencies value since program was started) that means that we push new values to plots. Also we would like to allow dataZoom but since it works on percentages zoomed data changes - is there any way to tell dataZoom to stick to values/categories instead of percentage interval?

@100pah
Copy link
Member

100pah commented Jul 6, 2017

Specify startValue or endValue each time data is updated. It might work for your case I guess.

@ljkania
Copy link
Author

ljkania commented Jul 6, 2017

I've try to do that on dataZoom event (dataZoom event) but it is fired after changing zoom so when I was using slider to do that it was not working correctly since my changes were fighting with events firing by this slider.

@100pah 100pah closed this as completed in ed15878 Jul 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants