var FR0000035784_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,7517000],[2009,5343000],[2010,4880000],[2011,5476000],[2012,6193000],[2013,5886000],[2014,6228000],[2015,7151000],[2016,7182000],[2017,6019000],[2018,5870000],[2019,6409000],[2020,1072000],[2021,123000],[2022,596000],[2023,957000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2008,59000],[2009,-1690000],[2010,-1331000],[2011,-266000],[2012,83000],[2013,-222000],[2014,-172000],[2015,112000],[2016,383000],[2017,-1031000],[2018,-260000],[2019,-140000],[2020,-407000],[2021,35372000],[2022,25969000],[2023,-10893000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2008,381000],[2009,-1030000],[2010,-1083000],[2011,-278000],[2012,-22000],[2013,-517000],[2014,-152000],[2015,104000],[2016,-342000],[2017,-671000],[2018,-300000],[2019,-30000],[2020,-1073000],[2021,30989000],[2022,21638000],[2023,-7685000]], "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: 'FR0000035784_resus_an', data: FR0000035784_resus_an, height: "350", width: "100%" });