SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
0

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.

Version
5.3
  • You must to post comments
0
0

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.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.