-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resizable legends #3189
Comments
+1 |
1 similar comment
+1 |
+1 This would be very helpful for me. |
If somebody is interested in a dirty workaround for version 4.1.4 and below: Edit the /path/to/your/kibana4/src/public/index.js file, scroll to the bottom of the file, look for the 'li.color' entry in the long config line, and edit the entry so it looks like this: li.color {\n min-height: 22px;\n padding: 3px 9px 3px 9px;\n font-size: 12px;\n line-height: 13px;\n color: #666;\n cursor: default;\n text-align: left;\n white-space: normal;\n overflow-x: visible;\n text-overflow: ellipsis;\n max-width: 450px;\n width: 180px;\n} This will Kibana prevent from spliting values of the legend into 2 lines/ hide them and make the legend field a bit bigger. Again, this only applies to kibana 4.1.4 , because in version 4.2 the folder structure looks different. |
+1 |
1 similar comment
+1 |
Ah yes...+1 to this. |
+1 |
8 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
It's been 5 years, can someone fix this please? |
There is a workaround: you can move the legend to the top or to the bottom. |
That does not always work, look at @agirbal 's comment above |
Temporary hack for Kibana 7.6.1: in script
|
The problem still continues. Exported pdf/png files also trim the legend text. |
+1 |
Throwing a +1 onto the fire - would be nice to be able to resize a chart's legend, or optionally have it auto-size based on longest value, etc. |
Would really appreciate if such feature will be implemented 👍 super useful ! |
+1 |
2 similar comments
+1 |
+1 |
+1, I hope this can be implemented for all visualisation types include charts, lens, tsvb etc. |
Astonishing that this hasn't been fixed. It's utterly ridiculous that the legend doesn't expand to use the horizontal space, but truncates the legend text at an absurdly short width. |
+1 This has been affecting all of our users for years now and just came up again today. |
I've just been informed that this will be resolved as part of a more general Legend redesign, see elastic/elastic-charts#580, in particular point 9, which is also tracked separately as elastic/elastic-charts#963. |
+1 Currently it makes our graphs mailed out to our customers look unprofessional. |
+1 |
👍 |
3 similar comments
+1 |
+1 |
+1 |
we have added a legend resize option to Lens and aggregation-based visualizations in 8.2 🎉 Also in discussion to make this the default so you don't have to change the settings on every panel on your dashboard #129474 |
Some of my fields have large names, i.e 20 chars or more, as Kibana concat metric's type name to the field name (average of, sum of, percentile of), the legend is cut-off by half.
Would make sense to enable resizing the right panel of the chart to overcome this limitation.
The text was updated successfully, but these errors were encountered: