var FR0000033904_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,4.3015085805583],[2009,-14.546962374538],[2010,-3.3308530511994],[2011,3.7576585123645],[2012,1.8017846782683],[2013,1.771952550031],[2014,4.0120636324642],[2015,5.1376145456974],[2016,2.570640837484],[2017,22756.756756757],[2018,5.2241517111095],[2019,2.4495356037152],[2020,2.0656781601615],[2021,8.2699281478409],[2022,9.6827290245238],[2023,4.5792323904733]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,2.2346551358973],[2009,-11.94723248349],[2010,-4.177051434568],[2011,1.6688524140888],[2012,0.0654388065699],[2013,0.3706787874582],[2014,2.2338678666358],[2015,3.6640830137342],[2016,1.0089524460722],[2017,12495.945945946],[2018,3.4445754782891],[2019,1.5201238390093],[2020,0.8060468166647],[2021,6.1351275473553],[2022,6.6942949805085],[2023,2.2750229434611]], "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: 'FR0000033904_marges_an', data: FR0000033904_marges_an, height: "350", width: "100%" });