summaryrefslogtreecommitdiffhomepage
path: root/layouts
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2019-05-13 15:03:34 -0700
committerAdin Scannell <adin@scannell.ca>2019-05-13 15:27:34 -0700
commit5b3f25047fe8dd4d04262ea56c38a134291d0067 (patch)
tree4cb3ea21e1a68e5f6000e99f76ef0814e4237b92 /layouts
parent5dcfe3c758e9b2ca0c87d6bb843094b083a9515b (diff)
Upload latest set of benchmarks
Also includes redis density benchmark.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/graph.html4
1 files changed, 4 insertions, 0 deletions
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,