score:0

Stupid error, in the code, just comment out this line,"setInterval(function() { main(); }, 250),then it will work.

score:0

You can also use Pondjs or Momentjs to do this, its much cleaner, but can be a little tedious. It deals with these points and auto plots them base don how to create the code based on chart implementation chart by using react-timeseries-charts. They both work well together with pond or moment.


Related Query

More Query from same tag