var FR0010193052_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": [[2010,-11.978902525611],[2011,2.4264828506309],[2012,-6.1100839140947],[2013,1.157211402766],[2014,-2.4928618493301],[2015,-363.82978723404],[2016,-935.13513513514],[2017,161.76470588235],[2018,165.02732240437],[2019,10.037462860096],[2020,7.6136418647432],[2021,13.724931463777],[2022,16.072017499579],[2023,12.349252291365]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,-10.951076850255],[2011,0.4669520262383],[2012,-7.1483430521974],[2013,-3.0012230689623],[2014,-2.8168240720404],[2015,-572.76595744681],[2016,-898.91891891892],[2017,248.52941176471],[2018,188.90710382514],[2019,11.626404857254],[2020,6.2835842571525],[2021,13.886077566301],[2022,10.703685007572],[2023,9.310178485287]], "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: 'FR0010193052_marges_an', data: FR0010193052_marges_an, height: "350", width: "100%" });