(self, from_idx, to_idx)
| 454 | self.update() |
| 455 | |
| 456 | def draw_candles(self, from_idx, to_idx): |
| 457 | self._curr_from_idx = from_idx |
| 458 | self._curr_to_idx = to_idx |
| 459 | self._curr_span = self._curr_to_idx - self._curr_from_idx + 1 |
| 460 | # |
| 461 | self.draw_all_pixmaps() |
| 462 | self.update() |
| 463 | # |
| 464 | self.emit(SIGNAL("kLineSpanChanged()")) |
| 465 | |
| 466 | def draw_average_line(self): |
| 467 | if not self._is_average_line_shown: |
no test coverage detected