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.
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.
Please login first to submit.