datatip.lzx
<library>
<include href="label.lzx"/>
<class name="datatip" visible="false" extends="label" enableCache="false">
<method name="show" args="txt">
this.setAttribute('visible', true);
this.bringToFront();
this.setAttribute('x', parent.getMouse("x") - 5);
this.setAttribute('y', parent.getMouse("y") - 15);
this.render(txt);
</method>
<method name="hide">
this.setAttribute('visible', false);
</method>
<doc>
<tag name="shortdesc"><text>
a tip for a datapoint
</text></tag>
<text>
<warning>This component is of Beta quality and is subject to change.</warning>
</text>
</doc>
</class>
</library>
Cross References
Includes
Classes
- <class name="datatip" extends="label">