Pre loader

App fails to build on actual device after integrating SciChart via CocoaPods

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

Hi Alex

Clamping Axis.Visiblerange in SciChart WPF can be achieved with a VisibleRangeChanged event handler

Take a look at Clipping the Axis.VisibleRange on Zoom and Pan

Clipping Axis.VisibleRange in Code To clip the VisibleRange and force a certain maximum or minimum, just use the following code:

axis.VisibleRangeChanged += (s, e) =>
  {
     // e is VisibleRangeChangedEventArgs
     // Assuming axis is NumericAxis
  
     if (e.NewVisibleRange != null && e.NewVisibleRange.Min < 0)
     {
        // Force minimum visiblerange to zero always
        ((NumericAxis)sender).VisibleRange = new DoubleRange(0, e.NewVisibleRange.Max);
     }
  };
  

There are other methods in there such as using VisibleRangeLimit but these have their limitations (no pun intended), such as not clamping when user zoom/pan occurs

Version
4.1.0.5498
  • You must to post comments
0
0

Me too,

Showing Recent Messages
Building for iOS, but linking in dylib file (/Users/macbook/Library/Developer/Xcode/DerivedData/mobile-gfxousstkcsivradewpxtuwancjj/Build/Products/Debug-iphoneos/SciChart.framework/SciChart) built for iOS Simulator, file ‘/Users/macbook/Library/Developer/Xcode/DerivedData/mobile-gfxousstkcsivradewpxtuwancjj/Build/Products/Debug-iphoneos/SciChart.framework/SciChart’ for architecture arm64.

But build for simulator is success.

Help me.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.