var FR0000077919_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.880590133702],[2009,6.4095883272538],[2010,11.872340425532],[2011,13.276492082826],[2012,10.331681280976],[2013,8.1838565022422],[2014,9.3473005640612],[2015,9.6220298528731],[2016,8.4820978315683],[2017,10.31135689392],[2018,7.4935562959703],[2019,13.206789769469],[2020,-22.659300885799],[2021,2.7195242814668],[2022,8.5686402081978],[2023,11.229102824722]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,0.8759797141540],[2009,1.2506513809276],[2010,7.3617021276596],[2011,8.6479902557856],[2012,6.2142584826534],[2013,3.4005979073244],[2014,7.8162771958098],[2015,8.3324427344947],[2016,7.5542107917297],[2017,5.5790777384141],[2018,6.9120512981706],[2019,7.6126849409336],[2020,-28.793218401753],[2021,-0.5748265609514],[2022,4.2973324658426],[2023,6.3472799538821]], "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: 'FR0000077919_marges_an', data: FR0000077919_marges_an, height: "350", width: "100%" });