590 def col2x(col, radius): |
590 def col2x(col, radius): |
591 """ |
591 """ |
592 Local function to calculate a x-position for a column. |
592 Local function to calculate a x-position for a column. |
593 |
593 |
594 @param col column number |
594 @param col column number |
595 @type int |
595 @type int |
596 @param radius radius of the indicator circle |
596 @param radius radius of the indicator circle |
597 @type int |
597 @type int |
598 """ |
598 """ |
599 return int(1.2 * radius) * col + radius // 2 + 3 |
599 return int(1.2 * radius) * col + radius // 2 + 3 |
600 |
600 |
601 radius = self.__dotRadius |
601 radius = self.__dotRadius |
602 w = len(bottomedges) * radius + 20 |
602 w = len(bottomedges) * radius + 20 |