title: DOJO onclick on a pie chart slice for drill down
body: <p>I tried to find several places how this work but could not. </p>
  
  <p>The requirement is to drill down by clicking on the slice of the pie to next level. I can get the onclick even but not sure how to get the value from the chart. Everywhere it is pointing to <a href="http://www.sitepen.com/blog/2008/05/27/dojo-charting-event-support-has-landed/" rel="nofollow">http://www.sitepen.com/blog/2008/05/27/dojo-charting-event-support-has-landed/</a> but nowhere any live demo is given. Till now i have managed to get the onclick.</p>
  
  <pre><code>chart.addSeries("Monthly Sales - 2010", chartData);
  var h = chart.connectToPlot("default", function(o){ 
  if(o.type == "onclick"){
  alert("clicked!"); 
    } 
  }); 
  </code></pre>