Hi again @shashiranjan,
You can check a online version here http://jobbigt.nu/statistik
I have disabled referrer on the endpoints so you can load them in Postman if you want, I have also kept my console log in the code for the object I’m attaching to CanvasJS. It’s clear that it’s been added 6 times for my 6 datasets, i.e. the loop is not reset, witch makes sense I’m just not sure how to to do it another way.