Dashboards & Visualizations

fieldColors not working for Bar chart

jakubincloud
Explorer

Hi,

I've read a couple of post in splunkbase about changing colours in bar chart however I couldn't find any of the solutions working.
Here is my splunk graph : splunk graphimgur link

and here is an excerpt from advanced xml page:
xml code

( pasting xml code directly into the post didnt work ). Unfortunately splunk doesn't pick up field colors and displays default ones.

Does anyone have an idea how to solve that problem ?

Cheers
Jakub

0 Karma

redc
Builder

I had a similar problem and discovered that this doesn't work:

<param name="charting.fieldColors">

{0xFF0000,0x00FF00,0x0000FF}

</param>

But this does:

<param name="charting.fieldColors">{0xFF0000,0x00FF00,0x0000FF}</param>

Seems like something about the line breaks in the parameter breaks the functionality.

0 Karma

jakubincloud
Explorer

Apparently fieldColors and seriesColors work for FlashChart but not for JSChart

royimad
Builder

Can you share how did you do that? I have the same problem

0 Karma

jakubincloud
Explorer

To use different colours I've modified JSChart module to use param: seriesColors as colorPalette

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...