var FR0000120107_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": [[2010,null],[2011,2.7107264054497],[2012,3.233016983017],[2013,3.0286680939153],[2014,2.1077639724588],[2015,2.6710023947213],[2016,4.0963832516175],[2017,66521.739130435],[2018,2.3828487699545],[2019,2.7451767525464],[2020,3.0309801008725],[2021,3.0842265228723],[2022,2.4861949293078],[2023,2.4930054483876]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,1.0954984916267],[2012,1.5563847916789],[2013,1.1093015890014],[2014,0.8480286178184],[2015,1.2836984924985],[2016,2.3649946213087],[2017,40429.565217391],[2018,1.1274980077633],[2019,1.4699820251648],[2020,1.5272527569207],[2021,1.4783033991407],[2022,1.0386773997377],[2023,1.4209983802091]], "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: 'FR0000120107_marges_an', data: FR0000120107_marges_an, height: "350", width: "100%" });