Class Index | File Index

Classes


Class Tee.Annotation


Extends Tee.Tool.
Represents a rectangle containing text
Defined in: <..\..\src\teechart.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Tee.Annotation(chart, text, x, y)
Field Summary
Field Attributes Field Name and Description
 
Properties to control the annotation background and text appearance.
 
Properties to control spacing between text and rectangle boundaries.
 
 
When true, the annotation background is not displayed.
 
When true, the annotation is displayed.
Fields borrowed from class Tee.Tool:
active
Method Summary
Method Attributes Method Name and Description
 
add(text)
 
 
 
draw()
 
 
 
moveTo(x, y)
 
Methods borrowed from class Tee.Tool:
mousedown
Class Detail
Tee.Annotation(chart, text, x, y)
Parameters:
{Tee.Chart} chart
The parent chart this annotation belongs to.
{String} text
The text to draw inside the annotation.
{Number} x Optional, Default: 10
Optional left side position in pixels.
{Number} y Optional, Default: 10
Optional top side position in pixels.
Field Detail
{Tee.Format} format
Properties to control the annotation background and text appearance.

{Tee.Margins} margins
Properties to control spacing between text and rectangle boundaries.

position

{Boolean} transparent
When true, the annotation background is not displayed. Only the text is painted.

{Boolean} visible
When true, the annotation is displayed.
Method Detail
add(text)
Parameters:
text

{Boolean} clicked(p)
Parameters:
p
Returns:
{Boolean} Returns if Tee.Point p is inside this Annotation bounds.

doDraw()

draw()

forceDraw()

mousemove(p)
Parameters:
p

moveTo(x, y)
Parameters:
x
y

resize()

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Mar 23 2012 10:56:27 GMT+0100 (CET)