Name
axis —
an axis for a chart
Description
|
Warning |
This component is of Beta quality and is subject to change. |
A abstract class that represents one of the axes of a rectangular chart. In general, axis isn't instantiated directly
Details
Properties (18)
-
axisEnabled
-
<attribute name="axisEnabled" type="boolean" value="true" />
public var axisEnabled : Boolean;
enable or disable the axis
-
columnName
-
<attribute name="columnName" type="string" />
public var columnName : String;
Indicates the column name associated to the axis
-
fixedRange
-
<attribute name="fixedRange" type="boolean" value="false" />
public var fixedRange : Boolean;
Fix the range of the axis to the maximum & minimum
-
interval
-
<attribute name="interval" value="5" />
Indicates the interval of values between the tic marks of the axis
-
labelReposEnabled
-
<attribute name="labelReposEnabled" type="boolean" value="true" />
public var labelReposEnabled : Boolean;
Attribute that controls if the labels are vertically repositioned to avoid overlaping
-
labelrotation
-
<attribute name="labelrotation" type="string" value="horizontal" />
public var labelrotation : String;
Indicates the axis title rotation can be 'horizontal' or 'vertical'
-
majorInterval
-
<attribute name="majorInterval" type="number" value="5" />
public var majorInterval : Number;
Allows to customize the interval of the Major Tics Marks
-
majorTickEnabled
-
<attribute name="majorTickEnabled" type="boolean" value="true" />
public var majorTickEnabled : Boolean;
-
maximum
-
<attribute name="maximum" value="100" />
Numerical value that indicates the Maximum value in the axis can be positive or negative value
-
minimum
-
<attribute name="minimum" value="0" />
Numerical value that indicates the Minimum value in the axis can be positive or negative value
-
minorTickEnabled
-
<attribute name="minorTickEnabled" type="boolean" value="false" />
public var minorTickEnabled : Boolean;
-
ticklabelcolumn
-
<attribute name="ticklabelcolumn" type="string" value="$once{''}" />
public var ticklabelcolumn : String;
Data Column that is used to override the values of Tic Marks labels
-
tickMarksLabelsEnabled
-
<attribute name="tickMarksLabelsEnabled" type="boolean" value="true" />
public var tickMarksLabelsEnabled : Boolean;
enable the rendering of tic Marks labels
-
title
-
<attribute name="title" type="string" />
public var title : String;
-
titleLocation
-
<attribute name="titleLocation" type="string" value="default" />
public var titleLocation : String;
Indicates the placement of the Axis title possible values: 'low','high','default'
-
titleX
-
<attribute name="titleX" type="number" value="null" />
public var titleX : Number;
Indicates the placement in X position of the Axis title
-
titleY
-
<attribute name="titleY" type="number" value="null" />
public var titleY : Number;
Indicates the placement in Y position of the Axis title
-
type
-
<attribute name="type" type="string" />
public var type : String;
Indicates the axis type can be 'linear' or 'categorical'
Methods (2)
-
processData()
-
<method name="processData" args="pLabel" />
public function processData(pLabel);
Method for extensible label rendering
-
render()
-
public function render();
Render method render Axis Title, Axis lines, Tic Marks and TickMarks labels
LZX Synopsis
<class name="
axis">
<attribute name="
axisEnabled
" type="
boolean" value="
true" />
<attribute name="
fixedRange
" type="
boolean" value="
false" />
<attribute name="
interval
" value="
5" />
<attribute name="
labelrotation
" type="
string" value="
horizontal" />
<attribute name="
maximum
" value="
100" />
<attribute name="
minimum
" value="
0" />
<attribute name="
title
" type="
string" />
<attribute name="
titleLocation
" type="
string" value="
default" />
<attribute name="
titleX
" type="
number" value="
null" />
<attribute name="
titleY
" type="
number" value="
null" />
<attribute name="
type
" type="
string" />
</class>
JavaScript Synopsis
public
axis {
public var
title
:
String;
public var
type
:
String;
prototype public function
render
();
}