var FR0000065393_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,23069000],[2009,7380000],[2010,5332000],[2011,6424000],[2012,9233000],[2013,9069000],[2014,7015000],[2015,5422000],[2016,1440000],[2017,3950000],[2018,2487000],[2019,5770000],[2020,4560000],[2021,4120000],[2022,9070000],[2023,1410000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2008,4599000],[2009,700000],[2010,1350000],[2011,940000],[2012,1574000],[2013,817000],[2014,720000],[2015,764000],[2016,200000],[2017,320000],[2018,840000],[2019,588000],[2020,640000],[2021,170000],[2022,897000],[2023,-216000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2008,2752000],[2009,364000],[2010,793000],[2011,448000],[2012,734000],[2013,356000],[2014,241000],[2015,406000],[2016,732000],[2017,504000],[2018,554000],[2019,172000],[2020,200000],[2021,-50000],[2022,672000],[2023,-168000]], "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: 'FR0000065393_resus_an', data: FR0000065393_resus_an, height: "350", width: "100%" });