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
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!