SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
I want to convert XorYAxis value to total chart surface coodinate Point(X, Y), that includes the axises width too.
(Not chart modifier surface coodinate)
How can I get it?
First, get the point relative to the ChartModifierSurface by using our Coordinate Transformation API
Next, you can get that point relative to the parent SciChartSurface by using TransformPoint.
For example, try this:
SciChartSurface scs; // Gets a coordinate on the ChartModifierSurface by datavalues Point point = new Point(scs.XAxis.GetCoordinate(xDataValue), scs.YAxis.GetCoordinate(yDataValue)); // Translates that point back to the parent surface var translatedPoint = scs.ModifierSurface.TranslatePoint(point, scs);
Let me know if this helps,
Please login first to submit.