Format Nodes Headers in a Diagram

0 Answers 28 Views
Diagram
Jeffrey
Top achievements
Rank 1
Jeffrey asked on 02 Aug 2021, 05:34 PM

I am trying to figure out how to format some nodes in my diagram.  See attached dojo.  https://dojo.telerik.com/ASinArEh

 

I would like:

  1. The Circles to be centered under the titles.
  2. The Node Name to be centered in the circle, not the group.
  3. The Connections to hook to the Circle connectors, not the group connectors.

 

It seems like my visual template needs to create the circles, then possibly go back and add groups to the diagram then include the existing circles in the new groups, but I haven't figured out a way to do that yet

 

 

 

 

Nikolay
Telerik team
commented on 05 Aug 2021, 11:58 AM

Hi Jeffrey,

You can adjust the Name to be centered within the circle via the kendo.dataviz.diagram.TextBlock x and y properties:

However, if we try to adjust the circles to be under the titles this will not work as the text of the titles have different lengths. I found suggest making all titles the same length by adding empty strings. Please refer t other following Dojo:

https://dojo.telerik.com/ApUjaZAR

Let me know if you have further questions.

No answers yet. Maybe you can help?

Tags
Diagram
Asked by
Jeffrey
Top achievements
Rank 1
Share this question
or