var FR0010242511_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": [[2008,12.307285427589],[2009,15.236070911722],[2010,9.5526739814318],[2011,12.687767008131],[2012,11.336605755613],[2013,11.126544434743],[2014,10.955896478854],[2015,5.7062101698531],[2016,10.552926140752],[2017,1182954.5454545],[2018,7.6577360241243],[2019,9.4788058948077],[2020,5.6134200576553],[2021,6.1862871621222],[2022,-13.495636900945]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,5.2894413416512],[2009,5.8866980221901],[2010,1.5652574234635],[2011,4.6090005665549],[2012,4.5593917144468],[2013,4.652485647009],[2014,5.0786288662623],[2015,1.5825400634616],[2016,4.0040447733944],[2017,721136.36363636],[2018,1.7063906286244],[2019,7.2282905899014],[2020,0.9416059451551],[2021,6.053681580848],[2022,-12.503833393738]], "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: 'FR0010242511_marges_an', data: FR0010242511_marges_an, height: "350", width: "100%" });