Getting the current YAxisSegment on mouse move
Posted: Mon Dec 25, 2023 8:48 am
Hi,
Is it possible to get the current YAxisSegment or segment index on chart mouse move event or somewhere?
I have multiple segmented Y axes with 1 point series each and have only one annotation (not for each series or Y axes) in the chart. So I need to find the segment the mouse is over and show the annotation for this point series' point.
I may calculate and find the current mouse over segment with _chart.ViewXY.GetGraphSegmentInfo() parameters but is there a better or easy way to find this?
Thanks.
Is it possible to get the current YAxisSegment or segment index on chart mouse move event or somewhere?
I have multiple segmented Y axes with 1 point series each and have only one annotation (not for each series or Y axes) in the chart. So I need to find the segment the mouse is over and show the annotation for this point series' point.
I may calculate and find the current mouse over segment with _chart.ViewXY.GetGraphSegmentInfo() parameters but is there a better or easy way to find this?
Thanks.