var FR00140048X2_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": [[2019,6088000],[2020,5699000],[2021,20014000],[2022,17671000],[2023,15733000]], "background-color": "rgb(0, 144, 0)" }, { "legend-text": "Dette financière", "values":[[2019,287000],[2020,196000],[2021,274000],[2022,2506000],[2023,3428000]], "background-color": "rgb(208, 0, 0)" }, { "legend-text": "Provisions", "values":[[2019,null],[2020,null],[2021,45000],[2022,null],[2023,null]], "background-color": "rgb(0, 0, 0)" }, { "legend-text": "Dette fournisseurs", "values":[[2019,null],[2020,965000],[2021,977000],[2022,1082000],[2023,1288000]], "background-color": "rgb(0, 144, 144)" }, { "legend-text": "Autres passifs", "values":[[2019,1756000],[2020,1224000],[2021,1208000],[2022,455000],[2023,403000]], "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: 'FR00140048X2_passif', data: FR00140048X2_passif, height: "350", width: "100%" });