Pre loader

X axis values repeated with autoticks

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


When i am in Zoom in my X axis values are repeated (See attached image) i think the problem with autoticks the xaml code for x axis is



how can i fix this?

  • You must to post comments

Hi Raghupathy,

This occurs because the default NumericAxis.TextFormatting = “0.###”

Take a look at this article on MSDN about Custom Numeric Format Strings

“#” Digit placeholder: Replaces the “#” symbol with the corresponding
digit if one is present; otherwise, no digit appears in the result

e.g. 1234.5678 (“#####”) -> 1235

If you want to see decimal places, you need to set a StringFormat that includes decimals. For instance:

NumericAxis.TextFormatting = "0.000###"

Will always show 3 decimal places. For more advanced string-formatting, please see our LabelProvider API.

Best regards,

Showing 1 result
Your Answer

Please first to submit.