I am trying to get classbreaks working in my map.
I have a basemap. The data for the map comes through esriRequest from a WCF service in json format – like this sample:
Now, I would like to make the classbreaks to use one of esri’s classificationmethod (eg:quantile) –with ClassBreaksDefinition , instead of hard coding the min and max values.. I am trying to use GenerateRendererTask, but looks like the parameter it can take is only a URL to a layer in map service or table. Then I won’t be able to pass the json output there, correct? Is there any other way to do this – gettings esri’s class breaks instead of giving min and max values?