Pre loader

How to display coordinates including a comment when moving the mouse over a datapoint?

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

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
0
0

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

Images
  • You must to post comments
0
0

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!

  • You must to post comments
0
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
Showing 3 results
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