Select to view content in your preferred language

ClassBreaksDefinition

792
0
08-29-2016 11:58 AM
AnandiN
Deactivated User

Hi all,

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:

https://developers.arcgis.com/javascript/3/jssamples/fl_featureCollection.html

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?

Thanks.

Anandi

0 Kudos
0 Replies