Changeset 93
- Timestamp:
- 07/19/08 02:14:30 (4 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
CHANGES.txt (modified) (1 diff)
-
src/chart.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/CHANGES.txt
r92 r93 4 4 0.3.1 (unreleased) 5 5 ------------------ 6 - ...6 - Do not overlap Y axis label when ticks label are not rotated (John Eikenberry) 7 7 8 8 0.3.0 (2008-03-22) -
trunk/src/chart.py
r85 r93 383 383 tickWidth = tickHeight = 0.0 384 384 if tickExtents: 385 tickHeight = tickHeight = self.options.axis.tickSize + 4.0 385 tickHeight = self.options.axis.tickSize + 4.0 386 tickWidth = self.options.axis.tickSize + 4.0 386 387 widths, heights = zip(*tickExtents) 387 388 maxWidth, maxHeight = max(widths), max(heights) … … 395 396 tickHeight += maxHeight 396 397 return tickWidth, tickHeight 397 398 398 399 def _renderAxisLabel(self, cx, tickWidth, tickHeight, label, x, y, vertical=False): 399 400 cx.new_path()
