var FR0000124141_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.4824855724064],[2009,5.8467193424213],[2010,6.0951630800366],[2011,3.4310038350878],[2012,3.7196188664504],[2013,2.1980927456217],[2014,1.7341161493492],[2015,4.1025764276101],[2016,4.4091479364663],[2017,323191.4893617],[2018,5.0314344045602],[2019,4.9100739269558],[2020,3.1103541343873],[2021,4.2538787221877],[2022,5.1446532961178],[2023,6.0064827677449]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,1.1326779403212],[2009,1.6905444126075],[2010,1.6704708134742],[2011,-1.6520897349843],[2012,1.3377040270394],[2013,-0.6063240539911],[2014,1.0305867769979],[2015,1.8033391014548],[2016,1.5707128272831],[2017,85446.808510638],[2018,1.6954123908286],[2019,2.298355952775],[2020,0.3414084637004],[2021,1.4181934257281],[2022,1.6691033990668],[2023,2.0661065908139]], "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: 'FR0000124141_marges_an', data: FR0000124141_marges_an, height: "350", width: "100%" });