[RGRAPH SUPPORT] Tryng to fit a Pie and Bar chart on to the canvas

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

Post a reply
Posted by Vinit saini at 13:21 on 10th December 2020
All pie chart keys not showing.
https://prnt.sc/vzqfi8

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

Posted by Richard at 16:23 on 10th December 2020
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

Post a reply

What's your name?
What do you want to say?