Searched refs:graph_height (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/tools/perf/scripts/python/ |
D | exported-sql-viewer.py | 1434 def __init__(self, data, graph_width, graph_height, attrs, event_handler, parent=None): argument 1439 self.graph_height = graph_height 1445 return QRectF(0, 0, self.graph_width, self.graph_height) 1467 painter.drawLine(x0, self.graph_height - y0, x0, self.graph_height) 1469 painter.fillRect(x0, self.graph_height - y0, width, self.graph_height - 1, colour) 1693 graph_height = attrs.YToPixel(attrs.subrange.y.hi) + 1 1696 self.graph_origin_y = graph_height + margin 1700 self.yline = QGraphicsLineItem(0, 0, 0, graph_height, self) 1709 self.yline.setPos(self.graph_origin_x - y_axis_size, self.graph_origin_y - graph_height) 1717 …self.graph = SwitchGraphDataGraphicsItem(data, graph_width, graph_height, attrs, event_handler, se… [all …]
|