var FR0013429404_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": [[2017,null],[2018,-7.6957899502037],[2019,-10.753165963119],[2020,-12.364151834935],[2021,0.5619891008174],[2022,-3.2370270462128],[2023,-8.3411142234672]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2017,-14.588859416446],[2018,-9.0991398822997],[2019,-10.530993112642],[2020,-9.056544337691],[2021,1.2431880108992],[2022,-1.3487612692553],[2023,-14.651416122004]], "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: 'FR0013429404_marges_an', data: FR0013429404_marges_an, height: "350", width: "100%" });