var FR0000062234_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.6784453382138],[2009,2.8767649034116],[2010,3.4452992216275],[2011,3.3823674239479],[2012,3.9761635601835],[2013,5.5477907306242],[2014,6.1348982766712],[2015,178918.91891892],[2016,195333.33333333],[2017,431739.13043478],[2018,5.6457497263772],[2019,4.9607934693352],[2020,3.3609416389984],[2021,2.562145398596],[2022,5.9025241948355],[2023,5.505190817371]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,0.3264883669152],[2009,0.6729636536077],[2010,2.0533673506945],[2011,2.6127404760256],[2012,4.2414362035298],[2013,1.5254516334985],[2014,1.2903652926007],[2015,80297.297297297],[2016,76133.333333333],[2017,160478.26086957],[2018,0.5303069786835],[2019,0.4906854299837],[2020,1.2831269702382],[2021,19.617270891432],[2022,9.2087889765379],[2023,0.0891943266559]], "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: 'FR0000062234_marges_an', data: FR0000062234_marges_an, height: "350", width: "100%" });