Hi:
My name is Harold Ramírez and I have a question I would like you to answer because I don’t find any doucmentation about it online.
I have a WPF application with several charts, some of them in 3D. These 3D charts have the X axis in horizontal, Y in vertical and the Z in depth. I want only to keep the labels on the X and Y axis, on the left and bottom of the chart.
The only documentation I have found is this page: https://www.scichart.com/documentation/v5.x/webframe.html#Showing%20Axis%20Labels%20on%20one%20side%20of%20the%203D%20Chart.html, and only shows how to make it in XAML, but I need it to do it programatically in C#.
Thank you for your time.
Harold.
- Harold Ramirez asked 6 years ago
- You must login to post comments
Hi Harold,
Thanks for your question.
DrawLabelsModeProperty is a WPF attached property:
https://docs.microsoft.com/en-us/dotnet/framework/wpf/advanced/attached-properties-overview
So you can set it in code this way:
sciChartSurface.SetValue(XyAxisPlane.DrawLabelsModeProperty, eAxisPlaneDrawLabelsMode.AxisPlaneDrawLabelsLocalX);
Hope this helps.
- Oleksandr Shvets answered 6 years ago
- You must login to post comments
Please login first to submit.