From 3a5a8280a1c079c8cc1161e0abc407c1a62aa068 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Mon, 15 May 2017 14:18:42 +0300 Subject: oe-build-perf-report: use correct x-axis max value in html charts (From OE-Core rev: 1d99b018c2b6a44b9db2f2ede113e64dae751eee) Signed-off-by: Markus Lehtonen Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- scripts/oe-build-perf-report | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report index d460caae18..6f0b84f9ec 100755 --- a/scripts/oe-build-perf-report +++ b/scripts/oe-build-perf-report @@ -373,7 +373,7 @@ def print_html_report(data, id_comp): # Chart options chart_opts = {'haxis': {'min': get_data_item(data[0][0], 'layers.meta.commit_count'), - 'max': get_data_item(data[0][0], 'layers.meta.commit_count')} + 'max': get_data_item(data[-1][0], 'layers.meta.commit_count')} } print(html.template.render(metadata=metadata, test_data=tests, chart_opts=chart_opts)) -- cgit 1.2.3-korg