SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Answered
1
0

I would like to show the Y values of the slice on a special panel. So far I have not yet found out how to disable the tooltips that appear next to the annotation line. I have tried to add a ToolTipOpening handler to the anntotated line, to the modifier and to the chart surface but it does not get called.

What should I do?

  • You must to post comments
Best Answer
1
0

Hi there,

You could disable the tooltips by setting the TooltipLabelTemplate property to an empty ControlTemplate.

Also the same effect can be achieved using some workarounds, like setting the SourceMode to “SelectedSeries”, in this case tooltips will appear on the selected series only (having IsSelected set to True) or setting ShowTooltipOn to “MouseMiddleButtonDown”.

Please let us know if the above helps,

Best regards,
Yuriy

  • You must to post comments
0
0

Thanks, it most probably would. However, I already fell back to the regular VerticalLineAnnotation and OnMouseLeftUp:

private void verticalAnnotation_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
    {

        var i = mySeries.DataSeries.FindIndex(verticalAnnotation.X1, SearchMode.Nearest);
        my_value.Text = Convert.ToString(MySeries.DataSeries.YValues[i]);

        // snap to the nearest point
        verticalAnnotation.X1 = Convert.ToDouble(TorqueSeries.DataSeries.XValues[i]); 

    }

That might have been the best thing to do anyway because there is actually little need for the VerticalSliceModifier if tooltips are eliminated. I am new to SciChart and have some trouble with picking the right tools.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.