cucinelli

Can you assign colors for  GenerateRendererTask?

Discussion created by cucinelli on Jul 24, 2013
I would like to use GenerateRendererTask
http://help.arcgis.com/en/webapi/javascript/arcgis%20/jssamples/renderer_generate_renderer.html code but I want to be able to assign the colors myself like what is possible in the classbreaksrender: http://help.arcgis.com/en/webapi/javascript/arcgis%20/jssamples/renderer_class_breaks.html

I want to use the GenerateRendererTask because it figures out the cutpoints of the groups and min and max which classbreaks doesn't do.

I do not want to use:
// colors for the renderer
        app.defaultFrom = dojo.colorFromHex("#998ec3");
        app.defaultTo = dojo.colorFromHex("#f1a340");
       

Is it possible?

Sorry for such a simple question.
James Cucinelli

Outcomes