var FR001400N1P4_passif = { "type": "bar", "plot":{ "stacked":true, "stack-type":"normal", "bar-width":"50%", "tooltip" : { "short": true, "decimals": 0, }, }, "title":{ "text": "Passif du bilan", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "series": [{ "legend-text": "Capitaux propres", "values": [[2018,-26345000],[2019,-7246000],[2020,-12519000],[2021,-17857000],[2022,-32697000]], "background-color": "rgb(0, 144, 0)" }, { "legend-text": "Dette financière", "values":[[2018,47434000],[2019,24022000],[2020,21235000],[2021,22204000],[2022,22752000]], "background-color": "rgb(208, 0, 0)" }, { "legend-text": "Provisions", "values":[[2018,547000],[2019,603000],[2020,1235000],[2021,1803000],[2022,611000]], "background-color": "rgb(0, 0, 0)" }, { "legend-text": "Dette fournisseurs", "values":[[2018,6901000],[2019,3710000],[2020,8430000],[2021,5528000],[2022,6087000]], "background-color": "rgb(0, 144, 144)" }, { "legend-text": "Autres passifs", "values":[[2018,2461000],[2019,2083000],[2020,null],[2021,null],[2022,null]], "background-color": "rgb(192, 96, 0)" }, ], "plotarea" : { "margin-right":"5", "margin-left":"180", "margin-bottom":"50", "margin-top":"40", "background-color-1": "white", "background-color-2": "rgb(210,210,210)", }, "legend": { "layout":"5x1", "x" : "0", "y": "35", "item": { "font-size": "11px" } }, "scale-y" : { "short": true, "guide": {"line-color": "rgb(127,127,127)",}, "item": { "font-size": "12px" }, }, "scale-x" : { "item": { "font-size": "12px" }, } } zingchart.render({ id: 'FR001400N1P4_passif', data: FR001400N1P4_passif, height: "350", width: "100%" });