Skip to content

Commit

Permalink
Merge pull request #34 from nightscout/mmol/elute
Browse files Browse the repository at this point in the history
Mmol/elute
  • Loading branch information
bewest committed Jul 3, 2014
2 parents a39be9c + f495873 commit 8d2b3e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions static/js/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) },
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 8d2b3e2

Please sign in to comment.