Accessing next Elements Name in Highcharts Tooltip -
how can next elements name in highcharts
for example
series: [{ name: 'weight', data: [50, 48, 80, 70]}, { name: 'height',data: [5.8, 5.1, 6.1, 6.0]} ] tooltip: { formatter: function(){ return this.series.name;//i want return here next elements name there way } }
in above tooltip iam returning current element name, there way immediate next elements name there..?
you can use shared tooltip, take look: http://api.highcharts.com/highcharts#tooltip.shared
Comments
Post a Comment