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 have requirement do change majorDelta/autoTicks for different ranges
If the max is <= 10,000, MaxAutoTicks should be 5
If the 10,000 < max < 20,000, MaxAutoTicks should be 4
what is the best way to achieve this taking into account user zooming and adding data in the background?
Probably DefaultViewportManager. This is a back-door API in SciChart that lets you customize the VisibleRange per axis. If you see the implementation here you can override various methods which are called by SciChart to set the range. If you leave the base implementation un-changed you can essentially use this as a place to get a notification when SciChart requests VisibleRange and update AutoTicks/MaxAutoTicks accordingly.
Please login first to submit.