idx = ((new Date()).getTime()/1000)|0; var data = [ { label: 'Layer 1', values: [ {time: idx, y: 3}/*,{time: idx+1, y: 2}*/] }, { label: 'Layer 2', values: [ {time: idx, y: 1}/*{time: idx+1, y: 3}*/] }, { label: 'Layer 3', values: [ {time: idx, y: 10}/*{time: idx+1, y: 3}*/] } ]; var areaChartInstance = $('#area').epoch({ type: 'time.line', data: data, axes: ['left', 'right', 'bottom'] }); var idx