oe-build-perf-report: use correct x-axis max value in html charts

(From OE-Core rev: 1d99b018c2b6a44b9db2f2ede113e64dae751eee)

(From OE-Core rev: 3a5a8280a1c079c8cc1161e0abc407c1a62aa068)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Markus Lehtonen 2017-05-15 14:18:42 +03:00 committed by Richard Purdie
parent eff8629de1
commit 65c54c2700
1 changed files with 1 additions and 1 deletions

View File

@ -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))