var FR0000054215_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.222845804196],[2009,6.7449706438891],[2010,8.0465223635618],[2011,6.7388074998397],[2012,7.9625369663732],[2013,8.6088420380812],[2014,7.1808116914382],[2015,41267.605633803],[2016,48805.970149254],[2017,40178.571428571],[2018,4.7385392941506],[2019,6.14563620335],[2020,7.0029227074109],[2021,18.547456272751],[2022,4.3336763928681],[2023,5.6108870414575]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,1.3956618601938],[2009,2.4665617730208],[2010,3.1372026685375],[2011,2.4599401526022],[2012,3.1628830996141],[2013,2.9972842201315],[2014,2.8913830547159],[2015,16939.295774648],[2016,20537.76119403],[2017,20010.714285714],[2018,1.8836078732653],[2019,2.2027622685865],[2020,2.6709494458431],[2021,13.906892775755],[2022,1.9526577842063],[2023,2.3348972480588]], "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: 'FR0000054215_marges_an', data: FR0000054215_marges_an, height: "350", width: "100%" });