About
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 »

 

Download
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 »

 

License
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 »

SVG paths for canvas

Written by Richard Heyes, RGraph author, on 3rd September 2015

As stated elsewhere canvas paths are (unnecessarily) verbose. The W3C has attempted to aid the issue by introducing support for svg paths in the new Path2D object.

This new object, however, is not currently widely supported. So RGraph provides a work-around using the RGraph.path function.

This is a description of that function and a version of it that has been extracted from the RGraph code and works standalone.

https://www.rgraph.net/blog/paths.html