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

MinPointLength not working if entire series values are 0 #7311

Closed
ngehlert opened this issue Oct 24, 2017 · 2 comments
Closed

MinPointLength not working if entire series values are 0 #7311

ngehlert opened this issue Oct 24, 2017 · 2 comments
Assignees

Comments

@ngehlert
Copy link

ngehlert commented Oct 24, 2017

Expected behaviour

When I have an entire series with 0 values, the plotOptions.series.minPointLength attribute should still apply and the entire series should be visible with the specified minPointLength

Actual behaviour

If the entire series has 0 values, the series is not visible at all. However if at least 1 value is > 0, the minPointLength does work for the entire series

Happens in the latest highcharts version: Highcharts JS v6.0.2 (2017-10-20)

Live demo with steps to reproduce

Entire series 0 values: http://jsfiddle.net/rpz0mv4f/
One value > 0: http://jsfiddle.net/rpz0mv4f/2/

Affected browser(s)

Chrome 61.0.3163.100
Firefox 56.0.0
Safari 11.0

@pawelfus
Copy link
Contributor

Hi @ngehlert

Thank you for reporting this bug. It used to work in v5: http://jsfiddle.net/rpz0mv4f/3/

Internal note:
It's a regression after 6b9e399 - @KacperMadej

@ngehlert
Copy link
Author

downgrading is currently not an option, so I'll just wait for the fix :). thanks for your quick response @pawelfus

do you know if there is any workaround besides setting a fake value in one entry?

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

No branches or pull requests

3 participants