grafana / grafana-polystat-panel

D3-Based hexagon layout multi-stat panel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FEATURE: Allow multiline Composite Name

piotrminkina opened this issue · comments

Hello,

Could you implement multiline Composite Name? I have a case like in the screenshot below and would like to be able to break the Composite Name into two lines.

Actual:
image

Expected:
image

With a large number of elements, the title becomes unreadable. I think splitting it into two lines should improve readability.

image

Regards
Piotr Minkina

this is a planned feature, have needed this for some time now.

@briangann It would be nice if it was also possible to multiline the hover text when a composite is used to compile multiple metrics. Would this functionality transfer over to the hover as well?

Another question: Is there an estimated time frame for release of this feature?

edit: I tried to get this functionality by adding \n and verified that this isn't supported currently

Hello, just adding some more info, In my earlier comment I mentioned 'multiple metrics', however that is slightly misleading with concern for my use case. My current use case actually only uses one metric per composite. The goal of that is to give each metric a more readable hexagon name, and the metric serves as metadata for that composite. What I meant to say with my earlier comment is not that multiple metrics should multiline (because I believe they already do) but rather, that one metric's string when hovered in a composite can be multilined. Apologies for my initially poor wording.

While trying to rework some of my bloated dashboards using Polystat plugin, I also encountered single-line labels limitation:
image

It'll work better, if both labels and stats can be multi-lined by predefined markdown rules (\n, `n`r, <br /> or whatever works for authors).