Skip to content Skip to sidebar Skip to footer

Highcharts.js : Get Specific Value From Data To Tooltip

I want to make a Highcharts donut chart based on this one. Only that my data would look something like this: data: [ {y:40, color: colors[0], name: 'yoyo'},

Solution 1:

change your formatter by :

formatter: function() {
    return'<b>' + this.key + '</b>';
}

When you don't know how is your object, use console.log(myObject) in your code and check your js console.

Post a Comment for "Highcharts.js : Get Specific Value From Data To Tooltip"