var FR001400Q9V2_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": [[2022,139644000],[2023,174344000]], "background-color": "rgb(176, 0, 0)" }, { "legend-text": "Immobilisations\nincorporelles", "values":[[2022,181087000],[2023,202351000]], "background-color": "rgb(255, 0, 0)" }, { "legend-text": "Immobilisations\ncorporelles", "values":[[2022,51122000],[2023,72051000]], "background-color": "rgb(255, 128, 128)", }, { "legend-text": "Stocks", "values":[[2022,55661000],[2023,78544000]], "background-color": "rgb(255, 215, 0)" }, { "legend-text": "Créances clients", "values":[[2022,32683000],[2023,69189000]], "background-color": "rgb(0, 144, 144)" }, { "legend-text": "Disponibilités", "values":[[2022,28955000],[2023,15458000]], "background-color": "rgb(0, 208, 0)" }, { "legend-text": "Autres actifs", "values":[[2022,39814000],[2023,43731000]], "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: 'FR001400Q9V2_actif', data: FR001400Q9V2_actif, height: "350", width: "100%" });