Hi, is there a way to get the number of major ticks lines and to calculate the difference of two consecutive major ticks lines values? Thanks.
- M. C. asked 6 years ago
- You must login to post comments
Using the TickProvider API in SciChart WPF, you can have full control over tick labels on the chart, including knowing what tick labels the chart is going to draw.
Have a look at the TickProvider API documentation for guidance.
What you want to do is inherit NumericTickProvider (or the right TickProvider for your axis type) and override GetMajorTicks / GetMinorTicks. Calling the base method will tell you where ticks will be placed.
Let me know if this helps,
Best regards,
Andrew
- Andrew Burnett-Thompson answered 6 years ago
- You must login to post comments
Please login first to submit.