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

0
0

I want to display a character string on the X axis.

DataSeries can be realized by using XyDataSeries <sting, double> in ViewModel.

What is used for SciChartSurface.XAxis in View?

Version
5.1.1.11473
Images
  • You must to post comments
0
0

Hi Kenichi

To display strings on the XAxis, in SciChart you need to use an XyDataSeries with type int,double and use the LabelProvider feature to format strings.

There is an example I’ve just created here:
https://github.com/ABTSoftware/SciChart.WPF.Examples/tree/master/v5.x/Sandbox/UsefulExamples/Examples/StringsOnXAxis

LabelProvider documentation can be found here:
https://www.scichart.com/documentation/v5.x/Axis%20Labels%20-%20LabelProvider%20API.html

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.