This commit is contained in:
Ziver Koc 2016-05-26 16:54:54 +02:00
parent eee2af5799
commit fa4a5911e5

View file

@ -5,7 +5,7 @@
Morris.Line({
element: "chart",
data: [
{ x: (Date.now()-7*24*60*60*1000) },
{ x: (Date.now()-24*60*60*1000) },
{{#aggregation}}
{ x: {{.timestamp}}, data: {{.data}} },
{{/aggregation}}