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>
-
Setting RolloverModifier.Visibility to hidden has no apparent effect. How do I hide it (especially the vertical bar)?
-
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
- Edward Robertson asked 9 years ago
- You must login to post comments
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
- Andrew Burnett-Thompson answered 9 years ago
- You must login to post comments
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
- Edward Robertson answered 9 years ago
- You must login to post comments
Please login first to submit.