var FR0000066219_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,6.8814227770445],[2009,8.5036575771272],[2010,7.2845797305722],[2011,5.7122966997659],[2012,2.5761043873957],[2013,2.6531132002347],[2014,1129.7297297297],[2015,1552.7777777778],[2016,808.92857142857],[2017,-892.59259259259],[2018,-3.1571428571429],[2019,2.5000409753219],[2020,0.5450906522251],[2021,3.8751045441873],[2022,2.8420810245406],[2023,1.0296627152189]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.3163199324523],[2009,5.4079691100733],[2010,4.8620334480796],[2011,3.1036276564819],[2012,2.527446922244],[2013,2.6331816319525],[2014,1147.5675675676],[2015,1500.5555555556],[2016,906.42857142857],[2017,-608.88888888889],[2018,-1.4931677018634],[2019,2.3672809322705],[2020,-0.3584883447139],[2021,2.9530116616082],[2022,3.5951026647265],[2023,0.8106734539565]], "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: 'FR0000066219_marges_an', data: FR0000066219_marges_an, height: "350", width: "100%" });