Name
rectangularchart —
A rectangular chart
Description
|
Warning |
This component is Beta quality and is subject to revision |
class that provides all common features for the rectangular charts like line, bar and column
Details
Properties (11)
-
defaultmaxx
-
<attribute name="defaultmaxx" type="number" value="100" />
public var defaultmaxx : Number;
-
defaultmaxy
-
<attribute name="defaultmaxy" type="number" value="100" />
public var defaultmaxy : Number;
-
defaultminx
-
<attribute name="defaultminx" type="number" value="0" />
public var defaultminx : Number;
-
defaultminy
-
<attribute name="defaultminy" type="number" value="0" />
public var defaultminy : Number;
-
horizontalGridBands
-
<attribute name="horizontalGridBands" type="boolean" value="false" />
public var horizontalGridBands : Boolean;
Determines if the horizontal grid lines are going to be used
-
horizontalGridLines
-
<attribute name="horizontalGridLines" type="boolean" value="false" />
public var horizontalGridLines : Boolean;
-
maxx
-
<attribute name="maxx" type="number" value="100" />
public var maxx : Number;
The maximum virtual value to be rendered in the 'x' axis
-
maxy
-
<attribute name="maxy" type="number" value="100" />
public var maxy : Number;
The maximum virtual value to be rendered in the 'y' axis
-
minx
-
<attribute name="minx" type="number" value="0" />
public var minx : Number;
The minimum virtual value to be rendered in the 'x' axis
-
miny
-
<attribute name="miny" type="number" value="0" />
public var miny : Number;
The minimum virtual value to be rendered in the 'y' axis
-
verticalGridLines
-
<attribute name="verticalGridLines" type="boolean" value="false" />
public var verticalGridLines : Boolean;
Determines if the vertical grid lines are going to be used
Methods (9)
-
changeBound()
-
<method name="changeBound" args="newminx, newminy, newmaxx, newmaxy, animated, undoable" />
public function changeBound(newminx : Number, newminy : Number, newmaxx : Number, newmaxy : Number, animated : Number, undoable : Number);
change the virtual boundary of the rectangular chart
-
customizeMinMax()
-
<method name="customizeMinMax" args="pMinX, pMaxX, pMinY, pMaxY" />
public function customizeMinMax(pMinX : Number, pMaxX : Number, pMinY : Number, pMaxY : Number);
Allows to customize the minimum and maxium data value.
-
render()
-
public function render();
-
renderHorizontalGridBands()
-
<method name="renderHorizontalGridBands" />
public function renderHorizontalGridBands();
-
renderHorizontalGridlines()
-
<method name="renderHorizontalGridlines" />
public function renderHorizontalGridlines();
-
renderRect()
-
<method name="renderRect" args="dv, tlx, tly, brx, bry, fillcolor, fillopacity" />
public function renderRect(dv, tlx, tly, brx, bry, fillcolor, fillopacity);
-
renderValuePoint()
-
<method name="renderValuePoint" />
public function renderValuePoint();
-
renderVerticalGridlines()
-
<method name="renderVerticalGridlines" />
public function renderVerticalGridlines();
-
undo()
-
<method name="undo" args="duration" />
public function undo(duration);
undo the last chart zoom interaction to the one previous
LZX Synopsis
<class name="
rectangularchart" extends="
chart
">
<attribute name="
defaultmaxx
" type="
number" value="
100" />
<attribute name="
defaultmaxy
" type="
number" value="
100" />
<attribute name="
defaultminx
" type="
number" value="
0" />
<attribute name="
defaultminy
" type="
number" value="
0" />
<attribute name="
maxx
" type="
number" value="
100" />
<attribute name="
maxy
" type="
number" value="
100" />
<attribute name="
minx
" type="
number" value="
0" />
<attribute name="
miny
" type="
number" value="
0" />
<method name="
changeBound
" args="
newminx,
newminy,
newmaxx,
newmaxy,
animated,
undoable" />
<method name="
renderRect
" args="
dv,
tlx,
tly,
brx,
bry,
fillcolor,
fillopacity" />
<method name="
undo
" args="
duration" />
</class>
JavaScript Synopsis
public
rectangularchart extends
chart
{
public var
maxx
:
Number;
public var
maxy
:
Number;
public var
minx
:
Number;
public var
miny
:
Number;
prototype public function
changeBound
(
newminx : Number,
newminy : Number,
newmaxx : Number,
newmaxy : Number,
animated : Number,
undoable : Number);
prototype public function
customizeMinMax
(
pMinX : Number,
pMaxX : Number,
pMinY : Number,
pMaxY : Number);
prototype public function
render
();
prototype public function
renderRect
(
dv,
tlx,
tly,
brx,
bry,
fillcolor,
fillopacity);
prototype public function
undo
(
duration);
}