var FR0013240934_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": [[2010,null],[2011,null],[2012,null],[2013,-22.213114754098],[2014,-19.286482610255],[2015,-27.79834607799],[2016,-25.645389043774],[2017,-347.16981132075],[2018,3.2231257790705],[2019,5.785067834887],[2020,42.925101749564],[2021,37.837254478739],[2022,24.068018312623],[2023,7.7335375191424]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,null],[2013,-19.652459016393],[2014,-19.673718178559],[2015,-20.324556243729],[2016,-27.998841377313],[2017,-940.47169811321],[2018,-5.4767416552898],[2019,5.3537771891396],[2020,38.839790686611],[2021,32.669976257285],[2022,16.309352517986],[2023,3.6753445635528]], "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: 'FR0013240934_marges_an', data: FR0013240934_marges_an, height: "350", width: "100%" });