Pre loader

How to use ClipModeX on our desired values instead of ClipAtExtents or ClipAtMin/Max?

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

0
0

How to use ClipModeX on our desired values instead of ClipAtExtents or ClipAtMin/Max?

Version
2.5.0.2608
  • You must to post comments
0
0

Hi there,

You can use ClipModeTargetX property and set it to use VisibleRangeLimit value for clipping. Then set desired range for VisibleRangeLimit on axis.

    final DoubleRange visibleRangeLimit = new DoubleRange(0d, 1d);
    xAxis.setVisibleRangeLimit(visibleRangeLimit);

    final ZoomPanModifier zoomPanModifier = new ZoomPanModifier();
    zoomPanModifier.setClipModeTargetX(ClipModeTarget.VisibleRangeLimit);

Is this suitable for your needs?

Hope this will help you!
Best regards,
Yura

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies