var FR0000060402_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,304479000],[2009,244557000],[2010,304841000],[2011,361628000],[2012,373811000],[2013,364280000],[2014,354049000],[2015,349615000],[2016,367814000],[2017,399148000],[2018,428311000],[2019,505676000],[2020,506728000],[2021,573284000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2008,95907000],[2009,77636000],[2010,78491000],[2011,86614000],[2012,82571000],[2013,86282000],[2014,74912000],[2015,76067000],[2016,74488000],[2017,81142000],[2018,103252000],[2019,108022000],[2020,120846000],[2021,124966000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2008,60968000],[2009,40830000],[2010,40490000],[2011,32155000],[2012,33455000],[2013,42596000],[2014,38048000],[2015,30249000],[2016,33030000],[2017,37439000],[2018,44151000],[2019,44105000],[2020,55314000],[2021,59024000]], "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: 'FR0000060402_resus_an', data: FR0000060402_resus_an, height: "350", width: "100%" });