Having used C3 for many client projects using backend server side services I thought this was just another trivial project, turns out not.
Basically, the start of the layout first requests a number from the server, this number could be anything but likely to be anywhere from 1 to 20 (it also returns this many ID's). The number/count and ID's are stored and then used to do the number of AJAX requests on a regular basis (5 seconds), each request is to get data based on the ID's
The problem to solve is, how can I do multiple ajax requests (which varies at runtime) and then track each return?
I cant hardcode each "on complete" because there might be more or less than what is hardcoded.
Any ideas?