Dashboards & Visualizations

How to change the font color on the labels of a stacked bar chart

maliniram
New Member

I have a stacked bar chart.  The user wanted dark colors (which I did using the code on the bottom) .  However, the labels barely show on the bars.  I would like to change the font to white.  I have googled with no luck and tried a few option changes with no luck.  

<option name=“charting.fontColor”>“#FFFFFF”</option>
<option name=“charting.backgroundColor”>{“#FFFFFF
”}</option>
<option name=“charting.backgroundColor”>#FFFFFF
</option>

<option name=“charting.fieldColors”>{“% Achievement”: #407294, “% Misses”: #A7090F}</option>

Please tell me there is an easy solution for what seems to be a simple fix..  Thanks!

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Infographic provides the TL;DR for the 2024 Splunk Career Impact Report

We’ve been buzzing with excitement about the recent validation of Splunk Education! The 2024 Splunk Career ...

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...