var FR0010451203_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,4.3027306089445],[2009,2.7937703961158],[2010,4.0584944941932],[2011,4.6936801629302],[2012,4.8136692145258],[2013,4.0041194011497],[2014,3.7901721554597],[2015,2.8025647086633],[2016,3.0162360109709],[2017,170588.23529412],[2018,3.0660571462774],[2019,3.5395138989958],[2020,-0.0270001985309],[2021,6.2068589944317],[2022,7.181203747273],[2023,6.3518748629486]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,1.7898239721341],[2009,0.7128138459225],[2010,1.9105191428165],[2011,2.5029291269236],[2012,2.3651964429111],[2013,1.6185557502536],[2014,1.5266183530563],[2015,0.1248374896584],[2016,1.047705153433],[2017,31117.647058824],[2018,1.1275129622841],[2019,1.487410857226],[2020,-2.0742505459599],[2021,4.064614504908],[2022,4.9316636009753],[2023,4.0447126880867]], "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: 'FR0010451203_marges_an', data: FR0010451203_marges_an, height: "350", width: "100%" });