var FR0011799907_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,-25.235602094241],[2012,-64.391589107204],[2013,-38.136473848285],[2014,-64.081041968162],[2015,-186.0593220339],[2016,-143.85382059801],[2017,-161.52380952381],[2018,-619.67654986523],[2019,-260.16949152542],[2020,-475.36900369004],[2021,-492.45472837022],[2022,-596.68615984405]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2011,1.2565445026178],[2012,-65.081006549466],[2013,-37.028056806373],[2014,-62.402315484805],[2015,-183.81355932203],[2016,-143.073089701],[2017,-172.78095238095],[2018,-619.76639712489],[2019,-260.33898305085],[2020,-477.58302583026],[2021,-502.81690140845],[2022,-661.79337231969]], "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: 'FR0011799907_marges_an', data: FR0011799907_marges_an, height: "350", width: "100%" });