diff options
author | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-07-13 23:45:05 (GMT) |
---|---|---|
committer | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-07-13 23:45:05 (GMT) |
commit | 4dfdcdbd960a3a680c130f5a5a380f4bb0017a64 (patch) | |
tree | 737a58a9b94f29256c43b8966489c5e489b70d0c | |
parent | 2b3a24bf0bcee55479660f3a4bb5c8843df1c683 (diff) |
More Ticks padding
-rw-r--r-- | chart.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -405,7 +405,7 @@ class Chart(object): y = self.layout.y_ticks.y + tick[0] * self.layout.y_ticks.h text_position = ((self.layout.y_tick_labels.x - + self.layout.y_tick_labels.w / 2.0), y) + + self.layout.y_tick_labels.w / 2.0 - 5), y) return self._renderTick(cx, tick, x, y, @@ -419,7 +419,7 @@ class Chart(object): x = self.layout.x_ticks.x + tick[0] * self.layout.x_ticks.w y = self.layout.x_ticks.y - text_position = (x, (self.layout.x_tick_labels.y + text_position = (x, (self.layout.x_tick_labels.y + 5 + self.layout.x_tick_labels.h / 2.0)) return self._renderTick(cx, tick, |