[reportlab-users] Changing the font colour of labels in	HorizontalBarChart
    Stevens, Ian 
    IStevens at globeandmail.com
       
    Tue Nov 27 10:56:00 EST 2007
    
    
  
How do I change the colour of the text in the categoryAxis, valueAxis
and bar labels?  The fontColor attribute doesn't seem to work:
 
c = HorizontalBarChart()
[...]
c.categoryAxis.labels.fontSize = c.valueAxis.labels.fontSize =
c.barLabels.fontSize = 8            # works
c.categoryAxis.labels.fontColor = c.valueAxis.labels.fontColor =
c.barLabels.fontColor = gray    # gives "Illegal attribute 'fontColor'
in class Label"
 
thanks,
Ian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20071127/27c29778/attachment.html>
    
    
More information about the reportlab-users
mailing list