Name

label — a label for a chart

Synopsis

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

Description

[Warning] Warning
This component is of Beta quality and is subject to change.
An abstract class that applies all features label.

Superclass Chain

label

Known Subclasses

Known Direct Subclasses: datalabel, datatip

Details

Methods (4)

getText()
<method name="getText" />
public function getText();
Get the text
getTextHeight()
<method name="getTextHeight" />
public function getTextHeight();
Get the text height
getTextWidth()
<method name="getTextWidth" />
public function getTextWidth();
Get the text width
render()
<method name="render" args="txt" />
public function render(txt : string);
Setter for attribute

LZX Synopsis

<class name="label">
  <method name=" getText " />
  <method name=" getTextHeight " />
  <method name=" getTextWidth " />
  <method name=" render " args="txt" />
</class>

JavaScript Synopsis

public label {
  prototype public function getText ();
  prototype public function getTextHeight ();
  prototype public function getTextWidth ();
  prototype public function render (txt : string);
}