var FR0010342329_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,-39.539936102236],[2009,17.437510627444],[2010,-159.24882629108],[2011,-213.67673179396],[2012,-257.31170336037],[2013,-9.2637737688932],[2014,-34.859644604687],[2015,-172.34435049962],[2016,-218.94980950803],[2017,-390.38142620232],[2018,-738.38355392847],[2019,-73.303229337712],[2020,6.6190036900369],[2021,-11.207989854153],[2022,-44.363147678065]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-15.437699680511],[2009,29.051181771808],[2010,-154.80438184664],[2011,-313.72113676732],[2012,-378.60950173812],[2013,20.315293352836],[2014,39.562194179758],[2015,-157.72482705611],[2016,-313.13566340898],[2017,-559.60199004975],[2018,-395.09997183892],[2019,-39.55938697318],[2020,2.9520295202952],[2021,-11.588459099556],[2022,-44.378079737196]], "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: 'FR0010342329_marges_an', data: FR0010342329_marges_an, height: "350", width: "100%" });