var NL0013654783_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,-44.523160762943],[2018,-26.704305662164],[2019,-15.749832751609],[2020,-17.807812085466],[2021,-20.328384884613],[2022,-12.510923333928],[2023,-23.209027755769]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2017,142.01634877384],[2018,498.69746966459],[2019,162.24568841466],[2020,114.83484063809],[2021,145.6020446909],[2022,272.83716366349],[2023,175.4032970068]], "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: 'NL0013654783_marges_an', data: NL0013654783_marges_an, height: "350", width: "100%" });