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?
- Unisense A/S Tueager asked 10 years ago
- last edited 10 years ago
- You must login to post comments
Yes of course.
In XAML i do the following:
<sciChart:TooltipModifier ReceiveHandledEvents="True" IsEnabled="True" UseInterpolation="True">
<sciChart:TooltipModifier.TooltipLabelTemplate>
<ControlTemplate TargetType="sciChart:TemplatableControl">
<Border Background="LightGoldenrodYellow" BorderBrush="#9AB400" BorderThickness="1" Padding="2" CornerRadius="3">
<StackPanel>
<TextBlock FontSize="12" Text="{Binding XValue, StringFormat='{}{0:h:mm:ss}'}"/>
<TextBlock FontSize="12" Text="{Binding YValue, StringFormat=\{0:0.000\}}"/>
<TextBlock FontSize="12" Text="{Binding Comment}"/>
</StackPanel>
</Border>
</ControlTemplate>
</sciChart:TooltipModifier.TooltipLabelTemplate>
</sciChart:TooltipModifier>
The coordinates are plotted and this works fine. In the lower part of the stackpanel i want some text to be displayed.
Right now it visually looks like what you can see on the image i have attached where coordinates appear.
I just need to be able to add some text that would be displayed for example in the bottom of the tooltip.
Thanks!
Best regards,
Jeppe
- Unisense A/S Tueager answered 10 years ago
- You must login to post comments
Hi,
If you take a look at the SeriesTooltips example, in the code behind you will find the TooltipDataContext property which is bound to the TooltipModifier.TooltipLabelDataContextSelector property. The object returned is used as the DataContext of a label.
Alternatively, you can use the XyzDataSeries and put comments as Z values. In this case your markup will work even without using TooltipLabelDataContextSelector.
Hope this helps!
- Guest answered 10 years ago
- You must login to post comments
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?
- Unisense A/S Tueager answered 10 years ago
- You must login to post comments
Please login first to submit.