functionrandomData() {
now= new Date(+now +oneDay);
value= value + Math.random() * 21 - 10;var valueName = now.getFullYear() + '/' + (now.getMonth() + 1) + '/' +now.getDate()+ ' ' + (now.getHours() >= 10 ? now.getHours() : '0' + now.getHours()) + ':'
+ (now.getMinutes() >= 10 ? now.getMinutes() : '0' +now.getMinutes())+ ':' + (now.getSeconds() >= 10 ? now.getSeconds() : '0' +now.getSeconds());return{
name: now.toString(),
value: [
valueName,
Math.round(value)
]
}
}var data =[];var now = +newDate();var oneDay = 1000;//var oneDay = 24 * 3600 * 1000;
var value = Math.random() * 1000;for (var i = 0; i < 60; i++) {
data.push(r