Packageflare.flex
Classpublic class FlareVis
InheritanceFlareVis Inheritance mx.containers.Canvas

Flex component that wraps a Flare visualization instance. This class can be used to create Flare visualizations within an MXML file. The underlying Flare Visualization instance can always be accessed using the visualization property.



Public Properties
 PropertyDefined by
  axes : Axes
[read-only] Returns the axes for the backing visualization instance.
FlareVis
  controls : Array
[write-only] The interactive controls used by this visualization.
FlareVis
  dataSet : *
[write-only] Sets the data visualized by this instance.
FlareVis
  operators : Array
[write-only] The visualization operators used by this visualization.
FlareVis
  visHeight : Number
FlareVis
  visualization : Visualization
Returns the backing Flare visualization instance.
FlareVis
  visWidth : Number
FlareVis
  xyAxes : CartesianAxes
[read-only] Returns the CartesianAxes for the backing visualization instance.
FlareVis
Public Methods
 MethodDefined by
  
FlareVis(data:Data = null)
Creates a new FlareVis component.
FlareVis
Property detail
axesproperty
axes:Axes  [read-only]

Returns the axes for the backing visualization instance.

Implementation
    public function get axes():Axes
controlsproperty 
controls:Array  [write-only]

The interactive controls used by this visualization. This should be an array of IControl instances.

Implementation
    public function set controls(value:Array):void
dataSetproperty 
dataSet:*  [write-only]

Sets the data visualized by this instance. The input value can be an array of data objects, a Data instance, or a DataSet instance. Any existing data will be removed and new NodeSprite instances will be created for each object in the input arrary.

Implementation
    public function set dataSet(value:*):void
operatorsproperty 
operators:Array  [write-only]

The visualization operators used by this visualization. This should be an array of IOperator instances.

Implementation
    public function set operators(value:Array):void
visHeightproperty 
visHeight:Number  [read-write]Implementation
    public function get visHeight():Number
    public function set visHeight(value:Number):void
visualizationproperty 
visualization:Visualization  [read-write]

Returns the backing Flare visualization instance.

Implementation
    public function get visualization():Visualization
    public function set visualization(value:Visualization):void
visWidthproperty 
visWidth:Number  [read-write]Implementation
    public function get visWidth():Number
    public function set visWidth(value:Number):void
xyAxesproperty 
xyAxes:CartesianAxes  [read-only]

Returns the CartesianAxes for the backing visualization instance.

Implementation
    public function get xyAxes():CartesianAxes
Constructor detail
FlareVis()constructor
public function FlareVis(data:Data = null)

Creates a new FlareVis component. By default, a new visualization with an empty data set is created.

Parameters
data:Data (default = null) — the data to visualize. If this value is null, a new empty data instance will be used.