var FR0000075954_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,19250000],[2009,17379000],[2010,20741000],[2011,28964000],[2012,27387000],[2013,23467000],[2014,16588000],[2015,12767000],[2016,16454000],[2017,2570000],[2018,31295000],[2019,33496000],[2020,30231000],[2021,31187000],[2022,27836000],[2023,39200000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2008,-882000],[2009,577000],[2010,1616000],[2011,4346000],[2012,1975000],[2013,223000],[2014,-3842000],[2015,-6404000],[2016,-1100000],[2017,0],[2018,1000],[2019,919000],[2020,691000],[2021,1266000],[2022,-8000],[2023,3935000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2008,-1022000],[2009,427000],[2010,1777000],[2011,4290000],[2012,1924000],[2013,236000],[2014,-3801000],[2015,-6363000],[2016,-1093000],[2017,4098000],[2018,300000],[2019,1099000],[2020,260000],[2021,1468000],[2022,172000],[2023,3397000]], "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: 'FR0000075954_resus_an', data: FR0000075954_resus_an, height: "350", width: "100%" });