var FR0004110310_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": [[2007,8.5205325900904],[2008,8.2378400360188],[2009,7.6545884767797],[2010,6.1424766977364],[2011,9.1656469414183],[2012,7.3815900502623],[2013,5.6322438413056],[2014,7.521370600899],[2015,7.4993184624513],[2016,9.7615812053988],[2017,740.54054054054],[2018,800],[2019,5.0215208034433],[2020,3.0519034795924],[2021,-12.474166151247],[2022,18.998192924028]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2007,3.6960176924126],[2008,3.3796639216882],[2009,6.0025087664281],[2010,1.5552596537949],[2011,6.4652560797405],[2012,4.6052390211689],[2013,2.2128305752994],[2014,4.9505931524001],[2015,4.2736413348514],[2016,5.3525054962256],[2017,406.64864864865],[2018,206.52173913043],[2019,2.3672883787661],[2020,1.0665821849094],[2021,-13.934438594639],[2022,11.515255604176]], "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: 'FR0004110310_marges_an', data: FR0004110310_marges_an, height: "350", width: "100%" });