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.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?
- bstapylton asked 11 years ago
- You must login to post comments
Hi again,
Regarding my suggestion, it allows you to avoid drawing on the ModifierAxisCanvas in your modifier. You could add something like this:
<s:VerticalLineAnnotation VerticalAlignment="Stretch" . . . IsEditable="True"> <s:VerticalLineAnnotation.Resources> <Style x:Key="labelStyle" TargetType="s:AnnotationLabel"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="s:AnnotationLabel"> <Grid> <!-- Triangular marker --> <Path Fill="{Binding Stroke}"> <Path.Data> <PathGeometry Figures="M7.5625,0 L-0.4995,15.4375 15.438,15.561996 z" FillRule="NonZero" /> </Path.Data> </Path> <TextBox x:Name="PART_InputTextArea" Visibility="Collapsed" /> </Grid> </ControlTemplate> </Setter.Value> </Setter> </Style> </s:VerticalLineAnnotation.Resources> <s:AnnotationLabel AxisLabelStyle="{StaticResource labelStyle}" /> </s:VerticalLineAnnotation>
Concerning the second issue, it is easy to achieve by modifying the SciChart template in Themes. Unfortunately, I can’t realize how to do that in another way (maybe inheriting the SciChartSurface and overriding its OnApplyTemplate method and changing VisualTree manually inside). But there is a workaround: you could draw ticks with a longer length (need to set the MajorTickLineStyle, MinorTickLineStyle properties, style’s TargetType is Line).
If there are another ideas how to manage it, I’ll get back to you.
Best regards,
Yuriy
- Yuriy Zadereckiy answered 11 years ago
- You must login to post comments
Please login first to submit.