javascript - Add dataLabel to Area chart in Highcharts.js -
javascript - Add dataLabel to Area chart in Highcharts.js -
i want add together info label specific point in 'area' chart. i'm using 'highchart' making graph. want info label in chart design next image. should seek ? tried datalabel defined in 'line' chart applies datalabel each point in chart. want applied specific point. also, should not show value of point datalabel should show series.name on point.
for relevant point in info utilize object notation , enabled info labels. can utilize format , formatter display desired information.
example of series be:
series: [{ name: 'my series name', data: [5, 10, 30, 100, 200, 300, 600, { y: 900, datalabels: { enabled: true, format: '{series.name}' } }, 700, 400, 100] }] or see this more elaborate jsfiddle example.
javascript charts highcharts
Comments
Post a Comment