var FR0012789949_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,null],[2012,7.302375373823],[2013,9.1437491295059],[2014,6.9818128527897],[2015,10.343275645296],[2016,44218.75],[2017,42352.941176471],[2018,12.599576211156],[2019,8.2514609318598],[2020,-28.418304706675],[2021,6.8238391406375]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,-5.6734339972248],[2013,-3.2598658190791],[2014,-5.6735914941355],[2015,-2.5958916356937],[2016,18670.78125],[2017,9010.2941176471],[2018,4.7621453533605],[2019,0.9804505447021],[2020,-36.609413349416],[2021,1.2771345429708]], "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: 'FR0012789949_marges_an', data: FR0012789949_marges_an, height: "350", width: "100%" });