title: g.raphael.js gradient effect on pie chart
body: <p>I user raphael.js to draw my images/graphs on my website, and I'm having trouble implementing a gradient effect on my pie chart.</p>
  
  <p>I call it that way :</p>
  
  <pre><code>&lt;script type="text/javascript" charset="utf-8"&gt;
                  window.onload = function () {
                      var r = Raphael("holder");
                      var pie = r.g.piechart(250, 240, 180, &lt;?php echo $vals; ?&gt;,{colors: ["#fff", "#cc3333", "#f200fd"]});
                  };
              &lt;/script&gt;
  </code></pre>
  
  <p>I've read on the documentation that gradients effects are possible, like it is shown in some examples.</p>
  
  <p>I tried : {colors: ["r#fff-#ccc","r#fff-#ccc","r#fff-#ccc"]} or {gradients : ["r#fff-#ccc","r#fff-#ccc","r#fff-#ccc"} but in vain..</p>
  
  <p>Anyone tried it?</p>
  
  <p>Thx a lot!</p>