var FR0010879056_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,null],[2009,null],[2010,null],[2011,-626.5306122449],[2012,-2162.9213483146],[2013,-17816.129032258],[2014,-5389.3129770992],[2015,-3811.004784689],[2016,-2935.8778625954],[2017,-11.088201603666],[2018,-26838.461538462],[2019,-7485.2760736196],[2020,-2515.479876161],[2021,-1997.5476839237]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,null],[2009,null],[2010,null],[2011,-514.44270015699],[2012,-1111.797752809],[2013,-11032.258064516],[2014,-4929.7709923664],[2015,-3041.1483253589],[2016,-2396.5648854962],[2017,-8.4077892325315],[2018,-22428.205128205],[2019,-6286.5030674847],[2020,-2260.0619195046],[2021,-1896.1852861035]], "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: 'FR0010879056_marges_an', data: FR0010879056_marges_an, height: "350", width: "100%" });