Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
255
setTimeout and dynamic loading of series
posted

If I load the data of the datachart in a method called by a setInterval or setTimeout it shows only one serie. I have got a simple code, that displays two series together from static data. I had put it into a method you could see here.

If I call the code directly from ig.loader() with a simple call, it shows both of the series.

If I place the call in a setTimeout or setInterval it displays only one.

$.ig.loader(function () {
 setTimeout(function () {
  allDone();
 }, 1);

});

Somebody please help me with this,