var FR0000062341_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,3734000],[2009,3418000],[2010,3208000],[2011,3362000],[2012,3578000],[2013,3136000],[2014,2913000],[2015,2853000],[2016,3038000],[2017,1595000],[2018,3350000],[2019,2892000],[2020,2432000],[2021,2970000],[2022,1497000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2008,38000],[2009,4000],[2010,43000],[2011,-418000],[2012,-74000],[2013,-372000],[2014,-311000],[2015,-355000],[2016,-321000],[2017,-356000],[2018,220000],[2019,8000],[2020,-36000],[2021,378000],[2022,-578000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2008,186000],[2009,123000],[2010,133000],[2011,199000],[2012,101000],[2013,-183000],[2014,-381000],[2015,-418000],[2016,-423000],[2017,-182000],[2018,190000],[2019,69000],[2020,-65000],[2021,392000],[2022,13232000]], "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: 'FR0000062341_resus_an', data: FR0000062341_resus_an, height: "350", width: "100%" });