From a4dec944bc821d114bfd82debb72d60bd04f836d Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 11 Feb 2019 17:41:13 -0500 Subject: web design (#1728) --- website/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'website/app.js') diff --git a/website/app.js b/website/app.js index ed7d4baf2..6e23befa9 100644 --- a/website/app.js +++ b/website/app.js @@ -126,6 +126,7 @@ function generate( ) { const yAxis = { padding: { bottom: 0 }, + min: 0, label: yLabel }; if (yTickFormat) { @@ -133,6 +134,7 @@ function generate( format: yTickFormat }; if (yTickFormat == logScale) { + delete yAxis.min; for (let col of columns) { for (let i = 1; i < col.length; i++) { if (col[i] == null) { @@ -221,7 +223,7 @@ export async function drawChartsFromBenchmarkData(dataUrl) { } gen("#exec-time-chart", execTimeColumns, "seconds", logScale); - gen("#throughput-chart", throughputColumns, "seconds"); + gen("#throughput-chart", throughputColumns, "seconds", logScale); gen("#req-per-sec-chart", reqPerSecColumns, "1000 req/sec", formatReqSec); gen("#binary-size-chart", binarySizeColumns, "megabytes", formatMB); gen("#thread-count-chart", threadCountColumns, "threads"); -- cgit v1.2.3