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?
- MIha Rozina asked 6 years ago
- last edited 6 years ago
- You must login to post comments
Hi Miha,
Thanks for your question.
I’m not sure that I 100% understood your requirements but I think you can do this in several ways:
– Move heatmap when you need to scroll xAxis by changing it’s StartX value:
dataSeries.setStartX(newStartOnXAxis);
- Create two xAxes ( like in this example ): first one (which is used to draw heatmap) should be invisible ( so there will be no ticks, labels etc for this axis ) and use second xAxis to draw axis labels. Then set VisibleRange for this second axis when it’s required.
Is this suitable for your needs?
Hope this will help you!
Best regards,
Yura
- Yura Khariton answered 6 years ago
-
Moving the dataSeries is not an option since all the data need to be shown. Having two axes sounds interesting, but I don’t think I fully understand. How would the visible axis be controlled? I will update my question with an example of my case and it will hopefully make it clearer what I am trying to achieve.
-
Have you read the updated question?
-
Yes, I’ve read updated question. Visible xAxis would be controlled by updating its VisibleRange value. When you “append” new values into heatmap you change VisibleRange in a such way that left and right edges of heatmap will be aligned with desired ticks on visible xAxis. Regarding approach with StartX – yes, it won’t work in your case. However I think you can use StepX property to stretch heatmap in a such way that it will be drawn in (startX, startX + heatmap_width * stepX) range. So when you “append” new values you adjust StepX to draw heatmap till desired label on xAxis
- You must login to post comments
Please login first to submit.