Dashboards & Visualizations

Modify Chart Axis Label Style

ShaneNewman
Motivator

I have been trying to figure this out for the better part of an hour and have searched through the documentation. I might be searching using the wrong terminology... so I apologize in advance if this has been answered already.

I have a bar chart with facilities as labels on the X-Axis. The chart makes them 9px, which is way too small for our end users to see without zooming in (sadly, most don't know they can do this). I dug around through the style info that is default for the chart module. Apparently the CSS is done in-line so making a single change to an application.css seems to be out of the question. Knowing this, I am thinking I will need to create a custom application.js to replace the default settings that Splunk uses when compiling the dashboard chart from XML...

Am I making this more complected than it needs to be or am I on the right track?

0 Karma
1 Solution

ShaneNewman
Motivator

Ended up converting the XML to HTML and using javascript and css to make this happen.

View solution in original post

0 Karma

ShaneNewman
Motivator

Ended up converting the XML to HTML and using javascript and css to make this happen.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...