Dashboards & Visualizations

coloring pie chart

smolcj
Builder

Hi,
can we color pie chart according to data values as in column chart?
please help
Thank you

Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

If I understand your question correctly, you need to add something like the following to your HiddenChartFormatter paragraph.

<param name="charting.fieldColors">{"ValueA":0x00BE00,"ValueB":0x0000BE,"ValueC":0xFFFF00,"ValueD":0xFFA319,"ValueE":0xBE0000}</param>

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

If I understand your question correctly, you need to add something like the following to your HiddenChartFormatter paragraph.

<param name="charting.fieldColors">{"ValueA":0x00BE00,"ValueB":0x0000BE,"ValueC":0xFFFF00,"ValueD":0xFFA319,"ValueE":0xBE0000}</param>

---
If this reply helps you, Karma would be appreciated.

richgalloway
SplunkTrust
SplunkTrust

I've only used it with FlashCharts.

---
If this reply helps you, Karma would be appreciated.
0 Karma

cmak
Contributor

Does this work with JSChart or does it only work for FlashChart

0 Karma

smolcj
Builder

wierddd ,, even i tried with fieldcolors but didnt work,, but this worked 🙂
thank youu

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...