Explorar o código

update mock data

afc163 %!s(int64=8) %!d(string=hai) anos
pai
achega
4ccb61a1d8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mock/chart.js

+ 1 - 1
mock/chart.js

@@ -3,7 +3,7 @@ import moment from 'moment';
 // mock data
 const visitData = [];
 const beginDay = new Date().getTime();
-for (let i = 0; i < 7; i += 1) {
+for (let i = 0; i < 30; i += 1) {
   visitData.push({
     x: moment(new Date(beginDay + (1000 * 60 * 60 * 24 * i))).format('YYYY-MM-DD'),
     y: Math.floor(Math.random() * 100) + 10,