var FR0000130403_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,19.338649417275],[2009,17.830374753452],[2010,19.750982341523],[2011,21.126360240377],[2012,19.982597637295],[2013,19.006584043377],[2014,17.106125823095],[2015,785125],[2016,718617.0212766],[2017,662560],[2018,21.08871139965],[2019,20.929755915782],[2020,17.842825468635],[2021,26.696254769135],[2022,26.515457668216],[2023,26.179007115248],[2024,22.28664548965]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.4387442145765],[2009,3.9165962242885],[2010,5.9697959570137],[2011,5.1932759460776],[2012,4.788996352197],[2013,4.5991479473277],[2014,6.7785981015364],[2015,196125],[2016,112553.19148936],[2017,179200],[2018,5.4969461410328],[2019,5.4741941494317],[2020,4.3291303666211],[2021,7.7022502530561],[2022,7.3209234188725],[2023,7.3172147226446],[2024,6.1499946860645]], "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: 'FR0000130403_marges_an', data: FR0000130403_marges_an, height: "350", width: "100%" });