var FR001400A3Q3_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,1000],[2019,814000],[2020,2297000],[2021,6009000],[2022,29070000],[2023,31687000]], "background-color": "rgb(0, 144, 0)" }, { "legend-text": "Dette financière", "values":[[2018,25040000],[2019,23248000],[2020,25909000],[2021,38223000],[2022,43595000],[2023,59502000]], "background-color": "rgb(208, 0, 0)" }, { "legend-text": "Provisions", "values":[[2018,372000],[2019,471000],[2020,494000],[2021,662000],[2022,456000],[2023,483000]], "background-color": "rgb(0, 0, 0)" }, { "legend-text": "Dette fournisseurs", "values":[[2018,30836000],[2019,34326000],[2020,35467000],[2021,53238000],[2022,43968000],[2023,41095000]], "background-color": "rgb(0, 144, 144)" }, { "legend-text": "Autres passifs", "values":[[2018,3000],[2019,4108000],[2020,6745000],[2021,10589000],[2022,27652000],[2023,18076000]], "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: 'FR001400A3Q3_passif', data: FR001400A3Q3_passif, height: "350", width: "100%" });