Dashboards & Visualizations

How can I use CSS to wrap chart labels instead of truncate them?

andrewtrobec
Motivator

Hello,

As the title suggests, I have a column chart with x-axis labels that are too long to fit under each column resulting in the text being truncated.  Here is an example of what I mean.  For simplicity I have set the labels for each column to "THIS TEXT IS TOO LONG TO FIT COMFORTABLY AS A LABEL".

Untitled.png

What I would like to know is whether it is possible to avoid truncating the text and instead, using CSS, have the text wrap and appear on a second line.  I know I can set the label rotation, but this it not what I want to do.  I want the labels to be horizontal and on multiple lines rather than truncated or rotated.

Any help would be much appreciated.

Best regards,

Andrew

Labels (2)
Tags (3)
0 Karma
Get Updates on the Splunk Community!

Splunk Lantern | Spotlight on Security: Adoption Motions, War Stories, and More

Splunk Lantern is a customer success center that provides advice from Splunk experts on valuable data ...

Splunk Cloud | Empowering Splunk Administrators with Admin Config Service (ACS)

Greetings, Splunk Cloud Admins and Splunk enthusiasts! The Admin Configuration Service (ACS) team is excited ...

Tech Talk | One Log to Rule Them All

One log to rule them all: how you can centralize your troubleshooting with Splunk logs We know how important ...