Searched refs:graph_height (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/tools/perf/scripts/python/ |
D | exported-sql-viewer.py | 1427 def __init__(self, data, graph_width, graph_height, attrs, event_handler, parent=None): argument 1432 self.graph_height = graph_height 1438 return QRectF(0, 0, self.graph_width, self.graph_height) 1460 painter.drawLine(x0, self.graph_height - y0, x0, self.graph_height) 1462 painter.fillRect(x0, self.graph_height - y0, width, self.graph_height - 1, colour) 1686 graph_height = attrs.YToPixel(attrs.subrange.y.hi) + 1 1689 self.graph_origin_y = graph_height + margin 1693 self.yline = QGraphicsLineItem(0, 0, 0, graph_height, self) 1702 self.yline.setPos(self.graph_origin_x - y_axis_size, self.graph_origin_y - graph_height) 1710 …self.graph = SwitchGraphDataGraphicsItem(data, graph_width, graph_height, attrs, event_handler, se… [all …]
|