var FR0000065393_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,19.935844639993],[2009,9.4850948509485],[2010,25.318829707427],[2011,14.632627646326],[2012,17.047546842846],[2013,9.0087109934943],[2014,10.263720598717],[2015,14.090741423829],[2016,13.888888888889],[2017,8.1012658227848],[2018,33.775633293124],[2019,10.190641247834],[2020,14.035087719298],[2021,4.126213592233],[2022,9.8897464167585],[2023,-15.31914893617]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,11.929429103992],[2009,4.9322493224932],[2010,14.872468117029],[2011,6.9738480697385],[2012,7.9497454781761],[2013,3.9254603594663],[2014,3.4354953670706],[2015,7.4880118037624],[2016,50.833333333333],[2017,12.759493670886],[2018,22.275834338561],[2019,2.9809358752166],[2020,4.3859649122807],[2021,-1.2135922330097],[2022,7.4090407938258],[2023,-11.914893617021]], "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: 'FR0000065393_marges_an', data: FR0000065393_marges_an, height: "350", width: "100%" });