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!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

Answered
0
0

We implemented a custom TooltipModifier. We want to fade out the tooltip after a defined timespan if the mouse doesn’t move. Is there something predefined or how to implement this? It should be something like ToolTipService.ShowDuration from WPF.

  • You must to post comments
Best Answer
0
0

Hi Christian,

Thanks for your question. In our implementation of TooltipModifier, this behavior is implemented in code. We use a helper class which is basically a wrapper around DispatcherTimer. There is the HoverDelayProperty which stores the corresponding value.

So you could use this approach in your modifier. Add an additional property called ShowDuration and set up a timer when the tooltip is shown. In a timer’s callback just remove/hide a tooltip.

Hope this helps! Please let us know if you have any troubles with implementation of this behavior,

Best regards,
Yuriy

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.