Changeset 175 for trunk/pycha/chart.py
- Timestamp:
- 03/21/09 08:19:39 (17 months ago)
- Files:
-
- 1 modified
-
trunk/pycha/chart.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pycha/chart.py
r173 r175 350 350 cx.stroke() 351 351 352 cx.select_font_face(self.options.axis.tickFont, 353 cairo.FONT_SLANT_NORMAL, 354 cairo.FONT_WEIGHT_NORMAL) 355 cx.set_font_size(self.options.axis.tickFontSize) 356 352 357 label = unicode(tick[1]) 353 358 extents = cx.text_extents(label) … … 384 389 cx.close_path() 385 390 cx.stroke() 391 392 cx.select_font_face(self.options.axis.tickFont, 393 cairo.FONT_SLANT_NORMAL, 394 cairo.FONT_WEIGHT_NORMAL) 395 cx.set_font_size(self.options.axis.tickFontSize) 386 396 387 397 label = unicode(tick[1]) … … 638 648 labelFontSize=9, 639 649 labelWidth=50.0, 650 tickFont='Tahoma', 651 tickFontSize=9, 640 652 x=Option( 641 653 hide=False,
