Skip to content

Instantly share code, notes, and snippets.

@samarthagarwal
Created February 8, 2018 12:19
Show Gist options
  • Select an option

  • Save samarthagarwal/e1ff9e0c7c883f096cc2a57b3ae28d62 to your computer and use it in GitHub Desktop.

Select an option

Save samarthagarwal/e1ff9e0c7c883f096cc2a57b3ae28d62 to your computer and use it in GitHub Desktop.
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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment