1 2 3 4 5 6 7 8 9 10 11 12 13
| $('#$nomdiv').gchart({usePost: true, width: $width, height: $height,
type: 'line', maxValue: 100.000,
title: '$nomdiv', titleColor: '$titleColor',
backgroundColor: $.gchart.gradient('horizontal', '$val1bg', '$val2bg'),
series: [$.gchart.series('Marge brut regie', [$mb_regie_graph], 'red'),
$.gchart.series('Marge brut web', [$mb_web_graph], 'green'),
$.gchart.series('Marge brut studio', [$mb_studio_graph], 'blue'),
$.gchart.series('Marge net studio', [$mn_studio_graph], 'yellow'),
$.gchart.series('Marge net web', [$mn_web_graph], 'orange'),
$.gchart.series('Marge net regie', [$nm_regie_graph], 'black')
],
axes: [$.gchart.axis('bottom', ['Oct', 'Nov','Dec','Jan', 'Fev', 'Mar', 'Avr', 'Mai', 'Juin', 'Juil', 'Aout', 'Sept'], 'black'), $.gchart.axis('left', 0, 100, 'red', 'right'), ],
legend: 'right' }); |
Partager