var FR0000120404_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": [[2008,7739000000],[2009,7065000000],[2010,5948000000],[2011,6100000000],[2012,5649000000],[2013,5536000000],[2014,5454000000],[2015,5581000000],[2016,1603000000],[2017,6400000],[2018,3282000000],[2019,4049000000],[2020,1621000000],[2021,2204000000],[2022,4224000000],[2023,5056000000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2008,951000000],[2009,594000000],[2010,100000000],[2011,530000000],[2012,1345000000],[2013,349000000],[2014,443000000],[2015,470000000],[2016,279000000],[2017,599000000],[2018,153000000],[2019,678000000],[2020,-2201000000],[2021,53000000],[2022,543000000],[2023,779000000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2008,575000000],[2009,-282000000],[2010,3600000000],[2011,27000000],[2012,-584000000],[2013,126000000],[2014,223000000],[2015,244000000],[2016,265000000],[2017,441000000],[2018,2233000000],[2019,464000000],[2020,-1988000000],[2021,85000000],[2022,402000000],[2023,633000000]], "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: 'FR0000120404_resus_an', data: FR0000120404_resus_an, height: "350", width: "100%" });