Chart.js: Tooltip Dataset Label

Created on 2 Aug 2016  路  2Comments  路  Source: chartjs/Chart.js

Hi all,

I'm pretty new with chart.js, and I'm trying to show the dataset label in the tooltip.

view_chart

In the example above, I don't want to show "A", instead I want to show "Partners" and so on with each dataset.

Here is the example: https://jsfiddle.net/rch183nz/

Thanks

Most helpful comment

Edit title callback
https://jsfiddle.net/rch183nz/1/

All 2 comments

Edit title callback
https://jsfiddle.net/rch183nz/1/

Terrific! Thanks @frlinw, this is what I was looking for.

Was this page helpful?
0 / 5 - 0 ratings