How do I reduce whitespace in pie chart?

The imagegraph method is producing a lot of whitespace when I generate pie charts. For example:

Is there a parameter I can send to reduce this or do I need to do image postprocessing? This is being observed in 3.12.0.

Thank you

nevermind. I just needed to play around with the width and height params.