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

Comments

Projects
None yet
2 participants
@ljkania

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

This comment has been minimized.

Show comment
Hide comment
@100pah

100pah Jul 6, 2017

Member

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

Member

100pah commented Jul 6, 2017

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

@ljkania

This comment has been minimized.

Show comment
Hide comment
@ljkania

ljkania 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.

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 in ed15878 Jul 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment