How to show all legend? Don't use scroll

Hi~
I want show all legend and keep the chart at a suitable ratio. But now, when I show all legend, the chart looks weird。


So, I want to know if the height of the chart is a fixed percentage of the panel? And how can I change the percentage?
thanks.

3 Likes

there is no option to change this percentage right now.

It would be so good to have this.

Especially to export graphes in pdf.

Thank you for your reply. or how can I change this in resource code? where I can find the code set the graph’s height?

I find in grafana/public/sass/components/_panel_graph.scss I can change the height percentage of legend.
now I can show all legend and keep the chart at a suitable ratio. like this:

2 Likes

Two years later, is there any way to do this other than modifying the source? The only way I can show the whole legend (with several series) for my plot is to make the actual plot area far larger than it should be.

2 Likes