Select to view content in your preferred language

classrenderer

1113
1
02-07-2011 11:23 AM
abukhan
Occasional Contributor
Currently, classBreaksRenderer supports only attribute with the field name. example as follows:

var classBreaksRenderer:ClassBreaksRenderer = new ClassBreaksRenderer();
classBreaksRenderer.attribute = "MIN_P_ALL";

Is there a way to implement attribute with some weight factor multiplied with the field:

example say classBreaksRenderer.attribute = "MIN_P_ALL"*p;
where p is postive weight factor

Thanks..

Abu
Tags (2)
0 Kudos
1 Reply
BjornSvensson
Esri Regular Contributor
Abu, one alternative would be to use UniqueValueRenderer.  It supports multiple attributes. 

Depending on your actual data, since it's using unique values instead of the ranges used by ClassBreaksRenderer you might have to classify your data for this solution to work.

Or maybe just create a new attribute with your "MIN_P_ALL"*p formula (and keep using ClassBreaksRenderer).
0 Kudos