var FR0011466069_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": [[2011,-34.014209591474],[2012,-45.691598862857],[2013,-6.7730825999016],[2014,-31.700546983427],[2015,-28.512042230287],[2016,-15.28266608007],[2017,-203.79310344828],[2018,-2.5515898458835],[2019,2.1245867967521],[2020,3.5765086206897],[2021,3.2635878223759],[2022,6.8854462963398],[2023,2.8149376050567]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2011,-32.652457075192],[2012,-46.034702480149],[2013,-6.8878806100694],[2014,-28.214548126378],[2015,-25.503134279116],[2016,-15.722613286406],[2017,-222.96551724138],[2018,-2.4672888318967],[2019,1.7362559774062],[2020,3.4191810344828],[2021,4.9900064692421],[2022,9.4203750284053],[2023,2.8102899370241]], "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: 'FR0011466069_marges_an', data: FR0011466069_marges_an, height: "350", width: "100%" });