Name
verticalaxis —
a vertical axis for a chart
Description
![[Warning]](images/warning.png) |
Warning |
| This component is of Beta quality and is subject to change. |
Represents the Y axis on the rectangular chart, extends from Axis class
Details
Properties (1)
-
datacolumn
-
<attribute name="datacolumn" type="string" value="y" />
private var datacolumn : String;
Methods (10)
-
getAxisLength()
-
<method name="getAxisLength" />
private function getAxisLength();
Get the length of the axis.
-
getPixelDistance()
-
<method name="getPixelDistance" args="pInput" />
private function getPixelDistance(pInput : Number);
Method to return a pixel position given graph data
-
init()
-
-
renderAxis()
-
<method name="renderAxis" />
private function renderAxis();
Render the vertical axis line
-
renderTick()
-
<method name="renderTick" />
private function renderTick();
-
renderTickMark()
-
<method name="renderTickMark" args="pOffset, pPos, pStyle" />
private function renderTickMark(pOffset : Number, pPos : Number, pStyle : expression);
-
renderTitle()
-
<method name="renderTitle" />
private function renderTitle();
-
reposLabels()
-
<method name="reposLabels" args="pMarks" />
private function reposLabels(pMarks);
Check label location and change placement to avoid labels
overlaping
-
setLabelPos()
-
<method name="setLabelPos" args="pLabel, pOffset, pTW, pTH, pPos" />
private function setLabelPos(pLabel, pOffset, pTW, pTH, pPos);
-
setScaleAndOffset()
-
<method name="setScaleAndOffset" />
private function setScaleAndOffset();
setter for scale and offset
LZX Synopsis
<class name="
lz.verticalaxis" extends="">
<attribute name="
datacolumn
" type="
string" value="
y" />
<method name="
setLabelPos
" args="
pLabel,
pOffset,
pTW,
pTH,
pPos" />
</class>
JavaScript Synopsis
public
lz.verticalaxis extends {
prototype private function
init
();
prototype private function
renderTickMark
(
pOffset : Number,
pPos : Number,
pStyle : expression);
prototype private function
setLabelPos
(
pLabel,
pOffset,
pTW,
pTH,
pPos);
}