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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

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 ...