From 5b3f25047fe8dd4d04262ea56c38a134291d0067 Mon Sep 17 00:00:00 2001 From: Zach Koopmans Date: Mon, 13 May 2019 15:03:34 -0700 Subject: Upload latest set of benchmarks Also includes redis density benchmark. --- layouts/shortcodes/graph.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'layouts/shortcodes/graph.html') diff --git a/layouts/shortcodes/graph.html b/layouts/shortcodes/graph.html index 9745fa561..73f98ba5d 100644 --- a/layouts/shortcodes/graph.html +++ b/layouts/shortcodes/graph.html @@ -104,6 +104,10 @@ d3.csv("{{ .Get "url" }}", function(d, i, columns) { y_min = 1; } + if ({{ .Get "y_min" | default false }}) { + y_min = "{{ .Get "y_min" }}"; + } + var svg = d3.select("#{{ .Get "id" }}"), margin = {top: 20, right: 20, bottom: 30 + margin_bottom_pad, left: 50}, width = +svg.attr("width") - margin.left - margin.right, -- cgit v1.2.3