// Easypie chart // ----------------------------------- (function(window, document, $, undefined) { $(function() { if(! $.fn.easyPieChart ) return; var pieOptions1 = { animate: { duration: 800, enabled: true }, barColor: APP_COLORS['success'], trackColor: false, scaleColor: false, lineWidth: 10, lineCap: 'circle' }; $('#easypie1').easyPieChart(pieOptions1); var pieOptions2 = { animate: { duration: 800, enabled: true }, barColor: APP_COLORS['warning'], trackColor: false, scaleColor: false, lineWidth: 4, lineCap: 'circle' }; $('#easypie2').easyPieChart(pieOptions2); var pieOptions3 = { animate: { duration: 800, enabled: true }, barColor: APP_COLORS['danger'], trackColor: false, scaleColor: APP_COLORS['gray'], lineWidth: 15, lineCap: 'circle' }; $('#easypie3').easyPieChart(pieOptions3); var pieOptions4 = { animate: { duration: 800, enabled: true }, barColor: APP_COLORS['danger'], trackColor: APP_COLORS['yellow'], scaleColor: APP_COLORS['gray-dark'], lineWidth: 15, lineCap: 'circle' }; $('#easypie4').easyPieChart(pieOptions4); }); })(window, document, window.jQuery);