var FR0013421286_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": [[2015,-31.420197826352],[2016,-3.3605569688044],[2017,null],[2018,-155.63101301641],[2019,-71.507515473033],[2020,-97.146023829316],[2021,-31.885098743268],[2022,-40.688468158348],[2023,-85.216426193119]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2015,-26.73098058371],[2016,-1.5263087428036],[2017,null],[2018,-151.41482739106],[2019,-74.049513704686],[2020,-106.56691604323],[2021,-35.511669658887],[2022,-46.144578313253],[2023,-105.0166481687]], "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: 'FR0013421286_marges_an', data: FR0013421286_marges_an, height: "350", width: "100%" });