SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components


I have a chart with four graphs, (four curves). I would like to get the Y-coordinate values for each of these curves, at the point where the mouse is positioned or clicked.

This code :

Point mousePoint;    
double yValue = YAxis.GetDataValue(mousePoint.Y);

gets only one of the y values, only one double value. I would like all the four y values, four double values. How can I get all these four y values? Thanks.

Version available on 10 September 2021
  • You must to post comments

I think I got the answer. We have to just do this:

double yValue1 = YAxes[0].GetDataValue(mousePoint.Y);
double yValue2 = YAxes[1].GetDataValue(mousePoint.Y);

Sorry for bothering you for such a small thing. Thanks. The documentation on your site is great.

  • Oleksandr Shvets
    Hi Amarnath, Thanks for your inquiry. We’re glad you’ve found a solution! If you have any further questions please feel free to ask. With best regards, Oleksandr
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.