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
<s:SciChartSurface.XAxis>
</s:SciChartSurface.XAxis>
how can i fix this?
- Raghupathy asked 9 years ago
- You must login 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
string.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,
Andrew
- Andrew Burnett-Thompson answered 9 years ago
-
Can you send us a solution to reproduce via email? If the LabelFormatter returns some text, that is the text that should appear.
-
how can i calculate major and minor delta values depends upon the no of points?
-
You can see our TickProvider / DeltaCalculator API - this lets you calculate the ticks exactly for a given Axis: http://support.scichart.com/index.php?/Knowledgebase/Article/View/17201/30/advanced-tick-frequency-overriding
-
It's helped a lot... thank you Andrew
-
Very glad to be of help :)
- 3 more comments
- You must login to post comments
Please login first to submit.