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, 

Parents
No Data
Reply
  • 255
    posted

    Is there anything I can add to describe my problem more precisely?

    I'd like to draw a chart with at least two series, called by a setTimeout or setInterval method. Everything is in the called function as you can see on pastebin.

Children