%PDF- %PDF-
Direktori : /var/www/pjc/public/js/ |
Current File : /var/www/pjc/public/js/demo_charts_morris.js |
var morrisCharts = function() { Morris.Line({ element: 'morris-line-example', data: [ { y: '1', a: 10, b: 8 }, { y: '2', a: 5, b: 2 }, { y: '3', a: 15, b: 5 }, { y: '4', a: 10, b: 5 }, ], xkey: 'y', ykeys: ['a', 'b'], labels: ['Termico', 'Sicurezza'], resize: true, lineColors: ['#33414E', '#95B75D'] }); Morris.Donut({ element: 'morris-donut-example', data: [ {label: "Ore Sicurezza", value: 20}, {label: "Ore Termico", value: 40}, {label: "Restanti", value: 40} ], colors: ['#95B75D', '#3FBAE4', 'red'] }); }();