Reputation: 976
How can I find X position for each yAxis in my HighStock Chart? (some property like plotX and plotY in point object)
Upvotes: 1
Views: 68
Reputation: 37578
You can extract the position of axis, from left/right object and offset. If axis is on the left then this is:
axis.left
and if on the right:
chart.plotLeft + chart.plotWidth - axis.offset - axis.right
Example:
Upvotes: 2