var FR0010120402_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,null],[2011,null],[2012,null],[2013,14000],[2014,800000],[2015,1531000],[2016,1889000],[2017,12600000],[2018,1929000],[2019,2783000],[2020,744000],[2021,1481000],[2022,1235000],[2023,1822000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2010,-2286000],[2011,-2084000],[2012,-3646000],[2013,-4547000],[2014,-4948000],[2015,-7241000],[2016,-7770000],[2017,-7100000],[2018,-6977000],[2019,-4708000],[2020,-4288000],[2021,-4534000],[2022,-6307000],[2023,-3153000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2010,-1915000],[2011,-1675000],[2012,3073000],[2013,4111000],[2014,-4623000],[2015,-6413000],[2016,-6806000],[2017,-6224000],[2018,-6144000],[2019,-3792000],[2020,-3905000],[2021,-3760000],[2022,-4964000],[2023,-3675000]], "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: 'FR0010120402_resus_an', data: FR0010120402_resus_an, height: "350", width: "100%" });