Jeffrey Phillips
Posts: 56
Joined: Tue Aug 30, 2016 9:32 pm

Bubble Chart Tooltip Lable

Referring to http://cloud.highcharts.com/show/ohutoze

There must be some magic incantation I can put into Advanced/tooltip/headerFormat that will return the same value as the value in the "fuel" series. (i.e., the explicit label column)

You can see here that {point.fuel} isn't it. :-)
Screen Shot 2016-11-30 at 1.54.09 PM.png
Screen Shot 2016-11-30 at 1.54.09 PM.png (47.03 KiB) Viewed 1524 times
Screen Shot 2016-11-30 at 1.55.18 PM.png
Screen Shot 2016-11-30 at 1.55.18 PM.png (21.54 KiB) Viewed 1524 times
pawel_d
Posts: 1910
Joined: Thu Jun 02, 2016 10:28 am

Re: Bubble Chart Tooltip Lable

Hi Jeffrey Phillips,

Instead of

Code: Select all

{point.fuel}
try to use

Code: Select all

{point.point.label}
Please, look at the tooltip.formatter() function in the example below. When you hover on any point, notice in the browser console that you can reach to any point option through this.point.

Example:
https://jsfiddle.net/d_paul/8nLvjdej/

Regards.
Paweł Dalek
Highcharts Developer
Jeffrey Phillips
Posts: 56
Joined: Tue Aug 30, 2016 9:32 pm

Re: Bubble Chart Tooltip Lable

That did the trick—thanks Pawel!

Return to “Highcharts Cloud”