var FR0000120578_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": [[2005,null],[2006,17.016177351708],[2007,21.071581348923],[2008,15.938769587928],[2009,21.604834648313],[2010,20.190317298483],[2011,17.164335559615],[2012,18.13317309068],[2013,15.495736092987],[2014,18.190701806337],[2015,16.281628162816],[2016,19.319357795453],[2017,363540.85603113],[2018,13.568174564025],[2019,8.3043235630199],[2020,39.235870258872],[2021,21.519557215116],[2022,24.783124404028],[2023,18.2841885303]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,null],[2006,14.119056849822],[2007,18.761585626693],[2008,13.969094602438],[2009,17.676682894074],[2010,16.890660240368],[2011,17.050525622211],[2012,14.212951040147],[2013,11.280386027738],[2014,12.999703879183],[2015,12.410977939899],[2016,13.923302090417],[2017,328171.20622568],[2018,12.494559382526],[2019,7.4566182137068],[2020,34.166643544852],[2021,16.479966102593],[2022,19.468800148848],[2023,12.53772927792]], "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: 'FR0000120578_marges_an', data: FR0000120578_marges_an, height: "350", width: "100%" });