ArcGIS Javascript API - Use array of values for breaks in Class Break renderer instead of a range

by Ravi   Last Updated March 14, 2019 20:22 PM

I'm trying to use ClassBreak renderer in ArcGIS API v3.27. I have a dynamic layer with ZIP as one of its fields. I would like to add breaks based on the ZIP value. But the class breaks usually don't follow a format. For example if i have 1 to 100 ZIPs ( just for ease of explanation) ZIP 1,2,5 might be class break 1 where as 3,6,7 might be class break 2 and so on. How do i use these values for class breaks as they don't fall in a particular range.



Related Questions


Updated April 24, 2018 13:22 PM

Updated August 26, 2016 08:09 AM

Updated June 26, 2015 16:09 PM

Updated May 13, 2015 17:09 PM