Class Tee.Animation
Extends
Tee.Tool.
Base abstract class to perform Animations.
Defined in: <..\..\src\teechart.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Tee.Animation(target, onstep)
|
Field Attributes | Field Name and Description |
---|---|
When true, the animation repaints the chart at every step.
|
|
Duration in milliseconds of the animation.
|
|
Sub-animations that are executed in parallel with self.
|
|
When true, the animation never stops (starts again when finished).
|
|
Read-only, returns if the animation is currently running.
|
Method Attributes | Method Name and Description |
---|---|
animate(chart)
|
|
doStep(f)
|
|
start()
|
|
step()
|
|
stop()
|
Field Detail
{boolean}
autoDraw
When true, the animation repaints the chart at every step.
- Default Value:
- true
{Number}
duration
Duration in milliseconds of the animation.
- Default Value:
- 500
{Tee.Animation[]}
items
Sub-animations that are executed in parallel with self.
{boolean}
loop
When true, the animation never stops (starts again when finished).
- Default Value:
- false
{boolean}
running
Read-only, returns if the animation is currently running.
- Default Value:
- false
Method Detail
animate(chart)
- Parameters:
- chart
doStep(f)
- Parameters:
- f
start()
step()
stop()