var FR0000061780_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,15807000],[2009,10351000],[2010,16780000],[2011,16796000],[2012,14776000],[2013,19818000],[2014,19279000],[2015,17508000],[2016,270000],[2017,290000],[2018,17621000],[2019,17264000],[2020,14352000],[2021,14943000],[2022,20457000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2008,-3028000],[2009,-1594000],[2010,2220000],[2011,780000],[2012,328000],[2013,1890000],[2014,97000],[2015,526000],[2016,-80000],[2017,200000],[2018,1541000],[2019,486000],[2020,-499000],[2021,84000],[2022,798000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2008,-4533000],[2009,-1813000],[2010,2237000],[2011,380000],[2012,551000],[2013,704000],[2014,1471000],[2015,159000],[2016,-227000],[2017,300000],[2018,1225000],[2019,678000],[2020,-670000],[2021,37000],[2022,620000]], "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: 'FR0000061780_resus_an', data: FR0000061780_resus_an, height: "350", width: "100%" });