How to calculate and place circles on an rect area??

I'm trying to draw some charts on a Canvas Area. My Problem is following... I have 1-4 (or more) circles to draw. T...