Home
last modified time | relevance | path

Searched refs:chart_bounds (Results 1 – 1 of 1) sorted by relevance

/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/
H A Ddraw.py276 def draw_chart(ctx, color, fill, chart_bounds, data, proc_tree, data_range): argument
283 y = (point[1] - y_base) * -yscale + y_trans + chart_bounds[3]
292 xscale = float (chart_bounds[2]) / (max_x - x_shift)
294 xscale = float (chart_bounds[2])
299 yscale = float(chart_bounds[3]) / (data_range[1] - data_range[0])
302 yscale = float(chart_bounds[3]) / max_y
306 chart_bounds[0], chart_bounds[1])
308 chart_bounds[0], chart_bounds[1])
314 chart_bounds[0], chart_bounds[1])
318 ctx.line_to(last[0], chart_bounds[1]+chart_bounds[3])
[all …]