<label>
a label for a chart

JavaScript: lz.label
extends <drawview> » <view> » <node> » lz.Eventable »
[Warning] Warning
This component is of Beta quality and is subject to change.
An abstract class that applies all features label.

Methods

getText()
label.getText();
Get the text

getTextHeight()
label.getTextHeight();
Get the text height

getTextWidth()
label.getTextWidth();
Get the text width

render()
label.render(txt : string);
Setter for attribute
Parameter Name Type Description
txt string text to be updated

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <drawview>

oncontext

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy