Pre loader

SciChart.Updater to 4.0 not working, Visual Studio 2015 Professional.

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

Answered
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

Images
  • You must to post comments
Best Answer
1
0

We have now published the SciChart Updater Tool as a VSIX package compatible with Visual Studio 2015, which is available from the Visual Studio Gallery.

For full instructions on how to install and use the SciChart.UpdaterTool to migrate from v3 to v4, please see our migration guide.

Best regards,
Andrew

  • You must to post comments
0
0

Andrew —

So I installed 2013 Community Edition, and I was able to run the addin, but when running it, I received a whole bunch of “Error on creating copy” on the log. (Show in the attached image).

None of the namespaces have been updated when I checked the .cs files that use them.

Should I wait until you create something for VS 2015?

— Ari

Images
  • Andrew Burnett-Thompson
    Hi Ari, is there any chance you can send us over the solution you’re trying to upgrade? My personal email is andrew [at] abtsoftware.co.uk. Or the support at scichart.com email.
  • You must to post comments
0
0

Hello Andrew,

I have also Visual Studio 2015 Professional and only Visual Studio 2013 express, which couldn’t handle add Ins.
I hope you create an update tool for VB 2015 in the near future.

Regards

Frank

  • Andrew Burnett-Thompson
    Hi Frank, our team is working on it as we speak. We’re unable to fix issues with upgrading code as yet, no-one has given us code to test it out on.
  • Mor_eli
    Is the new tool available? I’m having the same issue.
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.