var FR0000034894_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,-6.3419091402301],[2009,-5.2922084854696],[2010,-11.225981108572],[2011,5.0207524434329],[2012,6.7250627710568],[2013,3.2352488971414],[2014,1.5372960005051],[2015,152.88461538462],[2016,227.2],[2017,-823.52941176471],[2018,-4.0126398409826],[2019,-17.434016696757],[2020,-9.4835985709646],[2021,-0.2975430160042],[2022,-6.7520425961627],[2023,-6.8970321861502]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,1.9949934801024],[2009,11.614673414046],[2010,12.04009769399],[2011,22.263689918329],[2012,20.181845849502],[2013,7.5041689827682],[2014,9.6394036007029],[2015,1713.1730769231],[2016,1515.52],[2017,5567.6018099548],[2018,-4.4703244055962],[2019,-18.152891763342],[2020,-10.89314712569],[2021,0.3907130513187],[2022,-5.65041769944],[2023,-2.136454414565]], "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: 'FR0000034894_marges_an', data: FR0000034894_marges_an, height: "350", width: "100%" });