Name

basezoomarea

Synopsis

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

Known Direct Subclasses: zoomarea

Details

Properties (4)

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
selecting
<attribute name="selecting" type="boolean" value="false" />
public var selecting : Boolean;
user is selecting or not

Methods (1)

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

LZX Synopsis

<class name="basezoomarea" extends=" LzView ">
  <attribute name=" chart " type="expression" />
  <attribute name=" duration " type="number" value="500" />
  <attribute name=" enabled " type="boolean" value="true" />
  <attribute name=" selecting " type="boolean" value="false" />
  <method name=" select " args="minx, miny, maxx, maxy" />
</class>

JavaScript Synopsis

public basezoomarea extends  LzView  {
  public var chart  : Object;
  public var duration  : Number;
  public var enabled  : Boolean;
  public var selecting  : Boolean;
  prototype public function select (minx : Number, miny : Number, maxx : Number, maxy : Number);
}