February 2019
Beginner to intermediate
284 pages
6h 20m
English
Prototype methods are automatically called during rendering and updates. You can also call them directly if you need to interfere with the rendering process. They are listed in the following table:
|
Method |
Description |
|
destroy() |
Destroys a chart instance. This can be used if you wish to reuse the canvas, or remove the chart completely. |
|
reset() |
Restores the chart to its initial state (after layout and before its initial animation). A new animation can be triggered with render() or update(). |
|
stop() |
Stops an animation loop. This is usually called in an onProgress callback. Calling render() or update() will resume the animation. |
|
clear() |
Clears the chart canvas (effective after the chart has finished ... |
Read now
Unlock full access