var FR00140048X2_resus_an = { "type": "bar", "plot":{ "tooltip" : { "short": true, "decimals": 1, }, }, "title":{ "text": "Compte de résultats", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "series": [{ "legend-text": "Chiffre d'affaires", "values": [[2019,null],[2020,385000],[2021,365000],[2022,617000],[2023,449000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2019,null],[2020,205000],[2021,-564000],[2022,-2435000],[2023,-2194000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2019,null],[2020,-1572000],[2021,-571000],[2022,-2448000],[2023,-2268000]], "background-color": "rgb(27, 139, 61)", }, ], "plotarea" : { "margin-right":"20", "margin-left":"50", "margin-bottom":"50", "margin-top":"70", "background-color-1": "white", "background-color-2": "rgb(210,210,210)", }, "legend": { "layout":"1x3", "y": 30, "x": 0, "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_resus_an', data: FR00140048X2_resus_an, height: "350", width: "100%" });