title: raphaeljs pie dynamic value array change
body: <p>I use Raphael js pie chart plugin </p>
  
  <p><a href="http://raphaeljs.com/pie.html" rel="nofollow">http://raphaeljs.com/pie.html</a></p>
  
  <p>i need to refresh the chart values array in every 5 second(need to redraw the pie) - my problem is the following code creates also new pie chart, not just update the exisiting with new values - short: i can't get to pass only the "value" array.</p>
  
  <pre><code> var labels = [],
       values = [60,0],
       i=60,
       j=0
   window.setInterval(function(){
          i--;
          j=j+1;
          if(j&gt;60){
              i=60;
              j=0
          }
  
          values = [i,j];
  
         Raphael("holder", 700, 700).pieChart(350, 350, 250, values, labels, "#fff");
  
   }, 5000);
  </code></pre>
  
  <p>I need just to update with new values the pie not to create new one also.</p>
  
  <p>Thanks!</p>