var GB00B5ZN1N88_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": [[2016,null],[2017,440.38150631236],[2018,394.15517434351],[2019,172.55499147297],[2020,347.69529090513],[2021,819.96381089424],[2022,-253.2136761184],[2023,-24.032015799282]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2016,null],[2017,349.10267295137],[2018,356.93668458451],[2019,198.35854598282],[2020,330.53058985141],[2021,743.59019296757],[2022,-288.49028143483],[2023,-33.77838354056]], "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: 'GB00B5ZN1N88_marges_an', data: GB00B5ZN1N88_marges_an, height: "350", width: "100%" });