Javascript examples for Chart.js:Pie Chart
Create easy pie chart with number inside
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.11.0.js"></script> <script type="text/javascript" src="http://rendro.github.io/easy-pie-chart/javascripts/jquery.easy-pie-chart.js"></script> <link rel="stylesheet" type="text/css" href="http://getbootstrap.com/dist/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="http://rendro.github.io/easy-pie-chart/stylesheets/jquery.easy-pie-chart.css"> <style id="compiled-css" type="text/css"> .easychart {/*from ww w.j a v a 2s. co m*/ position: relative; text-align: center; margin:10px; } </style> <script type="text/javascript"> $(window).load(function(){ $(function() { $('.chart').easyPieChart({ size: 140, lineWidth: 5 }); }); }); </script> </head> <body> <div class="chart" data-percent="73" data-scale-color="#ffb400"> 73% </div> </body> </html>