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 }] 

enter image description here

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     } }] 

reference





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -