1

I am working on build grafana dashboards for my project.

I have facing the issue that some of my panels keep shows "Invalid dimensions for plot, width = 415, height = 0"

I am not sure how to fix it. I tried to increase the size of the graph, however the table always there.

I really appreciate your help.

The screenshot is below

enter image description here

enter image description here

qing zhang
  • 125
  • 1
  • 4
  • 13

1 Answers1

1

Just increase height of your graph panels in the UI - make them higher (or disable legend, so there will be space for graph). See example of the same panels with different heights:

enter image description here

Click on the mark in the right bottom corner and change height of the panel.

Jan Garaj
  • 25,598
  • 3
  • 38
  • 59
  • Hi Jan, I am not sure where I can increase the height in the UI? Do you mean edit it? – qing zhang Feb 11 '19 at 16:01
  • I mean, I set the legend option to show as table. But I am not sure how to decrease the size of the table and be able to increase the graph height. – qing zhang Feb 11 '19 at 16:07
  • Hey Jan, I tried and still not work. Since the table always hide the graph.I just update the pics on the question. – qing zhang Feb 11 '19 at 16:15
  • 1.) remove table = disable legend or 2.) make panel higher, so there will be space for legend and graph – Jan Garaj Feb 11 '19 at 16:16
  • Hey Jan, I removed table, but I keep "show option" and the legend is on top of the graph. Is there a way for me to keep the legend and the graph? – qing zhang Feb 11 '19 at 16:21
  • No, you query returns too many series, so you need extra space for legend for stats for all time series. – Jan Garaj Feb 11 '19 at 16:23
  • Hi Jan, you are right and I also realized it is better to use table instead. But thanks for your help. – qing zhang Feb 11 '19 at 17:45