Home › forums › Using CanvasJS › How to draw an array value and repeat at the end, running real time chart › Reply To: How to draw an array value and repeat at the end, running real time chart
Cause I’ve been WOW for a little while, and after getting back to work, sorry but I have to ask you more & more…
1. what different in for() function between j < count and j < yVal.length, changing two type this condition get two different results
2. if I set time = (new Date()).getTime(); and than take time++ for seeking x Axis by time, is it the same as time.setSeconds(time.getSeconds() + 1); in your code ?
3. whats yVal[updateCount % yVal.length] mean ? Sorry I can’t get it 🙂