Packagecom.esri.bacore.thematicmapping.symbolization
Classpublic class TMClassBreaksRenderer
InheritanceTMClassBreaksRenderer Inheritance com.esri.ags.renderers.ClassBreaksRenderer

The TMClassBreaksRenderer class provides improved implementation of rendering class breaks compared to 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



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined 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
Property Detail
bottomValueproperty
bottomValue:Number

Bottom bound of the whole classification range.

The default value is NaN.


Implementation
    public function get bottomValue():Number
    public function set bottomValue(value:Number):void
rangeTypeproperty 
rangeType:uint

Type 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.


Implementation
    public function get rangeType():uint
    public function set rangeType(value:uint):void

See also

topValueproperty 
topValue:Number

Top bound of the whole classification range.

The default value is NaN.


Implementation
    public function get topValue():Number
    public function set topValue(value:Number):void
Constructor Detail
TMClassBreaksRenderer()Constructor
public function TMClassBreaksRenderer(attribute:String = null, defaultSymbol:Symbol = null, infos:Array = null)

Initializes a new instance of the TMClassBreaksRenderer class.

Parameters
attribute: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.
Method Detail
getSymbol()method
override public function getSymbol(graphic:Graphic):Symbol

Gets a symbol based on a graphic.

Parameters

graphic:Graphic — The graphic.

Returns
Symbol — A symbol to render the graphic with.