Pre loader

RolloverModifier not working as I'd expect...

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

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

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
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
Showing 2 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