Name

rectangularchart — A rectangular chart

Synopsis

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

Description

[Warning] 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

Superclass Chain

node (LzNode) » view (LzView) » basecomponent » chart » rectangularchart

Known Subclasses

Details

Properties (13)

dataSeriesLeaf
<attribute name="dataSeriesLeaf" type="expression" value="${null}" />
private var dataSeriesLeaf : Object;
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;
gridlinecolor
<attribute name="gridlinecolor" type="color" value="0x000000" />
private var gridlinecolor : color;
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 (27)

adjustAxesToLayout()
<method name="adjustAxesToLayout" />
private function adjustAxesToLayout();
adjustOptimizeMinMax()
<method name="adjustOptimizeMinMax" />
private function adjustOptimizeMinMax();
adjustPlotAreaToLayout()
<method name="adjustPlotAreaToLayout" />
private function adjustPlotAreaToLayout();
Adjust the plot area to the dimensions of the chart and the axes. This method overrides chart.adjustPlotAreaToLayout()
buildCategoricalMinMax()
<method name="buildCategoricalMinMax" args="pAxis, pOrientation" />
private function buildCategoricalMinMax(pAxis, pOrientation);
buildLinearMinMax()
<method name="buildLinearMinMax" args="pAxis, pOrientation" />
private function buildLinearMinMax(pAxis, pOrientation);
calcDefaultMinMax()
<method name="calcDefaultMinMax" />
private function calcDefaultMinMax();
Set the min and max to show all data
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.
dataload()
<method name="dataload" />
private function dataload();
findMax()
<method name="findMax" args="arr" />
private function findMax(arr);
findMin()
<method name="findMin" args="arr" />
private function findMin(arr);
getAxisOverDimension()
<method name="getAxisOverDimension" args="axis" />
private function getAxisOverDimension(axis);
render()
<method name="render" />
public function render();
renderAxis()
<method name="renderAxis" />
private function renderAxis();
render the axis
renderGridLines()
<method name="renderGridLines" />
private function renderGridLines();
Draw the grid lines
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);
renderValueLine()
<method name="renderValueLine" />
private function renderValueLine();
renderValuePoint()
<method name="renderValuePoint" />
public function renderValuePoint();
renderValueRegion()
<method name="renderValueRegion" />
private function renderValueRegion();
Render the value regions defined in the chart
renderVerticalGridlines()
<method name="renderVerticalGridlines" />
public function renderVerticalGridlines();
setHAxisMax()
<method name="setHAxisMax" />
private function setHAxisMax();
setHAxisMin()
<method name="setHAxisMin" />
private function setHAxisMin();
setVAxisMax()
<method name="setVAxisMax" />
private function setVAxisMax();
setVAxisMin()
<method name="setVAxisMin" />
private function setVAxisMin();
undo()
<method name="undo" args="duration" />
public function undo(duration);
undo the last chart zoom interaction to the one previous

LZX Synopsis

<class name="lz.rectangularchart" extends=" lz.chart ">
  <attribute name=" dataSeriesLeaf " type="expression" value="${null}" />
  <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=" gridlinecolor " type="color" value="0x000000" />
  <attribute name=" horizontalGridBands " type="boolean" value="false" />
  <attribute name=" horizontalGridLines " type="boolean" value="false" />
  <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" />
  <attribute name=" verticalGridLines " type="boolean" value="false" />
  <method name=" adjustAxesToLayout " />
  <method name=" adjustOptimizeMinMax " />
  <method name=" adjustPlotAreaToLayout " />
  <method name=" buildCategoricalMinMax " args="pAxis, pOrientation" />
  <method name=" buildLinearMinMax " args="pAxis, pOrientation" />
  <method name=" calcDefaultMinMax " />
  <method name=" changeBound " args="newminx, newminy, newmaxx, newmaxy, animated, undoable" />
  <method name=" customizeMinMax " args="pMinX, pMaxX, pMinY, pMaxY" />
  <method name=" dataload " />
  <method name=" findMax " args="arr" />
  <method name=" findMin " args="arr" />
  <method name=" getAxisOverDimension " args="axis" />
  <method name=" render " />
  <method name=" renderAxis " />
  <method name=" renderGridLines " />
  <method name=" renderHorizontalGridBands " />
  <method name=" renderHorizontalGridlines " />
  <method name=" renderRect " args="dv, tlx, tly, brx, bry, fillcolor, fillopacity" />
  <method name=" renderValueLine " />
  <method name=" renderValuePoint " />
  <method name=" renderValueRegion " />
  <method name=" renderVerticalGridlines " />
  <method name=" setHAxisMax " />
  <method name=" setHAxisMin " />
  <method name=" setVAxisMax " />
  <method name=" setVAxisMin " />
  <method name=" undo " args="duration" />
</class>

JavaScript Synopsis

public lz.rectangularchart extends  lz.chart  {
  private var dataSeriesLeaf  : Object;
  public var defaultmaxx  : Number;
  public var defaultmaxy  : Number;
  public var defaultminx  : Number;
  public var defaultminy  : Number;
  private var gridlinecolor  : color;
  public var horizontalGridBands  : boolean;
  public var horizontalGridLines  : boolean;
  public var maxx  : Number;
  public var maxy  : Number;
  public var minx  : Number;
  public var miny  : Number;
  public var verticalGridLines  : boolean;
  prototype private function adjustAxesToLayout ();
  prototype private function adjustOptimizeMinMax ();
  prototype private function adjustPlotAreaToLayout ();
  prototype private function buildCategoricalMinMax (pAxis, pOrientation);
  prototype private function buildLinearMinMax (pAxis, pOrientation);
  prototype private function calcDefaultMinMax ();
  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 private function dataload ();
  prototype private function findMax (arr);
  prototype private function findMin (arr);
  prototype private function getAxisOverDimension (axis);
  prototype public function render ();
  prototype private function renderAxis ();
  prototype private function renderGridLines ();
  prototype public function renderHorizontalGridBands ();
  prototype public function renderHorizontalGridlines ();
  prototype public function renderRect (dv, tlx, tly, brx, bry, fillcolor, fillopacity);
  prototype private function renderValueLine ();
  prototype public function renderValuePoint ();
  prototype private function renderValueRegion ();
  prototype public function renderVerticalGridlines ();
  prototype private function setHAxisMax ();
  prototype private function setHAxisMin ();
  prototype private function setVAxisMax ();
  prototype private function setVAxisMin ();
  prototype public function undo (duration);
}