Open orweinberger opened 9 years ago
I have the these two queries:
joola.events.on('ready', function() { console.log('joola ready'); $('#timeline').Timeline({ query: { timeframe: { start: new Date('2009-09-26'), end: new Date('2009-09-30') }, interval: 'day', metrics: [{key:'size', aggregation: 'avg'}], dimensions: ['timestamp'], collection: 'blocks' } }); $('#timeline2').Timeline({ query: { timeframe: { start: new Date('2009-09-26'), end: new Date('2009-09-30') }, interval: 'hour', metrics: [{key:'size', aggregation: 'avg'}], dimensions: ['timestamp'], collection: 'blocks' } }); });
Which produce the following two timelines, note that the first one shows 0 data for the 27th while the second one (with an hourly interval) shows that there is data for the 27th.
Live version is available here: http://codepen.io/orweinberger/pen/myPEEb
Still need to fix the above screenshot
I have the these two queries:
Which produce the following two timelines, note that the first one shows 0 data for the 27th while the second one (with an hourly interval) shows that there is data for the 27th.
Live version is available here: http://codepen.io/orweinberger/pen/myPEEb