| Package | flare.vis.operator.layout |
| Class | public class PieLayout |
| Inheritance | PieLayout Layout Operator |
| Property | Defined by | ||
|---|---|---|---|
| angleWidth : Number The total angular size of the layout (in radians, default 2 pi).
| PieLayout | ||
![]() | enabled : Boolean Indicates if the operator is enabled or disabled.
| Operator | |
| group : String = "nodes" The data group to layout.
| PieLayout | ||
![]() | 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 | |
![]() | parameters : Object
Sets parameter values for this operator.
| Operator | |
| radius : Number = NaN The radius of the pie/donut chart.
| PieLayout | ||
| source : String The source property determining wedge size.
| PieLayout | ||
| startAngle : Number The initial angle for the pie layout (in radians).
| PieLayout | ||
![]() | visualization : Visualization
The visualization processed by this operator.
| Operator | |
| width : Number = -1 The width of wedges, negative for a full pie slice.
| PieLayout | ||
| Method | Defined by | ||
|---|---|---|---|
|
PieLayout(field:String = null, width:Number = -1, group:String)
Creates a new PieLayout
| PieLayout | ||
![]() |
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.
| Operator | |
![]() |
Reveals the axes.
| Layout | |
![]() |
[static]
Updates all edges to be straight lines.
| Layout | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
autoAnchor():void
Automatically-generate an anchor point.
| Layout | |
|
layout():void
Calculates the spatial layout of visualized items.
| PieLayout | ||
![]() |
minAngle(a1:Number, a2:Number):Number
Returns an angle value that minimizes the angular distance
between a reference angle and a target angle.
| Layout | |
| angleWidth | property |
public var angleWidth:NumberThe total angular size of the layout (in radians, default 2 pi).
| group | property |
public var group:String = "nodes"The data group to layout.
| radius | property |
public var radius:Number = NaNThe radius of the pie/donut chart. If this value is not a number (NaN) the radius will be determined from the layout bounds.
| source | property |
source:String [read-write]The source property determining wedge size.
Implementation public function get source():String
public function set source(value:String):void
| startAngle | property |
public var startAngle:NumberThe initial angle for the pie layout (in radians).
| width | property |
public var width:Number = -1The width of wedges, negative for a full pie slice.
| PieLayout | () | constructor |
public function PieLayout(field:String = null, width:Number = -1, group:String)Creates a new PieLayout
Parametersfield:String (default = null) — the source data field for determining wedge size
|
|
width:Number (default = -1) — the radial width of wedges, negative for full slices
|
|
group:String |
| layout | () | method |
protected override function layout():voidCalculates the spatial layout of visualized items. Layout operators override this method with their layout implementations.