var FR0014005DA7_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": [[2019,null],[2020,1.5729913001005],[2021,2.0488237011385],[2022,5.3888130968622],[2023,7.1199486850545]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2019,null],[2020,0.1146559844715],[2021,-0.5444899684911],[2022,2.4556616643929],[2023,2.7581783194355]], "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: 'FR0014005DA7_marges_an', data: FR0014005DA7_marges_an, height: "350", width: "100%" });