var FR0000044471_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,8.0854924891622],[2009,6.4216596618121],[2010,5.3943201287576],[2011,2.5728900255754],[2012,6.9636005392513],[2013,8.7340215007755],[2014,5.0362234166861],[2015,18717.391304348],[2016,12.896641306365],[2017,24629.62962963],[2018,18805.970149254],[2019,3.4929875628473],[2020,4.7034328119161],[2021,6.2298016208422],[2022,6.7728435247617],[2023,5.1132617249814]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.3956043956044],[2009,2.0721337112697],[2010,1.8171434504958],[2011,-1.457800511509],[2012,2.8881053614021],[2013,5.9528266566829],[2014,1.1509698527693],[2015,3108.6956521739],[2016,2.2917053256634],[2017,10555.555555556],[2018,1089.552238806],[2019,0.2410984681427],[2020,0.3576957984091],[2021,1.6158703326207],[2022,2.7528481748431],[2023,1.0507284909072]], "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: 'FR0000044471_marges_an', data: FR0000044471_marges_an, height: "350", width: "100%" });