var FR0000127771_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,16.776937618147],[2009,14.138286893705],[2010,16.867511600526],[2011,19.720265158088],[2012,9.9261916258536],[2013,-1.9652134628417],[2014,7.2950738427991],[2015,11.438394350492],[2016,11.036140123856],[2017,43672.566371681],[2018,8.4840654608096],[2019,8.6866272487105],[2020,9.1236793039155],[2021,4.0839738442125],[2022,7.931214174049],[2023,8.0589914367269]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,10.251260239445],[2009,3.0591183841958],[2010,7.6113304245446],[2011,9.3048276819491],[2012,0.5656342691591],[2013,8.8863790377231],[2014,47.021508573694],[2015,17.95205352165],[2016,11.609206026435],[2017,53805.309734513],[2018,0.9115704852139],[2019,9.9572273241917],[2020,8.9496581727781],[2021,283.26259034071],[2022,-10.526315789474],[2023,3.8534728829686]], "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: 'FR0000127771_marges_an', data: FR0000127771_marges_an, height: "350", width: "100%" });