Dashboards & Visualizations

How to change the font size of y-values in a Splunk dashboard barchart

lifekis
Explorer

hello, 

How to change the font size of y-values in a Splunk dashboard barchart?

 

I try..

      <html>
       <style>
 
          #rk g[transform] text {
            font-size:20px !important;
            font-weight: bold !important;
            }
            g.highcharts-axis.highcharts-xaxis text{
            font-size:20px !important;
            }
            g.highcharts-axis.highcharts-yaxis text{
            font-size:20px !important;
            }
        </style>
</html>
 
test.png
Labels (3)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Try this

      <html>
       <style>
 
          #rk g[transform] text {
            font-size:20px !important;
            font-weight: bold !important;
            }
            g.highcharts-axis-labels.highcharts-xaxis-labels text{
            font-size:20px !important;
            }
            g.highcharts-axis-labels.highcharts-yaxis-labels text{
            font-size:20px !important;
            }
        </style>
</html>

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

Try this

      <html>
       <style>
 
          #rk g[transform] text {
            font-size:20px !important;
            font-weight: bold !important;
            }
            g.highcharts-axis-labels.highcharts-xaxis-labels text{
            font-size:20px !important;
            }
            g.highcharts-axis-labels.highcharts-yaxis-labels text{
            font-size:20px !important;
            }
        </style>
</html>

lifekis
Explorer

Thanks ^^ have a nice day!

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...