RGraph is a JavaScript charts library based on HTML5 SVG and canvas. RGraph is mature (over 15 years old) and has a wealth of features making it an ideal choice to show charts on your website.

More »


Get the latest version of RGraph (version 6.17) from the download page. There's also older versions available, minified files and links to cdnjs.com hosted libraries.

More »


RGraph can be used for free under the GPL or if that doesn't suit your situation there's an inexpensive (£129) commercial license available.

More »

The prototypal JavaScript object model

Written by Richard Heyes, RGraph author, on 19th December 2015

A new article is available that explores the javascript object model and explains the various options that you have when using it.

It only talks about the es5, functional style of object-oriented programming and does not explain the new es6 classes that are now available.

How does this apply to RGraph?

In order to keep compatibility with older browsers that may not support newer javascript features (ie the newer syntax for defining classes) all of the RGraph objects are defined using this style of object definition.

So understanding how javascript objects are defined and used will help you when you're working with RGraph.