Given a set of values, how would one go about generating the appropriate classes to use in the ClassBreaksRenderer.Details:I first query a data source via a web service. Using the results of the query I need to build a ClassBreaksRenderer and apply it to a dynamic layer with a where clause to restrict the polygons. The same where clause was used to get the data in the first place.Example:
Polygon Population
----------------------------
CSD1 125,121
CSD2 49,125
CSD3 495,824
CSD4 120,458
CSD5 325,958
Ideally I would like ranges that would include all the data, with equal sized ranges. In the real app, there may be hundreds of values.Could this be done client-side? And if so, how would one construct the ranges.Any help would be appreciated.