getCanvas

gets the canvas context

object getCanvas( [string context] );
contextstringthe context type (by default, 2d)
objectthe canvas object

Example

myChart.getCanvas();

See also
Back to top