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

v2.0-beta Cannot read property 'getLabelForIndex' of undefined in Pie/Doughnut Charts #1583

Closed
v0itenko opened this issue Oct 28, 2015 · 8 comments
Assignees
Milestone

Comments

@v0itenko
Copy link

Whe hovering mouse over some chart segment - tooltip doesn't appear and on every mouse move event over chart - console shows "Cannot read property 'getLabelForIndex' of undefined".
Bug is on Pie, Doughnut, PolarArea and Radar.
Works even for your samples. How I can quickly fix that?

@etimberg etimberg added this to the v2.0 milestone Oct 28, 2015
@etimberg
Copy link
Member

That function needs to be added to the radialLinear scale to solve polar area, and radar charts. Doughnut requires something else. @tannerlinsley any ideas?

@v0itenko
Copy link
Author

@etimberg I REALLY need fix for Pie right now 😢

@tannerlinsley
Copy link
Contributor

I'll try and fix it today.

@etimberg
Copy link
Member

Fixed in #1596

@catmeme
Copy link

catmeme commented Nov 20, 2015

I was having this issue, which this pull request solved, however, the tooltips don't like to show properly. The both flicker like crazy in Chrome 45 and Firefox 42.

I checked out the v2.0-dev branch and went to the samples/pie.html page in the browser and had this issue.

@etimberg
Copy link
Member

@catmeme try rebuilding. The flicker should already be fixed, we need to make another release (docs are holding us up at this point)

@catmeme
Copy link

catmeme commented Nov 20, 2015

Okay, thanks @etimberg

@wdeangelis-op
Copy link

Is this fix also in the Master branch? Still getting this issue with the latest version of Master.

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

5 participants