javascript - How to show other point property in bubble highcharts using tooltip -


i'm searching way show name property using tool-tip, way not work.

property plotoptions:

 ...,     plotoptions : {         bubble : {             tooltip : {                 headerformat: '<b>{series.name}</b><br>',                 pointformat : '{point.x} fatalities, {point.y} injured, {point.z}  total, {point.name} new prop'              }         }     },... 

property series

...series: [{         data: [[97,36,79,{name:'a'}],[94,74,60,{name:'a'}],[68,76,58,{name:'a'}],[64,87,56,{name:'a'}],[68,27,73,{name:'a'}],[74,99,42,{name:'a'}],[7,93,87,{name:'a'}],[51,69,40,{name:'a'}],[38,23,33,{name:'a'}],[57,86,31,{name:'a'}]]     },... 

try code here

your data not formatted properly.

this:

[97,36,79,{name:'a'}] 

needs this:

{x:97,y:36,z:79,name:'a'} 

Comments