var FR0011053636_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,4.1324200913242],[2011,8.2845800250731],[2012,10.966179469748],[2013,1.4480622750481],[2014,-9.9152572674938],[2015,-17.467658271358],[2016,-13.662036330331],[2017,-70.130293159609],[2018,-23.179396092362],[2019,11.782742006132],[2020,4.6838116536216],[2021,-8.3707403426693],[2022,-44.696542653138]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,0.5479452054795],[2011,0.2298370246552],[2012,1.2066621346023],[2013,-6.7757596049217],[2014,-24.07480244574],[2015,-48.140741203675],[2016,-126.42344680201],[2017,-171.33550488599],[2018,-73.134991119005],[2019,9.3298291721419],[2020,8.9949061995279],[2021,-3.2623127015237],[2022,-23.58605787298]], "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: 'FR0011053636_marges_an', data: FR0011053636_marges_an, height: "350", width: "100%" });