Dashboards & Visualizations

How to change the colors of each bar in a barchart?

Path Finder

Hi folks ,

I wanted to change the color of each bar in a bar chart ,the field value of these bar charts are not legends . I see the coloring will work only for the legends or with some threshold value. I have count as my legend for now. Please suggest how can i achieve this.

Thanks in advance

0 Karma



Check this sample, if it does not help share your query

| stats count by sourcetype 
| transpose 0 header_field=sourcetype |fields - column</query>
        <option name="charting.chart">bar</option>
        <option name="charting.drilldown">none</option>
0 Karma
Get Updates on the Splunk Community!

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

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