var NL0000235190_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": [[2005,7.9284336081389],[2006,0.7049754019374],[2007,-0.0843493597117],[2008,6.4070264648099],[2009,-0.8873943300173],[2010,2.594422101766],[2011,3.2832600553656],[2012,3.7730169971671],[2013,4.3371135412448],[2014,6.5735509693146],[2015,4.6423584173778],[2016,3.0128715399288],[2017,443020.83333333],[2018,7.234683786711],[2019,1.899883651636],[2020,-1.0999358871614],[2021,10.167021419394],[2022,9.0618246175314],[2023,7.0332793448033]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,4.8997251944103],[2006,0.2510523913374],[2007,-1.1399943767094],[2008,3.6334219345892],[2009,-1.7817944047452],[2010,1.2086903304774],[2011,2.1026705748249],[2012,2.1742209631728],[2013,2.4723234777913],[2014,3.8591405465057],[2015,4.1830876648565],[2016,1.4944203301242],[2017,299270.83333333],[2018,4.7938217150392],[2019,-1.9325179488635],[2020,-2.2699951915371],[2021,8.078774281386],[2022,7.2273369297007],[2023,5.7895058521529]], "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: 'NL0000235190_marges_an', data: NL0000235190_marges_an, height: "350", width: "100%" });