var FR0000053837_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,null],[2012,null],[2013,66.608333333333],[2014,65.63000228676],[2015,70.424894891069],[2016,71.443098466326],[2017,16.335877862595],[2018,45.439631601669],[2019,74.076415004898],[2020,68.511346031167],[2021,88.920199579502],[2022,-14744.166666667],[2023,31.902948402948]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,null],[2009,null],[2010,null],[2011,null],[2012,null],[2013,68.691666666667],[2014,67.997941916305],[2015,71.202063957192],[2016,71.69370971327],[2017,15.945801526718],[2018,43.612030507987],[2019,77.443984451537],[2020,63.381937482913],[2021,91.61452286064],[2022,-22455.833333333],[2023,34.706388206388]], "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: 'FR0000053837_marges_an', data: FR0000053837_marges_an, height: "350", width: "100%" });