var FR0011464452_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,-86.917443408788],[2012,-82.254320350787],[2013,-68.320693391116],[2014,-100.96934174932],[2015,-62.622124172707],[2016,-119.01639344262],[2017,-111.35371179039],[2018,-14.653465346535],[2019,-6.3113193732611],[2020,-37.847866419295],[2021,-30.624290578888],[2022,-29.678571428571],[2023,-90.888012984002]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2011,-85.452729693742],[2012,-84.240392055713],[2013,-76.164680390033],[2014,-102.3219116321],[2015,-61.109360226915],[2016,-136.98360655738],[2017,-180.13100436681],[2018,-30.811881188119],[2019,-10.045394640504],[2020,-55.988455988456],[2021,-39.160045402951],[2022,-42.732142857143],[2023,null]], "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: 'FR0011464452_marges_an', data: FR0011464452_marges_an, height: "350", width: "100%" });