Sha256: 6f2db8c9e62b9baae4e346d8ca32aec96d10f88e8feb6861155f7681be2c8f46
Contents?: true
Size: 1.63 KB
Versions: 1
Compression:
Stored size: 1.63 KB
Contents
// 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);
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
radius-rails-3.1.4 | app/assets/javascripts/radius-theme/modules/chart-easypie.js |