1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
| <body>
<script src="http://code.highcharts.com/highcharts.js"></script>
<div id="container" style="width:100%; max-width: 800px; height:300px; margin:Auto">
<script>
var myChart2 = Highcharts.chart('container', {
chart: {
type: 'line'
},
title: {
text: 'Cout d\'une nounou'
},
xAxis: {
categories: '',
title: {
text: 'Heures'
}
},
yAxis: {
title: {
text: 'Euros'
}
},
plotOptions: {
series: {
marker: {
enabled: false
}
}
},
series: [{
name: 'Mode 1',
color: 'blue',
data: [21,42,63,84,105,126,147,168,189,210,231,252,273,294,315,50.4,53.55,56.7,59.85,63,66.15,69.3,72.45,75.6,78.75,81.9,85.05,88.2,91.35,94.5,97.65,100.8,103.95,107.1,110.25,113.4,116.55,119.7,122.85,126,131.53,152.53,173.53,194.53,215.53,236.53,257.53,278.53,299.53,320.53,341.53,362.53,383.53,404.53,425.53,446.53,467.53,488.53,509.53,530.53,551.53,572.53,593.53,614.53,635.53,656.53,677.53,698.53,719.53,740.53,761.53,782.53,803.53,824.53,845.53,866.53,887.53,908.53,929.53,950.53,971.53,992.53,1013.53,1034.53,1055.53,1076.53,1097.53,1118.53,1139.53,1160.53,1181.53,1202.53,1223.53,1244.53,1265.53,1286.53,1307.53,1328.53,1349.53,1370.53]
}, {
name: 'Mode 2',
color : 'grey',
data: [16.7,33.4,50.1,66.8,83.5,100.2,116.9,133.6,150.3,167,183.7,200.4,217.1,233.8,250.5,40.08,42.585,45.09,47.595,50.1,58.88,75.58,92.28,108.98,125.68,142.38,159.08,175.78,192.48,209.18,225.88,242.58,259.28,275.98,292.68,309.38,326.08,342.78,359.48,376.18,392.88,409.58,426.28,442.98,459.68,476.38,493.08,509.78,526.48,543.18,559.88,576.58,593.28,609.98,626.68,643.38,660.08,676.78,693.48,710.18,726.88,743.58,760.28,776.98,793.68,810.38,827.08,843.78,860.48,877.18,893.88,910.58,927.28,943.98,960.68,977.38,994.08,1010.78,1027.48,1044.18,1060.88,1077.58,1094.28,1110.98,1127.68,1144.38,1161.08,1177.78,1194.48,1211.18,1227.88,1244.58,1261.28,1277.98,1294.68,1311.38,1328.08,1344.78,1361.48,1378.18]
}]
});
</script>
</div>
</body> |
Partager