| Package | com.esri.bacore.thematicmapping.symbolization |
| Class | public class TMClassBreaksRenderer |
| Inheritance | TMClassBreaksRenderer com.esri.ags.renderers.ClassBreaksRenderer |
This class additionally allows you to specify the whole classification range and the behavior of
renderer when classification value goes out of the whole range. Using the RangeType
property you can identify what symbols will be used for out-of-range values.
Since Community Analyst API for Flex 2.2, this class derives from ClassBreaksRenderer.
Default MXML Propertyinfos
| Property | Defined By | ||
|---|---|---|---|
| bottomValue : Number
Bottom bound of the whole classification range. | TMClassBreaksRenderer | ||
| rangeType : uint
Type of the whole classification range (bitwise collection of flags from the RangeType class). | TMClassBreaksRenderer | ||
| topValue : Number
Top bound of the whole classification range. | TMClassBreaksRenderer | ||
| Method | Defined By | ||
|---|---|---|---|
TMClassBreaksRenderer(attribute:String = null, defaultSymbol:Symbol = null, infos:Array = null)
Initializes a new instance of the TMClassBreaksRenderer class. | TMClassBreaksRenderer | ||
getSymbol(graphic:Graphic):Symbol [override]
Gets a symbol based on a graphic. | TMClassBreaksRenderer | ||
| bottomValue | property |
bottomValue:NumberBottom bound of the whole classification range.
The default value is NaN.
public function get bottomValue():Number public function set bottomValue(value:Number):void| rangeType | property |
rangeType:uintType of the whole classification range (bitwise collection of flags from the RangeType class).
The RangeType flags specify how to interpret values which
go out of the whole classification range [bottomValue,topValue].
RangeType.UNBOUNDED_BOTTOM means that values below the bottomValue
are classified to the first class of the infos collection.
RangeType.UNBOUNDED_TOP means that values above the topValue
are classified to the last class of the infos collection.
RangeType.UNBOUNDED means applying both actions from above.
The default value is RangeType.BOUNDED.
public function get rangeType():uint public function set rangeType(value:uint):voidSee also
| topValue | property |
topValue:NumberTop bound of the whole classification range.
The default value is NaN.
public function get topValue():Number public function set topValue(value:Number):void| TMClassBreaksRenderer | () | Constructor |
public function TMClassBreaksRenderer(attribute:String = null, defaultSymbol:Symbol = null, infos:Array = null)Initializes a new instance of the TMClassBreaksRenderer class.
Parametersattribute:String (default = null) — Name of attribute of graphics whose value is classified.
| |
defaultSymbol:Symbol (default = null) — The default symbol to be used when graphic's attribute is out of range.
| |
infos:Array (default = null) — Array of ClassBreakInfo items.
|
| getSymbol | () | method |
override public function getSymbol(graphic:Graphic):SymbolGets a symbol based on a graphic.
Parameters
graphic:Graphic — The graphic.
|
Symbol — A symbol to render the graphic with.
|