var FR001400AJ45_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": [[2017,980000],[2018,22028000000],[2019,24135000000],[2020,20469000000],[2021,23795000000],[2022,28590000000],[2023,28343000000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2017,2742000000],[2018,2550000000],[2019,2691000000],[2020,1403000000],[2021,2777000000],[2022,3021000000],[2023,2652000000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2017,null],[2018,1677000000],[2019,1751000000],[2020,632000000],[2021,1844000000],[2022,2001000000],[2023,1983000000]], "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: 'FR001400AJ45_resus_an', data: FR001400AJ45_resus_an, height: "350", width: "100%" });