Dashboards & Visualizations

Font size

Khuzair81
Path Finder

Hi All, 

I have a dashboard with chart which is representing Count by Dates. I have increased the font size of count value but need help in increasing the font size of Date. Below XML I'm using currently. 

<row>
    <panel>
        <html>
             <style>
                #test th{
                   font-size: 15px !important;
                   font-weight: bold !important;
} </style>
</html> </panel>
</row>

Thanks

 

Labels (2)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

It might depend on the chart type - assuming column chart - try this:

        <style>
          #test g.highcharts-xaxis-labels text {
            font-size: 13px !important;
            font-weight: bold !important;
          }
        </style>

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

You mentioned that you are using a chart, yet the CSS style you shared is for table headers (th). Is your "chart" actually a table and you want the table data (td) font size to change as well or is there something else going on?

0 Karma

Khuzair81
Path Finder

Sorry @ITWhisperer. I posted the wrong one

PFB

<row>
    <panel>
        <html>
             <style>
                #test g[transform] {
                   font-size: 15px !important;
                   font-weight: bold !important;
} </style>
</html> </panel>
</row>

 

0 Karma

Khuzair81
Path Finder

@ITWhisperer any help. 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

It might depend on the chart type - assuming column chart - try this:

        <style>
          #test g.highcharts-xaxis-labels text {
            font-size: 13px !important;
            font-weight: bold !important;
          }
        </style>

garima_13
Engager

Thank you @ITWhisperer  this saved my day.. I read so many posts and saw videos on how to change font size of column charts and your solution was spot on.

0 Karma

Khuzair81
Path Finder

@ITWhisperer thanks for the help. Is there any doc where i can get these for all type visualization. It will be really helpful. 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

If there is any documentation, I am unaware of it, I just inspect the html and figure out what elements and classes and other specifiers to use. Obviously, the issue with that is that sometimes the viz implementation varies between splunk releases so you have to keep an eye on how your dashboards are operating under different releases.

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!

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...