[reportlab-users] HorizontalBarChar & CategoryAxis

Robin Becker robin at reportlab.com
Thu Aug 25 10:50:32 EDT 2005


Nicholas Wieland wrote:
> I've created my own HorizontalBarChart and I'm trying to make it appealing.
> The problem I'm battling with is that, given that my barcharts start from values < 0 and finish at values > 0, I'm not able to position a YCategoryValueAxis with the dx attribute without a) going out of page b) "overwriting" a bar.
> How does people manage such task ?
> Being dx fixed to the axis, if my data are all positive, the space between labels and bars is obviously too much ...
>  
>   ngw
> 

If you set the chart's categoryAxis.joinAxisMode='left'
then the YCategoryAxis is at the left end of the value axis. Is that what you want?
-- 
Robin Becker


More information about the reportlab-users mailing list