| Package | flare.vis.operator.layout |
| Class | public class StackedAreaLayout |
| Inheritance | StackedAreaLayout Layout Operator |
| Property | Defined by | ||
|---|---|---|---|
| columns : Array Array containing the column names.
| StackedAreaLayout | ||
![]() | enabled : Boolean Indicates if the operator is enabled or disabled.
| Operator | |
![]() | layoutAnchor : Point The layout anchor, used by some layout instances to place an
initial item or determine a focal point.
| Layout | |
![]() | layoutBounds : Rectangle The layout bounds for the layout.
| Layout | |
![]() | layoutRoot : DataSprite
The layout root, the root node for tree layouts.
| Layout | |
![]() | layoutType : String = "null" The type of layout and axes.
| Layout | |
| normalize : Boolean Flag indicating if the visualization should be normalized.
| StackedAreaLayout | ||
| orientation : String The orientation of the layout.
| StackedAreaLayout | ||
| padding : Number Value indicating the padding (as a percentage of the view)
that should be reserved within the visualization.
| StackedAreaLayout | ||
![]() | parameters : Object
Sets parameter values for this operator.
| Operator | |
| scale : QuantitativeScale
The scale used to layout the stacked values.
| StackedAreaLayout | ||
| threshold : Number Threshold size value (in pixels) that at least one column width
must surpass for a stack to remain visible.
| StackedAreaLayout | ||
![]() | visualization : Visualization
The visualization processed by this operator.
| Operator | |
| Method | Defined by | ||
|---|---|---|---|
|
StackedAreaLayout(cols:Array = null, padding:Number = 0.05)
Creates a new StackedAreaLayout.
| StackedAreaLayout | ||
![]() |
applyParameters(op:IOperator, params:Object):void
[static]
Static method that applies parameter settings to an operator.
| Operator | |
![]() |
clearEdgePoints():void
Strips all EdgeSprites in a visualization of any control points.
| Layout | |
![]() |
Hides the axes.
| Layout | |
![]() |
operate(t:Transitioner = null):void
Performs an operation over the contents of a visualization.
| Layout | |
|
setup():void
Setup method invoked whenever this operator's visualization
property is set.
| StackedAreaLayout | ||
![]() |
Reveals the axes.
| Layout | |
![]() |
[static]
Updates all edges to be straight lines.
| Layout | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
autoAnchor():void
Automatically-generate an anchor point.
| Layout | |
|
initializeAxes():void
Initializes the axes prior to layout.
| StackedAreaLayout | ||
|
layout():void
Calculates the spatial layout of visualized items.
| StackedAreaLayout | ||
![]() |
minAngle(a1:Number, a2:Number):Number
Returns an angle value that minimizes the angular distance
between a reference angle and a target angle.
| Layout | |
| columns | property |
columns:Array [read-write]Array containing the column names.
Implementation public function get columns():Array
public function set columns(value:Array):void
| normalize | property |
normalize:Boolean [read-write]Flag indicating if the visualization should be normalized.
Implementation public function get normalize():Boolean
public function set normalize(value:Boolean):void
| orientation | property |
orientation:String [read-write]The orientation of the layout.
Implementation public function get orientation():String
public function set orientation(value:String):void
| padding | property |
padding:Number [read-write]Value indicating the padding (as a percentage of the view) that should be reserved within the visualization.
Implementation public function get padding():Number
public function set padding(value:Number):void
| scale | property |
scale:QuantitativeScale [read-write]The scale used to layout the stacked values.
Implementation public function get scale():QuantitativeScale
public function set scale(value:QuantitativeScale):void
| threshold | property |
threshold:Number [read-write]Threshold size value (in pixels) that at least one column width must surpass for a stack to remain visible.
Implementation public function get threshold():Number
public function set threshold(value:Number):void
| StackedAreaLayout | () | constructor |
public function StackedAreaLayout(cols:Array = null, padding:Number = 0.05)Creates a new StackedAreaLayout.
Parameterscols:Array (default = null) — an ordered array of properties for the column values
|
|
padding:Number (default = 0.05) — percentage of space to leave as a padding margin
for the stacked chart
|
| initializeAxes | () | method |
protected function initializeAxes():voidInitializes the axes prior to layout.
| layout | () | method |
protected override function layout():voidCalculates the spatial layout of visualized items. Layout operators override this method with their layout implementations.
| setup | () | method |
public override function setup():voidSetup method invoked whenever this operator's visualization property is set.