Name

rectangularchart — A rectangular chart

Synopsis

LZX: rectangularchart
JavaScript: 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

Known Direct Subclasses: barchart, columnchart, linechart

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()
<method name="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=" 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=" changeBound " args="newminx, newminy, newmaxx, newmaxy, animated, undoable" />
  <method name=" customizeMinMax " args="pMinX, pMaxX, pMinY, pMaxY" />
  <method name=" render " />
  <method name=" renderHorizontalGridBands " />
  <method name=" renderHorizontalGridlines " />
  <method name=" renderRect " args="dv, tlx, tly, brx, bry, fillcolor, fillopacity" />
  <method name=" renderValuePoint " />
  <method name=" renderVerticalGridlines " />
  <method name=" undo " args="duration" />
</class>

JavaScript Synopsis

public rectangularchart extends  chart  {
  public var defaultmaxx  : Number;
  public var defaultmaxy  : Number;
  public var defaultminx  : Number;
  public var defaultminy  : Number;
  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 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 renderHorizontalGridBands ();
  prototype public function renderHorizontalGridlines ();
  prototype public function renderRect (dv, tlx, tly, brx, bry, fillcolor, fillopacity);
  prototype public function renderValuePoint ();
  prototype public function renderVerticalGridlines ();
  prototype public function undo (duration);
}