var FR0000076861_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,3.0735366052503],[2009,3.4567434831885],[2010,5.2915766738661],[2011,5.6410256410256],[2012,null],[2013,null],[2014,-1.1609907120743],[2015,-2.0445585403869],[2016,-16.840602979217],[2017,0.8445560374344],[2018,-13.441491704596],[2019,-3.5123530653903],[2020,1.2891113892365],[2021,-6.9284777409151],[2022,-0.4932942808694],[2023,-0.3506841779550]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,3.2202837110713],[2009,5.5629013978088],[2010,5.6450029452189],[2011,10.888888888889],[2012,null],[2013,null],[2014,0.1289989680083],[2015,-2.1270743559182],[2016,-17.464989742217],[2017,-2.7467092748992],[2018,-15.922771986492],[2019,-4.413317378757],[2020,1.0012515644556],[2021,-5.6708587300363],[2022,-0.8581265094291],[2023,-0.9214054871760]], "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: 'FR0000076861_marges_an', data: FR0000076861_marges_an, height: "350", width: "100%" });