Tuesday, 15 September 2015

How to get number of pixels between two points in Highcharts? -


Knowing two plotted data points on a series in highchartes, how do I get the number of pixels between them?

In the series data you can find: chart.series [0] .data [0] ] .plotX to get the distance between two points: chart.series [0] .data [5] .plotx - chart. Series [0] .data [0] .plotx < / Code>

No comments:

Post a Comment