var FR0000060949_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,73982000],[2009,57728000],[2010,65285000],[2011,70254000],[2012,70270000],[2013,65314000],[2014,65996000],[2015,71051000],[2016,69656000],[2017,82335000],[2018,80533000],[2019,82888000],[2020,68944000],[2021,80734000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2008,1921000],[2009,-6002000],[2010,1182000],[2011,2796000],[2012,3019000],[2013,2859000],[2014,3163000],[2015,3823000],[2016,4823000],[2017,4975000],[2018,4534000],[2019,3023000],[2020,-563000],[2021,3426000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2008,557000],[2009,-4692000],[2010,70000],[2011,1105000],[2012,1341000],[2013,1320000],[2014,1994000],[2015,2520000],[2016,3818000],[2017,3576000],[2018,3374000],[2019,1933000],[2020,-1637000],[2021,2966000]], "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: 'FR0000060949_resus_an', data: FR0000060949_resus_an, height: "350", width: "100%" });