var FR0000033888_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,201271000],[2009,160620000],[2010,189628000],[2011,220784000],[2012,202074000],[2013,213282000],[2014,211803000],[2015,206870000],[2016,610000],[2017,1820000],[2018,94225000],[2019,103730000],[2020,89529000],[2021,101267000],[2022,135386000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2008,5096000],[2009,-2006000],[2010,13297000],[2011,20274000],[2012,-12113000],[2013,6543000],[2014,73011000],[2015,3249000],[2016,22400000],[2017,25400000],[2018,7342000],[2019,8406000],[2020,3337000],[2021,7060000],[2022,11867000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2008,4347000],[2009,-1729000],[2010,8907000],[2011,13719000],[2012,-7891000],[2013,5689000],[2014,66893000],[2015,-2430000],[2016,14621000],[2017,1830000],[2018,5981000],[2019,8654000],[2020,976000],[2021,7237000],[2022,8048000]], "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: 'FR0000033888_resus_an', data: FR0000033888_resus_an, height: "350", width: "100%" });