Changeset 1030 for branch/ggpolo/umitInventory/TLGraph.py
- Timestamp:
- 07/15/07 15:46:33 (6 years ago)
- Files:
-
- 1 modified
-
branch/ggpolo/umitInventory/TLGraph.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branch/ggpolo/umitInventory/TLGraph.py
r1023 r1030 314 314 Do everything necessary after changing graph attributes. 315 315 """ 316 if self.max == -1: 317 # graph has no data 318 return 319 316 320 self.hmarks_pos = { } 317 321 self._calculate_graph_alloc() … … 491 495 self.left_reserved = width + 4 + self.mark_size 492 496 493 if width/ 2.0 > self.top_reserved:494 self.top_reserved = width / 2.0497 if height / 2.0 > self.top_reserved: 498 self.top_reserved = (height / 2.0) + 2 495 499 496 500 if self.ylabel: … … 1366 1370 self._paint_hover_area(cr) 1367 1371 1372 if self.max == -1: 1373 # graph has no data 1374 return 1375 1368 1376 # draw graph 1369 1377 if self.startup_animation and self.anim_timer == -1:
