var FR0000063034_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": [[2010,13000],[2011,14000],[2012,13000],[2013,11000],[2014,35000],[2015,322000],[2016,550000],[2017,656000],[2018,340000],[2019,0],[2020,0],[2021,null],[2022,9360000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2010,-9000],[2011,-24000],[2012,-12000],[2013,-40000],[2014,910000],[2015,61000],[2016,161000],[2017,187000],[2018,2130000],[2019,-70000],[2020,-90000],[2021,-103000],[2022,null]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2010,34000],[2011,42000],[2012,111000],[2013,480000],[2014,659000],[2015,-281000],[2016,-499000],[2017,-25000],[2018,1620000],[2019,-60000],[2020,-90000],[2021,260000],[2022,null]], "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: 'FR0000063034_resus_an', data: FR0000063034_resus_an, height: "350", width: "100%" });