zoomed to 3yrs by default

This commit is contained in:
Lachlan Kermode
2018-12-04 16:35:42 +00:00
parent 53deaab164
commit 577ae7421f
2 changed files with 4 additions and 4 deletions

View File

@@ -96,7 +96,7 @@ class Dashboard extends React.Component {
render() {
return (
<div>
<Viewport
<Viewport
methods={{
select: this.handleSelect,
highlight: this.handleHighlight,

View File

@@ -30,8 +30,8 @@ const initial = {
selected: [],
filters: {
timerange: [
d3.timeParse("%Y-%m-%dT%H:%M:%S")("2014-08-22T12:00:00"),
d3.timeParse("%Y-%m-%dT%H:%M:%S")("2014-08-27T12:00:00")
d3.timeParse("%Y-%m-%dT%H:%M:%S")("2013-02-23T12:00:00"),
d3.timeParse("%Y-%m-%dT%H:%M:%S")("2016-02-23T12:00:00")
],
tags: [],
categories: [],
@@ -59,7 +59,7 @@ const initial = {
{
label: '3 días',
duration: 4320,
active: true
active: false
},
{
label: '12 horas',