var FR0000054132_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,-1.3477235427739],[2009,3.3266963177493],[2010,5.1930237115422],[2011,4.0414636748338],[2012,7.4212305832775],[2013,5.9398630637352],[2014,5.1498479526199],[2015,4250],[2016,3325],[2017,3127.6595744681],[2018,5.3175285476667],[2019,6.6642082429501],[2020,22.24881866326],[2021,6.6764188939762],[2022,4.2546560771726],[2023,5.2213707028684]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-4.5420457139131],[2009,-0.789977244518],[2010,1.7207431669513],[2011,0.6605383876818],[2012,2.984172614867],[2013,2.4092078369199],[2014,2.948507895626],[2015,2200],[2016,1721.5],[2017,1992.5531914894],[2018,2.6940400321453],[2019,3.7002169197397],[2020,18.730646954983],[2021,4.4424976721378],[2022,1.9525678244631],[2023,1.5117144733961]], "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: 'FR0000054132_marges_an', data: FR0000054132_marges_an, height: "350", width: "100%" });