MENU
.net Powerful JavaScript charts
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 use for showing charts on your website.

More »

 

Download
Get the latest version of RGraph (version 6.18, 1st June 2024) from the download page. You can read the changelog here. 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 »

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.
https://prnt.sc/vzqfi8

Bar chart overlapping
https://prnt.sc/vzqi2y

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:

https://codepen.io/rgraph/pen/bGwBdEX

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).

https://codepen.io/rgraph/pen/PoGbqoV

[Replies are closed]