Javascript examples for highcharts:Pie Chart
pie chart hide zero sector
<html> <head> <title>Highcharts Demo</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript"> $(function() {/* w ww. java 2s .c o m*/ // Build the chart $('#container').highcharts({ chart: { backgroundColor: 'transparent', plotBorderWidth: 0, plotShadow: false }, credits: { enabled: false }, title: { text: '' }, tooltip: { enabled: false }, plotOptions: { pie: { borderWidth: 0, dataLabels: { enabled: false }, size: '100%', center: ['50%', '50%'] }, series: { states: { hover: { enabled: false } } } }, series: [{ type: 'pie', name: '', innerSize: '79%', borderWidth: 0, data: [{name: "perf", y: 75.61, color: "#ff00ff"}] }] }); }); </script> </head> <body> <script src="https://code.highcharts.com/4.0/highcharts.js"></script> <div id="container" style="height: 400px; width: 500"></div> </body> </html>