SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.



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

Thank you

View post on

  • You must to post comments

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.

Best regards,

  • kewur
    Hi Andrew,Sorry I should have been more specific. I still want the gridlines to show up to the right of the Y Axis, but not to the left of it.
  • Andrew
    Kind of difficult to do. You can define the ticks (interval of gridlines) exactly, you can also move the YAxis position and have it centrally, but to hide gridlines to the left of the YAxis would require a source-code change
  • kewur
    Is there a way to draw the points outside of the rendersurface?
  • Andrew
    The RenderSurface bounds is inside the viewport (inside the standard placement of the axis), so technically, no. However, the Axis also has its own surface allowing you to draw ticks on it. Again none of these methods are exposed so you would need to modify the source to get to them. There is another way … potentially. AxisBase.ModifierAxisCanvas is a canvas control on the axis where you can place any UIElement. This allows you to place objects on the axis.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.