var FR0000053225_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,13.595099269319],[2009,13.366264710155],[2010,16.580027359781],[2011,16.991486667136],[2012,14.856483484783],[2013,16.679841897233],[2014,16.463947849591],[2015,15.946551448232],[2016,19.105341362321],[2017,12551.020408163],[2018,19.347122555227],[2019,18.95474211936],[2020,29.915201005025],[2021,28.085443037975],[2022,22.993588326332],[2023,23.221343873518]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,10.214775998229],[2009,10.111869824205],[2010,10.745554035568],[2011,10.525575177654],[2012,10.111063031877],[2013,8.8537549407115],[2014,9.8100007949758],[2015,9.2014722355577],[2016,11.94181590678],[2017,8081.6326530612],[2018,12.790206838328],[2019,11.860449144976],[2020,21.725816582915],[2021,20.202819332566],[2022,11.902129854816],[2023,17.79416235938]], "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: 'FR0000053225_marges_an', data: FR0000053225_marges_an, height: "350", width: "100%" });