samarthagarwal
2/8/2018 - 12:19 PM

ACWA-10

ACWA-10

var index = 0;
setInterval(() => {
  myChart.series[0].addPoint(Math.floor(Math.random() * 10 + 1), false, true);
  myChart.series[1].addPoint(Math.floor(Math.random() * 10 + 1), true, true);
  index++;
}, 2000);