shaun_weston-eagle-co-nz-esridist

Changing Dojo Charting Theme

Discussion created by shaun_weston-eagle-co-nz-esridist on Jun 10, 2013
I've created a pie chart for one of my map services using this sample as a bit of a guide:

http://developers.arcgis.com/en/javascript/jssamples/query_dojochart.html

T
here a few themes I can use, so thats cool, but if I wanted to specify a color for a particular field, how could I go about doing that. Basically what I want to do is have a config to say this field name is this color and then that will come through to the pie chart, but all I can specify is the theme at the moment, which just randomly associates colors with a field. Is there a way to do this easily? I did find a blog on it, but couldn't get it to work.

Outcomes