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]
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
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 now closed]