var FR0012821916_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": [[2010,null],[2011,null],[2012,null],[2013,3.9812129617955],[2014,-3.4616578702266],[2015,15.207373271889],[2016,-1.2180823345492],[2017,-146.47887323944],[2018,-19.648806218767],[2019,-13.572493691214],[2020,-1.2490976308709],[2021,-6.4084977013199],[2022,-10.750042423214],[2023,6.3680649939679]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,null],[2013,0.9467070146682],[2014,-6.7392557768217],[2015,10.304767068118],[2016,-7.7416623241271],[2017,-160.52816901408],[2018,-29.209466962798],[2019,-16.488873594861],[2020,-4.1082405442653],[2021,-8.0602105887587],[2022,-13.203801119973],[2023,3.3077287234855]], "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: 'FR0012821916_marges_an', data: FR0012821916_marges_an, height: "350", width: "100%" });