javascript - Show PlotLine value on yAxis Highcharts -
i'm working highchart's char bar, wonder if theres way show value of average line (plot line), show value in 'yaxis' or on mouse hover show dialog exact value of plot line.
i show average line, can't read exact value on graph.
this plotlines highchart
plotlines: [{ color: 'red', value: avg, // insert average here width: '1', zindex: 2 // not stuck below regular plot lines }]
you should able show label:
plotlines: [{ color: 'red', value: avg, // insert average here width: '1', zindex: 2, // not stuck below regular plot lines label: { text: avg, textalign: 'left', x: -40 } }]
wiki
Comments
Post a Comment