Character limit display

Hey guys

I have a display issue on my pie chart.
Here is a screenshot of it :

image

What I would like is to cut the alarm names so that I always see the total time of it.
I have thought of cutting it in the query but then if the user hover over the line, it won’t display the full name.
Is there a way I can do that ?

Im using Grafana v10.3.1 (00a22ff8b2) on windows 10

Thank you

cut them by how much? what would the result look like?

Just enough to have the time display
This is what I Get when I expand it :

I want to have those values displayed

Nope.
You may resize page in the browser (e.g. CTRL+-), scroll to the right in that legend, make shorter descriptions (e.g. rename ETHERNET → ETH, …), disable legend (so only value on hover will be there), …

That’s pretty annoying but thank you for your answer, I will do it that way

I managed to found a workaround that did the trick for me :
I injected the following CSS into the page :

td {
max-width: 100px;
}

This is before :

Before

And after :

But please you guys have to add the possibility to modify CSS properties of the widgets, it would add a whole new level of customisation to dashboards !

And it will add whole new level of user issues as well, so support engineers will be also CSS experts with cross browser compatibility knowledge from Internet Explorer 6 :smiley:

why no contribute that feature to grafana gitlab yourself?

You mean by adding a plugin with widgets with customizable css ?

I don’t know enough about it haha, it was a suggestion but I guess if you didn’t do it already it means it’s not that easy right

no, by adding a feature via code that allows customization to the main grafana repo