var FR0000038531_marges_an = {
"type": "bar",
"plot":{
"tooltip" : {
"text": "%v%",
"decimals": 1,
},
},
"title":{
"text": "Marges",
"font-size": "15px"
}, noData: {
text: 'Aucune Donnée',
backgroundColor: '#f2f2f2'
},
"series": [{
"legend-text": "Marge Opérationnelle",
"values": [[2008,6.5666568022643],[2009,5.1644005658035],[2010,6.7134158856126],[2011,3.0469644902635],[2012,-9.6839083006194],[2013,1.2094661160836],[2014,-3.4165679022437],[2015,2.6329199932054],[2016,-9.8691998106061],[2017,-5.9600938967136],[2018,-10.950528071151],[2019,-5.3416149068323],[2020,-1.990391214825],[2021,-10.655159536949],[2022,-9.6237562189055],[2023,-21.929824561404]],
"background-color": "rgb(0, 72, 145)",
},{
"legend-text": "Marge nette",
"values": [[2008,3.9920477740597],[2009,3.0130481221674],[2010,4.2902100294178],[2011,1.8980179804922],[2012,-9.722012991041],[2013,1.2597731989016],[2014,10.288528341984],[2015,2.4517298001246],[2016,-10.006806344697],[2017,-2.2206572769953],[2018,-11.284046692607],[2019,-3.4472049689441],[2020,-27.831159917639],[2021,2.8961453881582],[2022,8.271144278607],[2023,-41.191520467836]],
"background-color": "rgb(27, 139, 61)",
},
],
"plotarea" : {
"margin-right":"20",
"margin-left":"50",
"margin-bottom":"50",
"margin-top":"70",
"background-color-1": "white",
"background-color-2": "rgb(210,210,210)",
},
"legend": {
"layout":"1x2",
"x" : 0,
"y" : 33,
"item": { "font-size": "11px" } },
"scale-y" : {
"format":"%v%",
"guide": {"line-color": "rgb(127,127,127)",},
"item": { "font-size": "12px" } },
"scale-x" : {
"item": { "font-size": "12px" },
}
}
zingchart.render({
id: 'FR0000038531_marges_an',
data: FR0000038531_marges_an,
height: "350",
width: "100%"
});