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

Bar Chart Flickers on Null Values #1822

Closed
dmk2014 opened this issue Dec 23, 2015 · 2 comments
Closed

Bar Chart Flickers on Null Values #1822

dmk2014 opened this issue Dec 23, 2015 · 2 comments
Assignees
Milestone

Comments

@dmk2014
Copy link
Contributor

dmk2014 commented Dec 23, 2015

Bars which have a null value fill the canvas height with a flickering effect when they are being drawn and subsequently when the user hovers. See attached JS Bin for demo - I changed values for each dataset in 'February' to null. This issue also occurs when string values cannot be parsed as a number, e.g. '-3%'.

https://jsbin.com/vohatuluba/edit?html,js,output

What I believe should be the correct output:
correct behaviour on load

The actual output:
what shouldn t happen

@etimberg etimberg added the v2.x label Dec 23, 2015
@etimberg
Copy link
Member

I think @tannerlinsley changed this behaviour. If you need a work around, changing the data to NaN is supposed to show nothing.

@etimberg
Copy link
Member

etimberg commented Jan 1, 2016

Flickering fixed in #1845. The tooltip behaviour seems like a separate issue. It is also overridable by changing the tooltip config function to return nothing if the data is NaN.

@etimberg etimberg closed this as completed Jan 1, 2016
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

2 participants