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 »


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

More »


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

More »

Tryng to fit a pie and Bar chart on to the canvas

Posted by Vinit saini at 13:21 on Thursday 10th December 2020 [link]
All pie chart keys not showing.

Bar chart overlapping

Posted by Richard at 16:23 on Thursday 10th December 2020 [link]
1. You could use the DIV/overflow technique as detailed in point 2. There's a codepen that shows this here:


2. For this you could use CSS overflow and have a large canvas contained within a smaller DIV that has the overflow set to auto (so that a scrollbar appears).


[Replies are now closed]