Dashboards & Visualizations

How to make multiple colour per category in Pie Chart

POR160893
Builder

Hi,

I need to create a pie chart .... however, the query sets all BOTH categories the SAME colour.

POR160893_0-1654594228990.png

 

POR160893_1-1654594244411.png

 





How can I make them different?


Thanks

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

You have a Completion Status value of an empty string - this is not the same as a null value nor just a space. Convert the empty string to a space (or some other more useful value).

| eval "Completion Status"=if('Completion Status'=""," ",'Completion Status')

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

You have a Completion Status value of an empty string - this is not the same as a null value nor just a space. Convert the empty string to a space (or some other more useful value).

| eval "Completion Status"=if('Completion Status'=""," ",'Completion Status')

POR160893
Builder

This worked 🙂

But, how can I standardize the 3 pie charts to have the same color scheme as the pie chart on the right:

POR160893_0-1654677785862.png
The following is my code:

POR160893_2-1654677897992.png

 

POR160893_1-1654677872315.png

 




Many thanks as always and I have given you Karma again 🙂

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Include the same charting.seriesColors option in all three charts.

Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...