Regarding how to set width of Graph in Grafana?

Hello All,


I have prepared a graph which shows architecture diagram of environments,the more servers are being added(with Sub graph using Mermaid JS) more smaller graph is getting(size is getting decreased which is making it difficult to understand, since fonts and box sizes both are decreasing).

I want to make its size to normal or increase its size, I tried looking google but couldn’t find anything, could you please do help me here? Will be grateful.

EDIT: Community, will be grateful to you, if experts could help here.

R. Singh

You can change the width by dragging the corner of the graph in edit mode. Or you can edit it directly in the json view.

1 Like

@clanlaw Thanks a TON for replying here, I tried EDIT–> more–> Json option and played with gridPos’s height and width options but only my Graph area is increasing NOT the bars and boxes height and width(along with their fonts); could you please guide more here, I am really NOT able to understand JSON file here, your guidance is greatly appreciated here.

I want to see my boxes(different sub graphs there) clearly,number of boxes increasing its getting smaller and smaller.

R. Singh

Sorry, I thought it was the size of the graph you wanted to change. Reading you post again I don’t know what you mean by subgraph and mermaid js so I probably can’t help.

@clanlaw I apologies for not being clear here. I am using Diagram option of creating Dashboard. In that we use mermaid JS code to create flow diagrams. Where I am keep adding flows which keep decreasing the size of graphs.

The option which you mentioned was for panel which is increasing height but NOT affecting flows elements present inside it.

Sorry I can’t put screen shot of it but mermaid JS allows users to create flows is what a bit I know about it.

If you and other experts cud guide on it will be grateful.

R. Singh