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
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...