All Apps and Add-ons

How to specify color the donut chart? Could anyone please share the xml?

ariyazudeen
New Member

Need help to color my donut chart with specific color. I'm getting default color as blue is there any option like how we specify in bar chart?

0 Karma

aplura_llc_supp
Path Finder

This is on the list of enhancements. Currently the only way to change the color is to edit the actual JS code behind the visualization.

0 Karma

aplura_llc_supp
Path Finder

If you are using the donut version (https://splunkbase.splunk.com/app/3150/) then you have to modify the actual code to change the color scheme. Since this is something that people are asking about I will add it to the list of enhancements. This will be available in a future release.

0 Karma

akshaypillai
Engager

Hi,

I am wanting to have customized color in my Donut Chart. Has this enhancement been released? I am using Splunk 6.4.1

Thanks
Regards
Akshay Pillai

0 Karma

preacher_15
Explorer

Hi @aplura_llc_support iam trying to have customized color in my donut chart...how can i achieve this?? iam using splunk 7.2

0 Karma

ariyazudeen
New Member

In the link which you provided where exactly it shows about the color coding? I don't see any references?

0 Karma

aplura_llc_supp
Path Finder

That link was just to verify that you are using our visualization. The donut uses the d3.scale.category20() color scheme.

0 Karma

ariyazudeen
New Member

so as of now, we won't be able to set our color in the donut chart?

0 Karma

aplura_llc_supp
Path Finder

That is correct. We will add an enhancement request to let the user control the color scheme.

0 Karma

maffreitas
Path Finder

Hi @aplura_llc_support do you have any plans to a near release considering this feature? Thank you in advance.

0 Karma

yelkey
Explorer

Hi @aplura_llc_support,

I see that your last response was almost 10 months back. Have you already deployed the enahancement for color change? Thanks in advance

0 Karma
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!