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

hide the previous tooltip in case of null value #2790

Merged
merged 1 commit into from
Jun 15, 2020
Merged

Conversation

bounteous17
Copy link
Contributor

I am developing a bar graph in which it is necessary to differentiate the values of the "x" axis that have the value 0 or that simply there is no value for that position.

Since c3js does not support the use of "undefined" values, I am using a "null" to represent that there is no value on the "x" axis.

The problem comes when you have the mouse over a bar with a value and when you move the mouse over a bar that has no value, the tooltip of the previous bar remains visible.

The behavior that c3js currently has when rendering tooltips is somewhat visually confusing, as the position marked by the mouse is not clear.

@Eus32
Copy link

Eus32 commented Jun 4, 2020

It could be helpful in my project too.

@GDFaber GDFaber self-requested a review June 4, 2020 08:27
Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Thanks!

@kt3k kt3k merged commit 8422d2b into c3js:master Jun 15, 2020
@GDFaber GDFaber removed their request for review June 15, 2020 14:06
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

Successfully merging this pull request may close these issues.

3 participants