Dashboards & Visualizations

displaying different color for column chart base on the percentage

abi2023
Path Finder

I calculated i month percentage for status online. and I table to date percentage. displaying it into visualization column chart. I want my chart to reflect different color base on the percentage range 
e,g 0-40 red 40-60 orange 60-80 yellow 80-100 green.  

I modify in source

<option name="charting.fieldColors">Percentage:0-40:#f13f56,40-60:#f1813f,60-80:#f1da3f,80-100:#72ae0d</option>
but no success 
can someone assist me is the doable in Splunk visualition.
Thanks in advance

Labels (3)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @abi2023,

follo these steps:

  • open your dashboar in Edit Mode.
  • go in the table panel and click on the pen in the column to highligh with colour ranges,
  • Click on Colour
  • Click on Colour Ranhes
  • define the colours and the ranges.

Ciao.

Giuseppe

0 Karma

abi2023
Path Finder

I do not have the color range option  in format visualization. that why I am try in to modify in XML

0 Karma

gcusello
SplunkTrust
SplunkTrust

hi @abi2023 ,

beware: you have to use the pen icon in the column of the table not the one in the top right corner of the panel.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...