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++.”
(https://support-dev.scichart.com/index.php?/Knowledgebase/Article/View/17256/42/)
However, there is only asp.net sample code on the provided github.
(https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-dotnet-server-licensing)
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 login 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.
- If you use AutoRange.Always just set it to AutoRange.Never for YAxis.
- If you use ZoomExtentsModifier just set Direction = Direction2D.XDirection to disable zoom extents for YAxis
- If you use chart’s zoomExtents() method, then just use overload which affects only XAxis – zoomExtentsX()
Hope this will help you!
Best regards,
Yura
- Yura Khariton answered 5 years ago
-
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?
-
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 login to post comments
Please login first to submit.