The canvas documentation and examples

This is the canvas section of the RGraph documentation. There's plenty of information, examples and there's also a canvas API reference.

An example of an canvas 3D Bar chart
An example canvas 3D Bar chart

A canvas definition

Canvas is a tag that was introduced in HTML5. It has a bitmap style drawing model which is utilised though a JavaScript API.

The chart to the right is an example of what can be achieved with it.

The set of canvas libraries in RGraph are more established than the SVG versions because RGraph was originally a canvas only library.

Canvas is very fast as a result of it not doing anything for you - for example it has no problems playing video content - so RGraph provides a lot of click-handling for you in order to facilitate dynamic features (such as tooltips, adjusting, annotating, adjusting).

Download RGraph »