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?
- Kwokon Ng asked 8 years ago
- You must login to post comments
I figured out what is needed.
Because I am using multiple YAxes, there is no default YAxis (null). For some reason, the VerticalLineAnnotation needs to know its Y coordinate even if it is a “stretch” line.
So the fix was just adding
YAxisId=”IdOfArbitraryYAxis”
to the XAML block for the VerticalLineAnnotation.
It would’ve been nice if the software was smart enough to figure that it didn’t need to know Y coordinates because it is a vertical line that stretched all the way. Oh well, at least it’s an easy workaround.
- Kwokon Ng answered 8 years ago
- last edited 8 years ago
-
Hi there, yes, that is correct, in multiple YAxis scenarios, VerticalLineAnnotation does need to know the YAxis ID. This is because YAxes may be configured in a way so that they do not take up all the vertical space. Apologies our software didn’t warn you more clearly, but as you say the workaround is very simple. Thanks for posting the answer!
- You must login to post comments
Please login first to submit.