var FR0000032526_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,12.41025864837],[2009,8.8601671043493],[2010,2.3475589867803],[2011,5.9642594366838],[2012,7.8407415209606],[2013,7.6789838337182],[2014,9.4767909584626],[2015,11.476087392427],[2016,7.0373678898338],[2017,6439.0243902439],[2018,8.8547141471273],[2019,6.4230387288977],[2020,5.8784632771534],[2021,5.2843235150689],[2022,-2.4108061464936],[2023,4.9255441008018]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,7.6029590096732],[2009,6.1091752389866],[2010,1.6677113497968],[2011,3.8183435053489],[2012,5.0555768968637],[2013,5.2576340774955],[2014,6.3886912315965],[2015,8.1685893055175],[2016,3.7291836658404],[2017,3757.6422764228],[2018,5.9294429345417],[2019,4.6335650446872],[2020,2.5607367733874],[2021,4.4581741388472],[2022,-5.4582987620723],[2023,2.8255059182894]], "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: 'FR0000032526_marges_an', data: FR0000032526_marges_an, height: "350", width: "100%" });