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

data grouping is not considering all the values while zooming #7935

Closed
iampratapak opened this issue Feb 27, 2018 · 3 comments
Closed

data grouping is not considering all the values while zooming #7935

iampratapak opened this issue Feb 27, 2018 · 3 comments

Comments

@iampratapak
Copy link

iampratapak commented Feb 27, 2018

data grouping is not considering all the values while zooming

data grouping should consider all the values

fiddle link

http://jsfiddle.net/7hymw04f/184/

https://stackoverflow.com/q/49007983/2742156

I am grouping data for each hour. As you can see all the columns are having same length. Now zoom and you can see some of the columns are not having same height.

without_zoom
with_zoom

@iampratapak iampratapak changed the title data groping is not considering all the values while grouping data groping is not considering all the values while zooming Feb 27, 2018
@iampratapak iampratapak changed the title data groping is not considering all the values while zooming data grouping is not considering all the values while zooming Feb 28, 2018
@pawelfus
Copy link
Contributor

Hi @pratapgowda007

Thank you for reporting the issue, as you noticed this is a duplicate of #2957.

You can work around the issue by setting series.getExtremesFromAll to true: http://jsfiddle.net/BlackLabel/7hymw04f/185/ In general, only points in the visible range are grouped, points that are outside the extremes are not taken into calculations. In the docs we mention only yAxis extremes, but it affects dataGrouping too.

@iampratapak
Copy link
Author

Thanks.. it solved my issue

@pawelfus
Copy link
Contributor

Related ticket: #5344 and PR: #8049

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