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.
- Amarnath S asked 2 years ago
- You must login 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.
- Amarnath S answered 2 years ago
-
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 login to post comments
Please login first to submit.