Changeset 138 for trunk

Show
Ignore:
Timestamp:
01/19/09 14:15:53 (3 years ago)
Author:
lgs
Message:

Use the option labelFontSize when rendering the axis. Fixes #21

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pycha/chart.py

    r127 r138  
    409409                            cairo.FONT_SLANT_NORMAL, 
    410410                            cairo.FONT_WEIGHT_BOLD) 
     411        cx.set_font_size(self.options.axis.labelFontSize) 
    411412        labelWidth = cx.text_extents(label)[2] 
    412413        fontAscent = cx.font_extents()[0]