var FR0000051070_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,24.794334562956],[2009,-15.418910880823],[2010,-31.610011422623],[2011,69.081175132169],[2012,42.523893040516],[2013,53.834382786894],[2014,25.546422770432],[2015,-8.9748101601077],[2016,5.2687822915452],[2017,3005.1813471503],[2018,28.640844814235],[2019,13.871841396056],[2020,-161.79126710735],[2021,31.617128805992],[2022,52.080522509472],[2023,28.260601717804]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,16.225828307975],[2009,-27.639987121349],[2010,-40.131287864548],[2011,44.050056882821],[2012,12.30216223544],[2013,10.816436958687],[2014,2.3908153736024],[2015,-35.46822335983],[2016,-15.822423690291],[2017,343.00518134715],[2018,0.0132521918086],[2019,7.4227748574681],[2020,-178.61353691463],[2021,23.962651134857],[2022,30.276892779201],[2023,30.813638677505]], "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: 'FR0000051070_marges_an', data: FR0000051070_marges_an, height: "350", width: "100%" });