title: push items in array of array in jQuery
body: <p>I am a beginner in using jQuery Float Chart. Now I try to bind the chat with server side values. I need to build an array structure like below.</p>
  
  <pre><code>data = [{
      label: 'Test 1',
      data: [
          [1325376000000, 1200],
          [1328054400000, 700], 
          [1330560000000, 1000], 
          [1333238400000, 600], 
          [1335830400000, 350]
      ]
  },];
  </code></pre>
  
  <p>My Server Response </p>
  
  <p><img src="https://i.stack.imgur.com/zmMX9.png" alt="enter image description here"></p>
  
  <p>My question is how to push items in this array of array. I already try to build an array like this:</p>
  
  <pre><code>    var data = new Array();
      var chartOptions;
  
  $.each(graphdata, function (key, value) {
      data.push({
          label: value.label,
          data: $.each(value.data, function (key, value) {
              Array(value.X, value.Y);
          })
      })
  });
  </code></pre>
  
  <p><strong>Edits</strong></p>
  
  <p>Graph shows in webpage</p>
  
  <p><img src="https://i.stack.imgur.com/5WnnP.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/FXEoL.png" alt="enter image description here"></p>
  
  <p>But it's not working.</p>