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.
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
Post a Comment