get value of the property '0' in pie chart - Javascript highcharts

Javascript examples for highcharts:Pie Chart

Description

get value of the property '0' in pie chart

Demo Code

ResultView the demo in separate window

<html>
   <head> 
      <title>Highcharts test tool</title> 
      <meta name="viewport" content="width=device-width, initial-scale=1"> 
      <script type="text/javascript" src="https://code.jquery.com/jquery-git.js"></script> 
      <script type="text/javascript">
    $(function(){//from  ww w .  j  ava2s . c o m
var chart = new Highcharts.Chart({
    chart: {
        renderTo: 'container',
        type: 'pie'
    },
    series: [{
        data: [29.9, 71.5, 106.4, 129.2,],
               showInLegend: true
    }]
});
    });

      </script> 
   </head> 
   <body> 
      <script src="https://github.highcharts.com/449db1c12f6071ef6eacd544a0e94adce8fa8725/highcharts.js"></script> 
      <div id="container" style="height: 300px"></div>  
   </body>
</html>

Related Tutorials