Is there any way to reduce the amount of white space around a given chart?

32 views
Skip to first unread message

Sarah Rich

unread,
May 31, 2016, 6:02:25 PM5/31/16
to Google Visualization API
I've made a few pie charts, and I've successfully tweaked them to appear the way I want them to – except that there is more white space surrounding them than necessary. Does anyone know if/how I can reduce the white space around my charts? Thanks.

Henry Harrison

unread,
Jun 1, 2016, 9:26:02 AM6/1/16
to Google Visualization API
You could try the chartArea configuration options. I have found using chartArea.width and chartArea.height with % values works well for me.

https://developers.google.com/chart/interactive/docs/gallery/piechart#configuration-options

Regards
Henry

Sarah Rich

unread,
Jun 2, 2016, 5:16:56 PM6/2/16
to Google Visualization API
Thanks, this helped!
Reply all
Reply to author
Forward
0 new messages