Pre loader

I want to display a character string on the X axis

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

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
1

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/Sandbox/CustomerExamples/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 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies