var FR0011040500_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,10.696489803548],[2009,9.12807735789],[2010,11.761290848811],[2011,13.501868866344],[2012,12.816512125535],[2013,11.436148940201],[2014,11.948851255782],[2015,9.6303037117198],[2016,2396.2264150943],[2017,9.2497790525105],[2018,3467.3913043478],[2019,4.7642701408845],[2020,5.9353909714232],[2021,6.0508215781585],[2022,-14.776248204795],[2023,14.913347712681]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.5938067727105],[2009,5.4769561733747],[2010,12.760710293109],[2011,9.8764522840677],[2012,10.993223965763],[2013,14.98452924709],[2014,10.12500477847],[2015,9.7873596334659],[2016,1484.7641509434],[2017,1.4687588587437],[2018,1194.8913043478],[2019,1.8018949066882],[2020,2.8516253187724],[2021,3.3633574740499],[2022,-12.751925765291],[2023,11.232193017657]], "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: 'FR0011040500_marges_an', data: FR0011040500_marges_an, height: "350", width: "100%" });