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!

0
0

Hi,

I’m using the out of the box RolloverModifier :

            <s:SciChartSurface.ChartModifier>
                <s:ModifierGroup>
                    <s:RolloverModifier x:Name="myRolloverModifier" ShowTooltipOn="Always" />
                </s:ModifierGroup>
            </s:SciChartSurface.ChartModifier>
  1. Setting RolloverModifier.Visibility to hidden has no apparent effect. How do I hide it (especially the vertical bar)?

  2. When my code behind sets myRolloverModifier.ShowAxisLabels = false, the behavior is as expected with the exception that the last shown x-value is left hanging on the chart until user moves the mouse off the plot. Is this a bug? Is there a workaround?

Thanks,
Dave

  • You must to post comments
0
0

Hi Dave,

All you need an more can be found in the article Adding TimeSeries Tooltips with the RolloverModifier

  • Visibility is not used, as the Rollovermodifier itself is not in the visual tree, but its children are (such as the line, tooltip etc…)
  • DrawVerticalLine property shows or hides the vertical line
  • ShowAxisLabels property shows or hides the axis label
  • Styling the rollover can be found in detail in the above linked article

Hope this helps,

Andrew

  • You must to post comments
0
0

Thanks, Andrew. I also found that isEnabled functions nicely as hide/show. But I still think you have a bug:

When code behind sets myRolloverModifier.ShowAxisLabels = false the last shown x-value is left hanging on the chart until user moves the mouse off the plot.

Thanks,
Dave

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.