Is there a way to stop the setInterval function without causing the graph to disappear? I've noticed that when the setInterval stops, the last 7 points plotted on the graph disappear. How can I prevent this from happening? Any suggestions would be greatly appreciated. Thank you!
`
var graphingID = setInterval(function(){
if (itertn == char.length){
clearInterval(graphingID);
}
itertn++;
//Add two random numbers for each dataset
myLiveChart.addData([char[itertn], char[itertn]], ++latestLabel);
// Remove the first point so we dont just add values forever
//updateDaw();
myLiveChart.removeData(2);
}, 50);
`