title: Highcharts add series dynamically
body: <p>I want to add some series (I get the series data from a webservice as a 3dim array (and returning it as json) - I dont know the number of series I will get, so I have to load the series data dynamically).  </p>
  
  <p>In javascript I am building an object: (like this highstock example: <a href="http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/stock/demo/compare/" rel="nofollow">http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/stock/demo/compare/</a>)</p>
  
  <pre><code>seriesOptions[i] = {
      name: namearray[i],
      data: dataarray
  };
  
  e.g. result: [Object { name="Series", data=[[1041375600000, 29,9]]}]
  </code></pre>
  
  <p>I was trying to add the series like this:</p>
  
  <pre><code>$.each(seriesOptions, function (itemNo, item) {
      chart.addSeries({                        
          name: item.name,
          data: item.data
      }, false);
  });
  chart.redraw();
  </code></pre>
  
  <p>But the chart draws the series kinda weird and doesnt convert to timestamp to date.<br>
  Are there any problems with my chart data from the webservice?  </p>
  
  <p>Here is my code: <a href="http://jsfiddle.net/DGdaf/2/" rel="nofollow">http://jsfiddle.net/DGdaf/2/</a></p>
  
  <p>Thanks for any help so far.  </p>
  
  <p><strong>EDIT</strong><br>
  It seems like the chart ignoeres all the default values of timeline/zoom value.
  I have no idea why it doesnt display these components.<br>
  The problem could be, that I am drawing the chart after the initialization?</p>
  
  <pre><code>chart = new Highcharts.Chart(options);
  </code></pre>
  
  <p>But I have to do it cause of the dynamic series loading.</p>
  
  <p><strong>EDIT2</strong><br>
  I am not sure if I am loading too much data or something. I cant create my series dynamically.  </p>
  
  <pre><code>for(i=0; i&lt;seriesOptions.length; i++){
          chart.addSeries({                        
              name: seriesOptions[i].name,
              data: seriesOptions[i].data
          }, true);
  
      };
  </code></pre>