var FR0004171346_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.6644235746506],[2009,-4.3701799485861],[2010,7.4620275521017],[2011,6.6263033972418],[2012,-17.722982084377],[2013,-22.817100221819],[2014,0.9775313685439],[2015,1.2359550561798],[2016,11.077542799597],[2017,121.21212121212],[2018,8.1249443801726],[2019,5.3422302276077],[2020,5.8967870562073],[2021,6.5743393823623],[2022,6.4380988164569],[2023,4.297520661157]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-28.858241514457],[2009,-17.988588626246],[2010,-78.850229600848],[2011,9.8217288933737],[2012,-26.892698901946],[2013,-71.304698527929],[2014,-1.4152319813248],[2015,-37.932584269663],[2016,5.516392525456],[2017,68.939393939394],[2018,6.3273115600249],[2019,2.6854429343376],[2020,9.5851545126907],[2021,3.0205348615091],[2022,5.0291189179034],[2023,0.7966942148760]], "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: 'FR0004171346_marges_an', data: FR0004171346_marges_an, height: "350", width: "100%" });