var FR0000121204_marges_an = { "type": "bar", "plot":{ "tooltip" : { "text": "%v%", "decimals": 1, }, }, "title":{ "text": "Marges", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "series": [{ "legend-text": "Marge Opérationnelle", "values": [[2008,10.898845265589],[2009,10.17367177063],[2010,10.531779275178],[2011,9.3077556231207],[2012,8.348254252462],[2013,10.491619764296],[2014,8.8617226336614],[2015,7.1907055967256],[2016,180158.73015873],[2017,139367.08860759],[2018,174912.28070175],[2019,7.2831748849595],[2020,3.8409180731004],[2021,10.762403550154],[2022,15.149942928297],[2023,12.169594253325]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,2.9210161662818],[2009,-18.873702599938],[2010,18.25350573666],[2011,8.8256538610136],[2012,3.2990152193375],[2013,5.1882832177617],[2014,0.3314057691657],[2015,-1.8583722083106],[2016,-58222.222222222],[2017,42291.139240506],[2018,7947.3684210526],[2019,4.6681927541987],[2020,-3.865802069763],[2021,13.951411932462],[2022,9.7288723520953],[2023,1.9978674448622]], "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":"1x2", "x" : 0, "y" : 33, "item": { "font-size": "11px" } }, "scale-y" : { "format":"%v%", "guide": {"line-color": "rgb(127,127,127)",}, "item": { "font-size": "12px" } }, "scale-x" : { "item": { "font-size": "12px" }, } } zingchart.render({ id: 'FR0000121204_marges_an', data: FR0000121204_marges_an, height: "350", width: "100%" });