Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
How to control visibility of Tooltips for mutilple series charts
posted

I have a multi LineSeries chart with a legend that has check boxes to show/hide each series line when checked/unchecked.

I also have ToolTips (as a ItemToolTipLayer)  to show the x/y values at each point on mouse over.

This is all currently setup using straight xaml with an check box event handler to set visibility on the indexed series.

This all works as expected except for the ToolTips. When the lineseries is set to collapsed the ToolTips are still showing. I expected the ToolTips to inherit the visibility property of its lineseries.

If i set the visibility of the series to collapsed in the xaml code the ToolTip does not show UNTIL the lineseries is set to visible (checkbox on legend checked) and then the ToolTip will always show from that point on regardless of the visibility setting of the lineseries.

What do i need to set to accomplish showing/hiding the ToolTips when the line series is visible/collapsed??

 

Thanks

Rob