Hello everyone,
I’m trying to display a tooltip when I hover over an annotation in our WPF project using MVVM.
I attempted to override the MouseMove event on the SciChart surface to identify which annotation the mouse was over by cycling through each annotation. However, it didn’t seem like a very good way to proceed to me and I didn’t try to display the desired information at that point.
While reviewing the documentation, I noticed that annotations have a “Cursor” property. Is there a way to bind that property from the viewmodel? That would make my job so much easier.
If anyone has suggestions on how to proceed, they would be greatly appreciated.
Thanks,
Andrea
- Andrea Cerfogli asked 2 months ago
- You must login to post comments
Hi Andrea,
Thanks for your inquiry.
Please accept my apologies for the late response.
Since SciChart Annotations are WPF UIElements, you could use WPF Tooltips with them.
Here you can find more details:
ToolTip Overview – WPF .NET Framework _ Microsoft Learn
Hope this helps.
Kind regards,
Lex,
SciChart Technical Support Engineer
- Lex answered 2 months ago
- You must login to post comments
Please login first to submit.