var FR0013506730_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": [[2014,-11.588173462987],[2015,-22.041723994412],[2016,-25.27347666709],[2017,-55573.770491803],[2018,-7.0686516639856],[2019,-0.4060627845675],[2020,-30.913274117937],[2021,10.876175240278],[2022,-2.4928420750814],[2023,16.795741025269]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2014,-16.201879963568],[2015,-22.736177385476],[2016,-25.564937787115],[2017,-87982.131147541],[2018,-12.815516299864],[2019,-8.0888809010304],[2020,-37.198710831483],[2021,1.1489817804525],[2022,-7.5036967251725],[2023,9.6976388417119]], "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: 'FR0013506730_marges_an', data: FR0013506730_marges_an, height: "350", width: "100%" });