javascript - Is there any way in Highcharts to auto show Labels/Text on a scatter chart? -


i scatter chart able automatically show next each plot point or bubble, piece of text identifying it.

here example of trying achieve

any appreciated !!

you need name in data, , add datalabel in series, check this:

series: [{         datalabels: {             enabled: true,             x:40,             formatter:function() {                 return this.point.name;             },             style:{color:"black"}         },         data: [{             "x": 23,             "y": 22,             "z": 200,             "name":"point1"         }, {             "x": 43,             "y": 12,             "z": 100,             "name":"point2"         }]     }] 

example: http://jsfiddle.net/tqvf8/


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -