Pre loader

Zoom generates new grid lines in background

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums


I want to zoom at graph but without generating new 5×5 cubes in background. Is there a way how to do it?

  • You must to post comments

Hi Martin,

Axis bands are drawn between even/uneven major ticks which are generated by axis TickProvider. So the only way to prevent regeneration of bands is to disable auto ticks generation and set your own Major/MinorDelta values. In this case band width will be always equal of MajorDelta and all bands will be drawn at same coordinates.

Also if you need more manual handling of this case you can create custom TickProvider and generate major ticks values on your own:

class CustomTickProvider extends TickProvider {

    protected void updateTicks(DoubleValues minorTicks, DoubleValues majorTicks) {
        final IAxisCore axis = this.axis; // can get some values from axis if it's required

        minorTicks.add(desiredMinorTicks); // set minorTicks
        majorTicks.add(desiredMajorTicks); // set majorTicks

Hope this will help you!

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.