Name

verticalaxis — a vertical axis for a chart

Synopsis

LZX: verticalaxis
JavaScript: lz.verticalaxis
Type: Class
Access: public
Topic: Charting And Graphing.Common
Declared in: lps/components/charts/common/verticalaxis.lzx

Description

[Warning] Warning
This component is of Beta quality and is subject to change.
Represents the Y axis on the rectangular chart, extends from Axis class

Superclass Chain

basescrollbar.axis » verticalaxis

Known Subclasses

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()
<method name="init" />
private function init();
Init
renderAxis()
<method name="renderAxis" />
private function renderAxis();
Render the vertical axis line
renderTick()
<method name="renderTick" />
private function renderTick();
Render tickmarks
renderTickMark()
<method name="renderTickMark" args="pOffset, pPos, pStyle" />
private function renderTickMark(pOffset : Number, pPos : Number, pStyle : expression);
Render a tick mark
renderTitle()
<method name="renderTitle" />
private function renderTitle();
Render axis title
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);
Set label position
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=" getAxisLength " />
  <method name=" getPixelDistance " args="pInput" />
  <method name=" init " />
  <method name=" renderAxis " />
  <method name=" renderTick " />
  <method name=" renderTickMark " args="pOffset, pPos, pStyle" />
  <method name=" renderTitle " />
  <method name=" reposLabels " args="pMarks" />
  <method name=" setLabelPos " args="pLabel, pOffset, pTW, pTH, pPos" />
  <method name=" setScaleAndOffset " />
</class>

JavaScript Synopsis

public lz.verticalaxis extends  {
  private var datacolumn  : String;
  prototype private function getAxisLength ();
  prototype private function getPixelDistance (pInput : Number);
  prototype private function init ();
  prototype private function renderAxis ();
  prototype private function renderTick ();
  prototype private function renderTickMark (pOffset : Number, pPos : Number, pStyle : expression);
  prototype private function renderTitle ();
  prototype private function reposLabels (pMarks);
  prototype private function setLabelPos (pLabel, pOffset, pTW, pTH, pPos);
  prototype private function setScaleAndOffset ();
}