From 92fec7ee47b240801a0fdcbba32fc9c3eceef869 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 10 Jun 2019 14:33:18 +0100 Subject: Increase zoom extent --- app/static/js/makeChart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/static/js/makeChart.js b/app/static/js/makeChart.js index ad001b9..85d743b 100644 --- a/app/static/js/makeChart.js +++ b/app/static/js/makeChart.js @@ -79,7 +79,7 @@ function baseChart(selector, data, clickFunction, annotations, annotationFunctio // Initialise the zoom behaviour var zoomObj = d3.zoom() - .scaleExtent([1, 50]) + .scaleExtent([1, 100]) .translateExtent([[0, 0], [width, height]]) .extent([[0, 0], [width, height]]) .on("zoom", zoomTransform); -- cgit v1.2.3