var FR0000060071_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,5.3651972941313],[2009,4.6338019508896],[2010,4.132877981844],[2011,4.8652522157191],[2012,4.2345960965091],[2013,4.3283829908148],[2014,3.7661964009113],[2015,3.8515291708222],[2016,3.8800041570889],[2017,12204.545454545],[2018,3.8668426286933],[2019,4.0219675982595],[2020,4.6455594286928],[2021,7.011451904375],[2022,6.5476109523864],[2023,5.3919843245438]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,2.6012853931636],[2009,2.7193652801384],[2010,2.7899665654585],[2011,2.8998609727701],[2012,2.7069253528317],[2013,2.5384199300927],[2014,3.0045933712267],[2015,2.6744228710186],[2016,2.8581622557608],[2017,9161.1363636364],[2018,2.8818571049107],[2019,2.7426144857273],[2020,3.1329409328564],[2021,5.2843424337529],[2022,4.9625320253629],[2023,4.0454702557477]], "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: 'FR0000060071_marges_an', data: FR0000060071_marges_an, height: "350", width: "100%" });