var FR0010202606_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": [[2005,null],[2006,null],[2007,null],[2008,8.3313496786479],[2009,11.535566428303],[2010,14.703010577705],[2011,18.884120171674],[2012,22.131651799446],[2013,20.485829959514],[2014,14.603626022041],[2015,10.786151731034],[2016,11.424932159273],[2017,51.851851851852],[2018,9.7640019943493],[2019,8.900564312123],[2020,12.16795201371],[2021,15.341641598625],[2022,9.9801430786389],[2023,13.278767232904]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,-14.520547945205],[2006,-17.436845348121],[2007,5.4383011782986],[2008,12.151868602714],[2009,11.315355664283],[2010,14.312449145647],[2011,14.15514226673],[2012,15.233774223316],[2013,14.891424365109],[2014,11.965872733736],[2015,10.279965004374],[2016,9.7967547211608],[2017,49.432098765432],[2018,9.0452052517866],[2019,8.5503016151002],[2020,11.694944301628],[2021,14.494444103383],[2022,9.1804259717651],[2023,12.862662612314]], "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: 'FR0010202606_marges_an', data: FR0010202606_marges_an, height: "350", width: "100%" });