var FR0013505062_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": [[2016,5.3578732106339],[2017,18928.571428571],[2018,-2.9839518555667],[2019,-3.1842105263158],[2020,-8.8822355289421],[2021,-0.5777777777778],[2022,-0.3962536023055],[2023,-6.5542168674699]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2016,-0.5316973415133],[2017,61428.571428571],[2018,-1.7051153460381],[2019,-6.0526315789474],[2020,-7.0192947438456],[2021,-6.2222222222222],[2022,5.4394812680115],[2023,-13.734939759036]], "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: 'FR0013505062_marges_an', data: FR0013505062_marges_an, height: "350", width: "100%" });