Name

valueline

Synopsis

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

Description

Represents a line in the chart

Superclass Chain

node (LzNode) » view (LzView) » drawview » valueline

Known Subclasses

Details

Properties (5)

axis
<attribute name="axis" type="string" />
public var axis : String;
the axis value could be "x" or "y"
data
<attribute name="data" type="string" value="" />
public var data : String;
the value will be draw
label
<attribute name="label" type="string" value="" />
public var label : String;
the label will be display next to the line
tip
<attribute name="tip" type="string" value="" />
public var tip : String;
the tooltip value will be display when the mouse over the line
tipEnable
<attribute name="tipEnable" type="boolean" value="null" />
public var tipEnable : boolean;
enable tooltip for data

Methods (6)

clear()
<method name="clear" />
private function clear();
clears the area
hidetooltip()
<method name="hidetooltip" />
private function hidetooltip();
hides the data tooltip
processData()
<method name="processData" args="pLabel" />
public function processData(pLabel : string);
Method for extensible label rendering
render()
<method name="render" />
private function render();
render the line
renderValueLine()
<method name="renderValueLine" />
private function renderValueLine();
showtooltip()
<method name="showtooltip" />
private function showtooltip();
shows the data tooltip and applied style

LZX Synopsis

<class name="lz.valueline" extends=" lz.drawview ">
  <attribute name=" axis " type="string" />
  <attribute name=" data " type="string" value="" />
  <attribute name=" label " type="string" value="" />
  <attribute name=" tip " type="string" value="" />
  <attribute name=" tipEnable " type="boolean" value="null" />
  <method name=" clear " />
  <method name=" hidetooltip " />
  <method name=" processData " args="pLabel" />
  <method name=" render " />
  <method name=" renderValueLine " />
  <method name=" showtooltip " />
</class>

JavaScript Synopsis

public lz.valueline extends  lz.drawview  {
  public var axis  : String;
  public var data  : String;
  public var label  : String;
  public var tip  : String;
  public var tipEnable  : boolean;
  prototype private function clear ();
  prototype private function hidetooltip ();
  prototype public function processData (pLabel : string);
  prototype private function render ();
  prototype private function renderValueLine ();
  prototype private function showtooltip ();
}