how to adjust font size node automatically

HI, 

I would like the text contained in the node to fit the size of the node. it's possible? how, if any, should we proceed?

thanks

greetings


3 Replies

SS Sivakumar Sekar Syncfusion Team November 30, 2021 01:37 PM UTC

Hi Salvatore, 

We couldn`t able to understand the shared query. Could please confirm your requirement from the below table. 

To fit the multiple-line text inside the node. 
 
To fit the single word with the node. 
 

If we misunderstood your requirement, please share more details. This will be helpful for us to proceed further. 

Regards,  
Sivakumar    




SA Salvatore November 30, 2021 01:49 PM UTC

Hi, 

I hoped I was clear but unfortunately it wasn't. The request, however, is what is shown in your request for clarification.

the following image shows what I need


Greetings



SS Sivakumar Sekar Syncfusion Team December 1, 2021 11:55 AM UTC

Hi Salvatore, 

On analysis of your query. we suspect that you would like to fit the annotation content to fit the node size. In the diagram by default, we didn`t have support to fit the text with the node. but we can achieve it by manually adjusting the font size based on the content. Please refer to the below documentation link to know more about text appearances. 


Regards,  
Sivakumar    



Loader.
Up arrow icon