var FR001400BMH7_actif = { "type": "bar", "plot":{ "stacked":true, "stack-type":"normal", "bar-width":"50%", "tooltip" : { "short": true, "decimals": 0, }, }, "title":{ "text": "Actif du bilan", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "series": [{ "legend-text": "Ecart d'acquisition", "values": [[2020,82200000],[2021,81900000],[2023,272100000]], "background-color": "rgb(176, 0, 0)" }, { "legend-text": "Immobilisations\nincorporelles", "values":[[2020,73300000],[2021,80200000],[2023,129100000]], "background-color": "rgb(255, 0, 0)" }, { "legend-text": "Immobilisations\ncorporelles", "values":[[2020,103100000],[2021,101400000],[2023,124900000]], "background-color": "rgb(255, 128, 128)", }, { "legend-text": "Stocks", "values":[[2020,136200000],[2021,135800000],[2023,169700000]], "background-color": "rgb(255, 215, 0)" }, { "legend-text": "Créances clients", "values":[[2020,180400000],[2021,158500000],[2023,143400000]], "background-color": "rgb(0, 144, 144)" }, { "legend-text": "Disponibilités", "values":[[2020,102800000],[2021,57000000],[2023,22800000]], "background-color": "rgb(0, 208, 0)" }, { "legend-text": "Autres actifs", "values":[[2020,323000],[2021,317500000],[2023,314300000]], "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":"7x1", "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: 'FR001400BMH7_actif', data: FR001400BMH7_actif, height: "350", width: "100%" });