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!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...