This is a migrated thread and some comments may be shown as answers.

HTML export with tooltip

1 Answer 78 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Davidm
Top achievements
Rank 1
Davidm asked on 22 Jun 2017, 02:36 PM
I've integrated the RadDiagram html export example from the WPF UI demos in my project. Now I would like to implement a tooltip when hovering over an connection path in the generated svg. In the cs sourcecode file a "tooltip" div with an "contentLabel" is added, but it is never used. Does someone have a working tooltip example that I could use?

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 27 Jun 2017, 10:39 AM
Hello David,

Thank you for contacting us.

Setting tooltip to the connection of the exported diagram in SVG format is not supported out of the box. You can achieve such behavior by implementing custom code. Basically, you can create a JavaScript function that gets all the polyline and subscribes to and  events. So when the user hovers a connection you can show a div for example which will represent your tooltip. 

Regards,
Dinko
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
Diagram
Asked by
Davidm
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or