var FR0012789667_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": [[2010,null],[2011,10.448898389384],[2012,9.8213575236731],[2013,7.8467403998077],[2014,-6.4087776058517],[2015,-10.223052928653],[2016,181.15183246073],[2017,0],[2018,-0.2381996491788],[2019,-0.6871345029240],[2020,-3.2088892916204],[2021,-1.998476660259],[2022,5.644194200482],[2023,8.0339321357285],[2024,9.6822267706732]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,-4.3323668225783],[2012,-4.2750855414976],[2013,-4.8876829016968],[2014,-24.822056548038],[2015,0.2710798633460],[2016,-630.99476439791],[2017,-538.03571428571],[2018,-9.4143677244459],[2019,-8.7621832358674],[2020,-16.081824977913],[2021,-17.045688102233],[2022,-5.0160463230507],[2023,39.167664670659],[2024,1.4412510965016]], "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: 'FR0012789667_marges_an', data: FR0012789667_marges_an, height: "350", width: "100%" });