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

Tooltip legend randomly switching order of equal values #2293

Closed
alantygel opened this issue Feb 11, 2018 · 3 comments · Fixed by #2311
Closed

Tooltip legend randomly switching order of equal values #2293

alantygel opened this issue Feb 11, 2018 · 3 comments · Fixed by #2311
Labels
C-bug Category: This is a bug

Comments

@alantygel
Copy link

Hi,

I have a stacked bar chart, and I chose the legend order to the descent. However, when there are 2 or more equal values, the legend order shown on mouseover tooltip keeps randomly changing the order of the values that are equal.

Here you can see an example: https://jsfiddle.net/cgwLqbL8/ . Just pass the mouse over the bar and look at the tooltip order.

Is there any way to avoid this?

@channot77
Copy link

channot77 commented Feb 13, 2018

Hi,
I have the same problem. It was working well with v0.4.17 but not anymore since v0.4.18.
Maybe a regression introduced with issue #1814 that was delivered on v0.4.18.
So the only solution for me was to revert to v0.4.17 for now.

@alantygel
Copy link
Author

Thanks , @channot77 .

Unfortunately the problem persisted in v0.4.20. Downgrading to 17 is still the way to fix it.

@kt3k
Copy link
Member

kt3k commented Mar 24, 2018

Fixed at #2311 and it is released as v0.5.1.

See https://jsfiddle.net/cgwLqbL8/1/

You need to update D3.js as well to use C3 v0.5.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants