[reportlab-users] Placement and color of bar labels according to length of bar?

Stevens, Ian IStevens at globeandmail.com
Mon Nov 12 13:01:56 EST 2007


I'm using HorizontalBarChart with bar labels currently displaying just to the right of the end of the bar. Is it possible to adjust the label positions so that for longer bars the label will appear as white within the bar and as black outside of the bar for shorter bars? I'm working in a tight area and would like to same as much space as possible. Here's roughly what I'd like the bar to look like:


|--

|-- 12%

|--

|---------

|----- 40%

|---------


thanks,
Ian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20071112/2391a891/attachment.html>


More information about the reportlab-users mailing list