SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
I want to limit the range of the grid lines of a graph. For example on the screenshot, I don’t want any gridlines on the marked area.
Is there way to do what I want?
I’m using version 22.214.171.12418
Yes there is,
You need to use our TickProvider API. We don’t have any documentation for it in v3.6, but we do have this article with worked example for v4.x.
Overidding the Axis.TickProvider
By default each Axis type has it’s own TickProvider type…
You can create your own, or inherit one of our TickProvider types to completely control the generation of axis ticks (label and gridline intervals).
Using this API you can have full control over the output of gridlines and labels.
Please login first to submit.