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 login to post comments
Hi Flemming,
Thank you for the question.
If I understand you correct what you are looking for is a RolloverModifier Tooltips. Please check this example here: https://www.scichart.com/example/wpf-chart-example-using-rollovermodifier-tooltips/
I hope this helps.
Best regards,
Julia, SciChart team
- Julia Skorobogata answered 6 years ago
-
Hi Thanks for the suggestion :) But what I want is just the cursor – no tooltip and no marker. The rollover modifier snaps to the data points – I do not want it to do that. /Flemming
- You must login to post comments
Can I ask the same question here since no answer was given.
I want to display a CursorModifier so that I can show all the series values in one tooltip popup. I already have this working fine for cross-hair cursor using the CursorModifier.
The customer also wants the same tooltip option shown but with a single vertical line cursor, not the cross-hairs.
I cannot use RolloverModifier as this shows each series value in a separate popup.
CursorModifier with only vertical line would do the job.
Thanks
- Andrew Milford answered 2 days ago
- You must login to post comments
In case someone else wants to do this I have achieved what I needed by subclassing CursorModifier as
public class VerticalCursorModifier : CursorModifier
{
private Line _verticalLine;
protected override void ShowCrosshairCursor(Point mousePoint, bool drawHorizontalLine, bool drawVerticalLine)
{
var modifierRect = ModifierSurface.GetBoundsRelativeTo(RootGrid);
if (drawVerticalLine)
{
ShowCrosshairLine(ref _verticalLine, mousePoint.X, 0d, mousePoint.X, modifierRect.Height - 1);
}
}
private void ShowCrosshairLine(ref Line line, double x1, double y1, double x2, double y2)
{
if (line == null)
{
line = new Line { Style = LineOverlayStyle, IsHitTestVisible = false };
ModifierSurface.Children.Add(line);
}
line.X1 = x1;
line.X2 = x2;
line.Y1 = y1;
line.Y2 = y2;
}
protected override void UpdateYAxesOverlay(Point mousePoint)
{
// base.UpdateYAxesOverlay(mousePoint);
}
}
- Andrew Milford answered 23 hours ago
- You must login to post comments
Please login first to submit.