var FR0011271600_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": [[2011,-1208.5714285714],[2012,-2289.8550724638],[2013,-1513.8121546961],[2014,-485.55555555556],[2015,-1218.3716075157],[2016,-5620.4379562044],[2017,-2.2839116719243],[2018,-3108.5365853659],[2019,-720.97457627119],[2020,-207.27272727273],[2021,-48.141592920354],[2022,-134.11764705882],[2023,-299.01477832512]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2011,-661.42857142857],[2012,-1670.2898550725],[2013,-969.61325966851],[2014,-449.88888888889],[2015,-1103.9665970772],[2016,-5517.5182481752],[2017,-2.2930599369085],[2018,-3289.0243902439],[2019,-915.99576271186],[2020,-312.72727272727],[2021,-121.2389380531],[2022,-129.01960784314],[2023,-348.52216748768]], "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: 'FR0011271600_marges_an', data: FR0011271600_marges_an, height: "350", width: "100%" });