SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
I’m rendering a chart that uses a bound VisibleRange. You can see in the supplied screenshot that there has been a fairly small change to second chart’s X-axis “Min” value, resulting in the X-axis labels/ticks changing from 184.108.40.206… to 0.2.4.6.8…
What options are available to control how labels/ticks are generated, i.e. to make them more consistent? The first chart in the screenshot would also benefit from having a label at “0”.
FYI the screenshot shows a chart with four points, and X values of 0,1,5,10. In reality there could be more points or fewer, and the X values could range into the millions (e.g. if the user chooses “parts-per-trillion”, or even “parts-per-quadrillion”!).
Another feature (as seen in the supplied screenshot) allows the user to extend the trend line to see where it intercepts the X-axis. In this sample it’s quite close to 0, but in reality it could intercept at a much lower (or higher) value.
Please see this Knowledge Base article on Altering the Tick Frequency of an Axis. Those are the options we have at the moment for defining tick frequency. Unfortunately all the auto-tick generation is internal and cannot be altered (without adjusting the source code). Perhaps we could expose this as an API (Similar to IViewportManager, or ILabelFormatter)?
Update June 2014
In SciChart v3.0 we introduced TickProvider API which allows customization of tick generation via implementation your own tick generation algorithm. For more information please take a look our TickProvider tutorial.
What do you think?
Please login first to submit.