Pre loader

How to set CursorModifier XaxisLable Format?

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

The defalut CursorModifier XaxisLable Format is “dd mmm yyyy”, I want to change them to be “yyyy mm dd hh:mm” in code. How to do that? thanks.

  • You must to post comments
0
0

Hi there,

You need to set the AxisBase.CursorTextFormatting property to do this (by default, equals the AxisBase.TextFormatting property).

If you want to dynamically change the text formatting on axis labels and cursor, consider using the ILabelProvider extension which provides fine-grained control over the labels generated, even allowing string output on the axes if you require.

Thanks!

Andrew

  • You must to post comments
Showing 1 result
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