var FR0013183985_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": [[2013,null],[2014,-1066.9303797468],[2015,-1948.787446505],[2016,-733.96666666667],[2017,-61.696658097686],[2018,-172.109375],[2019,-4328.2857142857],[2020,-567.45562130178],[2021,-533.09325246399],[2022,-1078.0402788536],[2023,-2343.8042620363]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2013,null],[2014,-1055.5379746835],[2015,-1947.7888730385],[2016,-736.06666666667],[2017,-56.766066838046],[2018,-174.234375],[2019,-4387.1428571429],[2020,-774.12380518889],[2021,-542.39954510993],[2022,-1069.9070487994],[2023,-2069.455406472]], "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: 'FR0013183985_marges_an', data: FR0013183985_marges_an, height: "350", width: "100%" });