diff --git a/.vs/AAWeb/v15/.suo b/.vs/AAWeb/v15/.suo index 3e1ee56c0..09a45e0d9 100644 Binary files a/.vs/AAWeb/v15/.suo and b/.vs/AAWeb/v15/.suo differ diff --git a/ChartGrid.js b/ChartGrid.js index 11332b6c9..42323b289 100644 --- a/ChartGrid.js +++ b/ChartGrid.js @@ -500,7 +500,7 @@ let fontSize = 10; - let label = ' ' + Math.round(j * 1000000) / 1000000; + let label = ' ' + Math.round(j * 1000000) / 1000000 / 4; // TODO This 4 is to be removed. let labelPoint = { x: viewPort.visibleArea.bottomRight.x + 1, diff --git a/Dashboard.js b/Dashboard.js index ca0d3dbb2..3f2ae9899 100644 --- a/Dashboard.js +++ b/Dashboard.js @@ -128,7 +128,7 @@ const EARLIEST_DATE = new Date(2014, 0, 18, 4, 26, 8); const FONT_ASPECT_RATIO = 0.60; const CHART_ASPECT_RATIO = 1 / 10; -const INITIAL_ZOOM_LEVEL = 0; // This is the zoom level at the view port in which the APP starts. +const INITIAL_ZOOM_LEVEL = -22; // This is the zoom level at the view port in which the APP starts. const INITIAL_TIME_PERIOD = recalculatePeriod(INITIAL_ZOOM_LEVEL); var viewPort = newViewPort(); @@ -157,7 +157,7 @@ var newDate = new Date(); newDate.setMilliseconds(0); newDate.setDate(newDate.getDate() - 90); -const INITIAL_DATE = new Date(2017,11,17,14,18,0,0); +const INITIAL_DATE = new Date(); var maxDate = new Date(); maxDate.setMilliseconds(0);