var FR0000033888_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,2.531909713769],[2009,-1.2489104719213],[2010,7.012150104415],[2011,9.1827306326545],[2012,-5.9943387076022],[2013,3.0677694320196],[2014,34.471183127718],[2015,1.5705515541161],[2016,3672.131147541],[2017,1395.6043956044],[2018,7.7919872645264],[2019,8.1037308396799],[2020,3.7272838968379],[2021,6.9716689543484],[2022,8.7653080820764]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,2.1597746322123],[2009,-1.0764537417507],[2010,4.697091146877],[2011,6.2137654902529],[2012,-3.9050050971426],[2013,2.6673605836404],[2014,31.582649915251],[2015,-1.1746507468458],[2016,2396.8852459016],[2017,100.54945054945],[2018,6.3475723003449],[2019,8.3428130723995],[2020,1.0901495604776],[2021,7.1464544224673],[2022,5.9444846586796]], "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: 'FR0000033888_marges_an', data: FR0000033888_marges_an, height: "350", width: "100%" });