| Package | fr.kapit.radarchart |
| Class | public class RadarChart |
| Inheritance | RadarChart fr.kapit.base.KapUIComponent |
| Property | Defined by | ||
|---|---|---|---|
| arrowIconFunction : Function
Used to determine the icon to be used to draw the arrow on each axis.
| RadarChart | ||
| axes : Array
An array of the axes of the radarchart.
| RadarChart | ||
| axesMaxValue : Number
A custom maximum value specified by the used to control the graduation of the axes.
| RadarChart | ||
| axesMinValue : Number
A custom minimum value specified by the used to control the graduation of the axes.
| RadarChart | ||
| axisLabelFunction : Function
Used to determine the label to be associated with each axis.
| RadarChart | ||
| axisLength : Number
Axis length.
| RadarChart | ||
| axisNameTextFormat : TextFormat
Font used to render axis name.
| RadarChart | ||
| axisSortFunction : Function
Used to sort the axes.
| RadarChart | ||
| center : Point
Center of the Radar Chart.
| RadarChart | ||
| curvature : Number
Indicates the Curvature used to draw curve polylines, it's value must be in the range 0..1.
| RadarChart | ||
| customToolTipClass : Class
Indicates the class to be used to create the radarchart tooltips.
| RadarChart | ||
| divisions : int
Number of axes divisions.
| RadarChart | ||
| enablePointDrag : Boolean
Indicates whether the user can change the values of series points by dragging them.
| RadarChart | ||
| filterPath : Array
Analysis Path is used for CSV and General XML files and enables data source analysis with a given logic.
| RadarChart | ||
| graduations : Array
Base graduations used to determine the graduations for each axis.
| RadarChart | ||
| graduationTextFormat : TextFormat
Text format used to render the graduations on the axes.
| RadarChart | ||
| isDragging : Boolean = false | RadarChart | ||
| lineType : String
Indicates the type of the lines used in the radarchat (linear lines or curves).
| RadarChart | ||
| numAxes : int [read-only]
Indicates the number of axes in the RadarChart.
| RadarChart | ||
| numSeries : int [read-only]
Indicates the number of series in the RadarChart.
| RadarChart | ||
| selectedSeries : Array
An array containing series that should be displayed.
| RadarChart | ||
| series : Array
An array of the series displayed by the radarchart.
| RadarChart | ||
| seriesField : String
Name of the field used to determine the name of a series.
| RadarChart | ||
| seriesLegend : RadarChartSeriesLegend
A legend containing the list of the RadarChart series.
| RadarChart | ||
| seriestype : String
Indicates the type of the series used in the radarchat (lines, areas or points).
| RadarChart | ||
| useSameGraduations : Boolean
Indicates wether all the axes must have the same graduations or different (independent) graduations.
| RadarChart | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new RadarChart instance.
| RadarChart | ||
|
styleChanged(styleProp:String):void
| RadarChart | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when the user finishes dragging a series point using the mouse. | RadarChart | |||
| Dispatched when the user is dragging a series point using the mouse. | RadarChart | |||
| Constant | Defined by | ||
|---|---|---|---|
| AREA_SERIES : String = "areaseries" [static]
Series are drawn as filled polylines.
| RadarChart | ||
| CURVE : String = "curve" [static]
Polylines are drawn using curves;
| RadarChart | ||
| LINE : String = "line" [static]
Polylines are drawn using lines.
| RadarChart | ||
| LINE_SERIES : String = "lineseries" [static]
Series are drawn as polylines.
| RadarChart | ||
| POINT_SERIES : String = "pointseries" [static]
Series are drawn as points.
| RadarChart | ||
| arrowIconFunction | property |
arrowIconFunction:Function [read-write]
Used to determine the icon to be used to draw the arrow on each axis. It must have the
following signature : arrowIconFunction(axisName:String):Class.
public function get arrowIconFunction():Function
public function set arrowIconFunction(value:Function):void
| axes | property |
axes:Array [read-write]An array of the axes of the radarchart.
Implementation public function get axes():Array
public function set axes(value:Array):void
| axesMaxValue | property |
axesMaxValue:Number [read-write]A custom maximum value specified by the used to control the graduation of the axes.
Implementation public function get axesMaxValue():Number
public function set axesMaxValue(value:Number):void
| axesMinValue | property |
axesMinValue:Number [read-write]A custom minimum value specified by the used to control the graduation of the axes.
Implementation public function get axesMinValue():Number
public function set axesMinValue(value:Number):void
| axisLabelFunction | property |
axisLabelFunction:Function [read-write]
Used to determine the label to be associated with each axis. It must have the
following signature : axisLabelFunction(axisName:String):String.
public function get axisLabelFunction():Function
public function set axisLabelFunction(value:Function):void
| axisLength | property |
axisLength:Number [read-write]Axis length.
Implementation public function get axisLength():Number
public function set axisLength(value:Number):void
| axisNameTextFormat | property |
axisNameTextFormat:TextFormat [read-write]Font used to render axis name.
Implementation public function get axisNameTextFormat():TextFormat
public function set axisNameTextFormat(value:TextFormat):void
| axisSortFunction | property |
axisSortFunction:Function [read-write]
Used to sort the axes. It must have the
following signature : axisSortFunction(axisName:String):Number.
Axes are ordered using their order property by puting the ones that
have order = NaN at the end and ordering the other axes by ascending order.
public function get axisSortFunction():Function
public function set axisSortFunction(value:Function):void
| center | property |
center:Point [read-write]Center of the Radar Chart.
Implementation public function get center():Point
public function set center(value:Point):void
| curvature | property |
curvature:Number [read-write]Indicates the Curvature used to draw curve polylines, it's value must be in the range 0..1.
Implementation public function get curvature():Number
public function set curvature(value:Number):void
| customToolTipClass | property |
customToolTipClass:Class [read-write]
Indicates the class to be used to create the radarchart tooltips. This class must implement the IRadarChartToolTip interface.
The default value is null.
public function get customToolTipClass():Class
public function set customToolTipClass(value:Class):void
| divisions | property |
divisions:int [read-write]Number of axes divisions. Minimum value is 3.
Implementation public function get divisions():int
public function set divisions(value:int):void
| enablePointDrag | property |
enablePointDrag:Boolean [read-write]
Indicates whether the user can change the values of series points by dragging them.
The radar chart dispatches a RadarChartPointEvent.VALUE_CHANGING event when a point is being dragged
and a RadarChartPointEvent.VALUE_CHANGED event when the point drag is finished.
public function get enablePointDrag():Boolean
public function set enablePointDrag(value:Boolean):void
| filterPath | property |
filterPath:Array [read-write]Analysis Path is used for CSV and General XML files and enables data source analysis with a given logic. For CSV files(like other formats), the analysis path is an Array with only one string (can be 2 but not advised) containing the considered columns header. This property can be used as the source for data binding.
This property can be used as the source for data binding.
Implementation public function get filterPath():Array
public function set filterPath(value:Array):void
| graduations | property |
graduations:Array [read-write]Base graduations used to determine the graduations for each axis. If graduations = [1,2,5] then only multiples of 1, 2 and three will be used to graduate axes.
Implementation public function get graduations():Array
public function set graduations(value:Array):void
| graduationTextFormat | property |
graduationTextFormat:TextFormat [read-write]Text format used to render the graduations on the axes.
Implementation public function get graduationTextFormat():TextFormat
public function set graduationTextFormat(value:TextFormat):void
| isDragging | property |
public var isDragging:Boolean = false
| lineType | property |
lineType:String [read-write]Indicates the type of the lines used in the radarchat (linear lines or curves).
Implementation public function get lineType():String
public function set lineType(value:String):void
See also
| numAxes | property |
numAxes:int [read-only]Indicates the number of axes in the RadarChart.
Implementation public function get numAxes():int
| numSeries | property |
numSeries:int [read-only]Indicates the number of series in the RadarChart.
Implementation public function get numSeries():int
| selectedSeries | property |
selectedSeries:Array [read-write]
An array containing series that should be displayed. Series contains a set of RadarChartSeries instances.
public function get selectedSeries():Array
public function set selectedSeries(value:Array):void
| series | property |
series:Array [read-write]An array of the series displayed by the radarchart.
Implementation public function get series():Array
public function set series(value:Array):void
| seriesField | property |
seriesField:String [read-write]Name of the field used to determine the name of a series.
Implementation public function get seriesField():String
public function set seriesField(value:String):void
| seriesLegend | property |
seriesLegend:RadarChartSeriesLegend [read-write]A legend containing the list of the RadarChart series.
Implementation public function get seriesLegend():RadarChartSeriesLegend
public function set seriesLegend(value:RadarChartSeriesLegend):void
| seriestype | property |
seriestype:String [read-write]Indicates the type of the series used in the radarchat (lines, areas or points).
Implementation public function get seriestype():String
public function set seriestype(value:String):void
See also
| useSameGraduations | property |
useSameGraduations:Boolean [read-write]Indicates wether all the axes must have the same graduations or different (independent) graduations.
Implementation public function get useSameGraduations():Boolean
public function set useSameGraduations(value:Boolean):void
| RadarChart | () | constructor |
public function RadarChart()Creates a new RadarChart instance.
| styleChanged | () | method |
public override function styleChanged(styleProp:String):voidParameters
styleProp:String |
| valueChanged | event |
fr.kapit.radarchart.RadarChartPointEvent
Dispatched when the user finishes dragging a series point using the mouse.
| valueChanging | event |
fr.kapit.radarchart.RadarChartPointEvent
Dispatched when the user is dragging a series point using the mouse.
| AREA_SERIES | constant |
public static const AREA_SERIES:String = "areaseries"Series are drawn as filled polylines.
| CURVE | constant |
public static const CURVE:String = "curve"Polylines are drawn using curves;
| LINE | constant |
public static const LINE:String = "line"Polylines are drawn using lines.
| LINE_SERIES | constant |
public static const LINE_SERIES:String = "lineseries"Series are drawn as polylines.
| POINT_SERIES | constant |
public static const POINT_SERIES:String = "pointseries"Series are drawn as points.