Name

basezoomarea

Synopsis

LZX: basezoomarea
JavaScript: lz.basezoomarea
Type: Class
Access: public
Topic: Charting And Graphing.Add-on
Declared in: lps/components/charts/addon/zoomarea.lzx

Description

An abstract class that provide basic zooming ability. Allow subclasses to modify the look and feel and action to be taken

Superclass Chain

node (LzNode) » view (LzView) » basezoomarea

Known Subclasses

Details

Properties (10)

chart
<attribute name="chart" type="expression" />
public var chart : Object;
the chart instance
duration
<attribute name="duration" type="number" value="500" />
public var duration : Number;
zoom animation duration
enabled
<attribute name="enabled" type="boolean" value="true" />
public var enabled : boolean;
enable zoom area
endx
<attribute name="endx" type="number" />
private var endx : Number;
endy
<attribute name="endy" type="number" />
private var endy : Number;
plotarea
<attribute name="plotarea" type="expression" />
private var plotarea : Object;
selecting
<attribute name="selecting" type="boolean" value="false" />
public var selecting : boolean;
user is selecting or not
selectionDel
<attribute name="selectionDel" />
private var selectionDel;
startx
<attribute name="startx" type="number" />
private var startx : Number;
starty
<attribute name="starty" type="number" />
private var starty : Number;

Methods (5)

adjustSize()
<method name="adjustSize" />
private function adjustSize();
init()
<method name="init" />
private function init();
plotmousedown()
<method name="plotmousedown" />
private function plotmousedown();
select()
<method name="select" args="minx, miny, maxx, maxy" />
public function select(minx : Number, miny : Number, maxx : Number, maxy : Number);
abstract method that allow subclasses to provide custom action after selection
setup()
<method name="setup" />
private function setup();

LZX Synopsis

<class name="lz.basezoomarea" extends=" LzView ">
  <attribute name=" chart " type="expression" />
  <attribute name=" duration " type="number" value="500" />
  <attribute name=" enabled " type="boolean" value="true" />
  <attribute name=" endx " type="number" />
  <attribute name=" endy " type="number" />
  <attribute name=" plotarea " type="expression" />
  <attribute name=" selecting " type="boolean" value="false" />
  <attribute name=" selectionDel " />
  <attribute name=" startx " type="number" />
  <attribute name=" starty " type="number" />
  <method name=" adjustSize " />
  <method name=" init " />
  <method name=" plotmousedown " />
  <method name=" select " args="minx, miny, maxx, maxy" />
  <method name=" setup " />
</class>

JavaScript Synopsis

public lz.basezoomarea extends  LzView  {
  public var chart  : Object;
  public var duration  : Number;
  public var enabled  : boolean;
  private var endx  : Number;
  private var endy  : Number;
  private var plotarea  : Object;
  public var selecting  : boolean;
  private var selectionDel ;
  private var startx  : Number;
  private var starty  : Number;
  prototype private function adjustSize ();
  prototype private function init ();
  prototype private function plotmousedown ();
  prototype public function select (minx : Number, miny : Number, maxx : Number, maxy : Number);
  prototype private function setup ();
}