Ineedto knowtheX and Y coordinatesoftheX axisandY axisandIthink itwould benice if Icouldget"AxisX.AxisLine"and"AxisY.AxisLine"in ordertoknowthelimitsofmyPlotArea.
You can get the PlotArea by the extension method ChildrenOfType<ClipPanel>(). In order to use this extension, you need to include namespace reference to Telerik.Windows.Controls. For example:
var plotArea = RadChart.DefaultView.ChartArea.ChildrenOfType<ClipPanel>().FirstOrDefault();
After that you can get the coordinates of the PlotArea by TransformToAncestor method:
Point relativePoint = plotArea.TransformToAncestor(rootVisual).Transform(newPoint(0, 0));
The rootVisual can be Application.Current.MainWindow or another Visual ancestor of the PlotArea.
I hope that this helps.
Kind regards,
Polina
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items