diff --git a/static/js/client.js b/static/js/client.js index bf2a7599612..6d74eef452f 100644 --- a/static/js/client.js +++ b/static/js/client.js @@ -4,8 +4,8 @@ var retrospectivePredictor = true, latestSGV, treatments, - padding = {top: 20, right: 10, bottom: 80, left: 10}, - opacity = {current: 1, DAY: 1, NIGHT: 0.8}, + padding = { top: 20, right: 10, bottom: 30, left: 10 }, + opacity = {current: 1, DAY: 1, NIGHT: 0.5}, now = Date.now(), data = [], dateFn = function (d) { return new Date(d.date) }, @@ -36,6 +36,8 @@ var useMetricBg = true; // true means use mmol/L, false means mg/dL + var useMetricBg = true; // true means use mmol/L, false means mg/dL + // create svg and g to contain the chart contents var charts = d3.select('#chartContainer').append('svg') .append('g')