Can I add a gauge to a diagram?

1 Answer 41 Views
Diagram
David
Top achievements
Rank 1
David asked on 04 Feb 2025, 01:46 PM

Using the Telerik WPF controls I can specify pretty much whatever content I want by setting the shape's content to a WPF control. Is it possible to do something like that with the Kendo controls (i.e. specify a Circular Gauge as a visual for example) or am I limited to the shapes defined in the diagram (Image, Group, Circle, etc.).?

If not I guess I could overlay HTML elements on top of the diagram but that is a bit of a hack. Is there a better way to do it?

 

 

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 07 Feb 2025, 08:49 AM

Hi David,

Kendo UI Diagram does not natively support embedding other Kendo UI components (like a Gauge or Button) directly into the shape itself.

You can, however, draw custom shapes. This is done with the shapes.visual property:

https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram/configuration/shapes.visual

I can suggest submitting a feature request in our Feedback portal if you think adding components to the Diagram shapes would be useful.

Regards,
Nikolay
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Diagram
Asked by
David
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or