Pre loader

Drawing on the XAxis

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

Answered
1
0

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?

  • You must to post comments
Best Answer
1
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies