Pre loader

Force the chart to zoom to a certain starting point

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 am considering applying server-side licensing for my javerScript application.

In the document below, there is a phrase “Our server-side licensing component is written in C++.”

However, there is only sample code on the provided github.

I wonder if there is a sample code implemented in C++ for server-side licensing.

Can you provide c++ sample code?
Also, are there any examples to run on Ubuntu?

  • You must to post comments

Hi Nathanael,

I’m not sure how you perform zoom extents in your application, but you just need to set VisibleRange and configure chart to not update it.

Hope this will help you!

Best regards,

  • Andrew Burnett-Thompson
    To add to this. Zoom extents, always zooms to the extents of your data, always. I would suggest maybe a custom modifier? Override ChartModifierBase and the double tap gesture and set XAxis/YAxis.VisibleRange. We have loads of examples of custom modifiers for WPF, @Yura do we have one for Android?
  • Nathanael Anderson
    I am currently using ZoomExtents() — However, I’m willing to use whatever works best. I don’t want to STOP zooming on the Y axis — I still want the user to be able to zoom it in and out. What I want to do is when I refresh the data, reset the zoom on the Y axis to be 1-20 again. So basically it would act like the zoomExtents command, but always zoom me to a preset Y Axis? Does that make sense?
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.