var FR0011858190_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": [[2011,null],[2012,-0.6481481481481],[2013,4.8680278884462],[2014,4.0833439929504],[2015,1994.1176470588],[2016,2035.7142857143],[2017,1977.2727272727],[2018,6.8481971729756],[2019,9.5907062252809],[2020,6.6394175127089],[2021,7.2328122702994],[2022,7.9439662984912],[2023,5]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2011,null],[2012,-1.1633428300095],[2013,2.3868810472396],[2014,1.7041174547677],[2015,1192.3529411765],[2016,892.85714285714],[2017,1750],[2018,3.1938787733589],[2019,4.5694795534537],[2020,3.0027786323659],[2021,3.7102114820545],[2022,2.950804365378],[2023,0.6716417910448]], "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: 'FR0011858190_marges_an', data: FR0011858190_marges_an, height: "350", width: "100%" });