var FR0000065864_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": [[2004,null],[2005,null],[2006,4.1518135360838],[2007,3.9677883846195],[2008,3.9775341724185],[2009,2.8499653499654],[2010,4.9364362625912],[2011,7.5294762103506],[2012,8.7549689934807],[2013,8.7315983426575],[2014,6.0216219050699],[2015,4.0208162147357],[2016,6.0539249796738],[2017,1112.3595505618],[2018,5.7200559461612],[2019,4.7677486322254],[2020,-10.765367486916],[2021,3.4038334434898],[2022,3.4914658820565],[2023,4.6500631581792]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2004,null],[2005,null],[2006,4.1518135360838],[2007,3.9677883846195],[2008,3.9775341724185],[2009,2.1685146685147],[2010,3.4525877040639],[2011,4.7331489983306],[2012,6.2087242274871],[2013,5.7758768831268],[2014,4.3575917008242],[2015,1.7341628516649],[2016,4.3076990690213],[2017,619.10112359551],[2018,2.2579168208531],[2019,2.6814869277512],[2020,-11.630042583623],[2021,2.1860541969597],[2022,1.4652150390205],[2023,2.0940144959842]], "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: 'FR0000065864_marges_an', data: FR0000065864_marges_an, height: "350", width: "100%" });