Jump to content
Software FX Community

get point index from value


User (Legacy)

Recommended Posts

Hello, I use constant lines as cursors which can be moved along the x axis.

I successfully use the PixelToValue method in order to get the appropriate x

values. Now I want to show the y values of all series at the cursor

position. Therefore, I must be able to get the point index from my x axis

value (chart.Values[series,point]. Is there an easy way like ValueToIndex or

shall I iterate over the whole XValue array by comparing each value to get

the index?

Thanks

Thomas

Link to comment
Share on other sites

  • 4 years later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...