Searched refs:graph_height (Results 1 – 1 of 1) sorted by relevance
| /tools/perf/scripts/python/ |
| D | exported-sql-viewer.py | 1437 def __init__(self, data, graph_width, graph_height, attrs, event_handler, parent=None): argument 1442 self.graph_height = graph_height 1448 return QRectF(0, 0, self.graph_width, self.graph_height) 1470 painter.drawLine(x0, self.graph_height - y0, x0, self.graph_height) 1472 painter.fillRect(x0, self.graph_height - y0, width, self.graph_height - 1, colour) 1696 graph_height = attrs.YToPixel(attrs.subrange.y.hi) + 1 1699 self.graph_origin_y = graph_height + margin 1703 self.yline = QGraphicsLineItem(0, 0, 0, graph_height, self) 1712 self.yline.setPos(self.graph_origin_x - y_axis_size, self.graph_origin_y - graph_height) 1720 …self.graph = SwitchGraphDataGraphicsItem(data, graph_width, graph_height, attrs, event_handler, se… [all …]
|