var FR0000121220_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": [[2009,5.0813977249506],[2010,5.0537493445202],[2011,5.3156353212438],[2012,5.3959201579294],[2013,4.4246344512692],[2014,5.178730017762],[2015,5.7330305324249],[2016,5.3791059520869],[2017,5.7203594550198],[2018,176250],[2019,4.8146123713219],[2020,0.3364215102738],[2021,1.9451457424834],[2022,4.0073039530178],[2023,3.7416618809913]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,2.6769293644847],[2010,2.6809124278972],[2011,2.8104941733657],[2012,2.8789208159684],[2013,2.3862586291243],[2014,2.7198046181172],[2015,3.5326772646985],[2016,3.1464559150408],[2017,3.493091119915],[2018,101718.75],[2019,3.0290607634144],[2020,-1.6303503959422],[2021,0.7975671333486],[2022,3.4298968563391],[2023,3.5075319167734]], "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: 'FR0000121220_marges_an', data: FR0000121220_marges_an, height: "350", width: "100%" });