var FR0000072993_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,23255000],[2011,22877000],[2012,20508000],[2013,19389000],[2014,21852000],[2015,21884000],[2016,19495000],[2017,990000],[2018,17800000],[2019,13946000],[2020,9800000],[2021,9730000],[2022,9290000],[2023,23171000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2010,886000],[2011,937000],[2012,280000],[2013,492000],[2014,352000],[2015,479000],[2016,-1004000],[2017,-690000],[2018,-1022000],[2019,-8991000],[2020,-2700000],[2021,1000],[2022,-1380000],[2023,-1915000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2010,801000],[2011,522000],[2012,360000],[2013,440000],[2014,320000],[2015,410000],[2016,-1022000],[2017,-701000],[2018,-787000],[2019,-9716000],[2020,-3150000],[2021,-337000],[2022,-1930000],[2023,-4702000]], "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: 'FR0000072993_resus_an', data: FR0000072993_resus_an, height: "350", width: "100%" });