[reportlab-users] Charts and Axes dimensions

Dinu Gherman gherman at darwin.in-berlin.de
Mon Sep 28 04:49:25 EDT 2009


Troy Caldwell:


> I realize that if I place the chart at 0,0, my labels for both axes

> will be outside the bounds of the drawing. They appear, but they

> appear where I don't want them. I'm trying to figure out a way to

> calculate the width of the y axis, and the height of the x axis so I

> can then make the decision on where to place the chart itself to

> keep the entire image where I want it. I'm dropping these into a

> document that's using frames and flowables. Everything is running

> pretty smoothly.



Try setting the minimum/maximum on the value axis to make the bar
labels fall inside the charting area. Otherwise please provide
some graphical samples or these issues will be hard to discuss...

Regards,

Dinu

......................................................................
Follow me on Twitter: http://twitter.com/dinugherman



More information about the reportlab-users mailing list