var FR0000053035_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": [[2009,20.081531052147],[2010,23.791661847084],[2011,21.506975426669],[2012,23.755954772427],[2013,28.320420055068],[2014,21.740225624786],[2015,23.809409436839],[2016,395.0495049505],[2017,18.829787234043],[2018,16.038653902732],[2019,14.138125512715],[2020,9.9517490952955],[2021,4.71521660432],[2022,6.8115292318241],[2023,3.5872431464252],[2024,6.0397120672921]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,12.426270315121],[2010,14.407521853364],[2011,13.020324339636],[2012,14.32158640877],[2013,17.179996158033],[2014,14.631425538423],[2015,16.225903676737],[2016,341.0396039604],[2017,16.489361702128],[2018,13.651073845249],[2019,10.846493027071],[2020,7.8709288299156],[2021,3.6382285507421],[2022,6.1417156720551],[2023,4.0250758744216],[2024,5.8253801358784]], "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: 'FR0000053035_marges_an', data: FR0000053035_marges_an, height: "350", width: "100%" });