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

Values on Tooltip of Radar Chart is not shown #6188

Closed
chrg1001 opened this issue Apr 8, 2019 · 7 comments · Fixed by #6209
Closed

Values on Tooltip of Radar Chart is not shown #6188

chrg1001 opened this issue Apr 8, 2019 · 7 comments · Fixed by #6209
Milestone

Comments

@chrg1001
Copy link

chrg1001 commented Apr 8, 2019

Values on Tooltip of Radar Chart is not shown on v2.8.0 or v2.8.0-rc.1.
When I use v2.7.3 or older, this bug doesn't happen.

Steps to Reproduce (for bugs)

Please see official samples.

In this page v2.8.0 is being used. This bug can be seen.
https://www.chartjs.org/samples/latest/charts/radar.html
v2 8 0

In this page v2.5.0 is being used, so this bug doesn't occur.
https://www.chartjs.org/docs/latest/charts/radar.html
v2 5 0

Environment

Google Chrome 73.0.3683.103

@decodez
Copy link

decodez commented May 14, 2019

This issue still exist, Anybody have any workarounds? I think we should keep this open.

@simonbrunel
Copy link
Member

@decodez it's fixed in master but not yet released.

@nicorivat
Copy link

@simonbrunel Any idea on when the next version will be released ? Thank you

@dineshyadav83
Copy link

dineshyadav83 commented May 30, 2019

You can add the following in the chart options ( verified with chartjs 2.8.0, Google Chrome 74.0.3729.157 )

 tooltips: {
                enabled: true,
                callbacks: {
                    label: function(tooltipItem, data) {
                        return data.datasets[tooltipItem.datasetIndex].label + ' : ' + data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index];
                    }
                }
            }

@SkynI25
Copy link

SkynI25 commented Jun 11, 2019

@dineshyadav83 your solution works for me! Thanks

@jkosonen
Copy link

This is still not working with 2.9.3, and the workaround doesn't even work anymore.

@tetogomez
Copy link

@dineshyadav83 Thanks a lot !! works for me!!

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

Successfully merging a pull request may close this issue.

8 participants