Class breaks definition field

499
3
04-09-2013 12:07 PM
SamirGambhir
Occasional Contributor III
Hi,
I am using a ClassBreaksDefinition for my renderer. I have selected the classification field. In my application, some of my geographies have a value of '0' for the classification field, and I would like the renderer to pick breakpoints based on values which are greater than '0'. Can someone point me to a sample that does that, or help me understand how to do this?
Thanks
Samir
0 Kudos
3 Replies
JohnGravois
Frequent Contributor
have you seen this?
0 Kudos
SamirGambhir
Occasional Contributor III
have you seen this?


Thanks John,
The difference between this example and my code is that in this example the breaks are hardcoded but in my code the breaks are generated dynamically based on the data available. The available data, unfortunately, has some records with '0' value which I would like not be used for creating the breaks.
This example from my previous post shows some of the code that I have used.
Thanks
Samir
0 Kudos
JohnGravois
Frequent Contributor
we don't have any pre-baked samples which demonstrate this entire workflow. 

if you're looking for a way to isolate the range of values which don't include the zeros, you might consider using QueryTask to execute a query which returns sorted features where FIELD > 0 (like this...)
0 Kudos