var FR0011981968_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,15.39824751403],[2012,13.520592485549],[2013,14.967844242798],[2014,13.103628295484],[2015,12.070089649552],[2016,16.040329972502],[2017,7463.1268436578],[2018,11.969538425764],[2019,12.357238831038],[2020,8.9125846131451],[2021,8.2461371645432],[2022,7.676267729887],[2023,-18.870380010411]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,9.2054740573004],[2012,8.4808526011561],[2013,10.439608845036],[2014,8.7357521969895],[2015,8.4270578647107],[2016,11.014359914452],[2017,3112.0943952802],[2018,5.8423439134984],[2019,13.066845817938],[2020,5.9574932673411],[2021,-20.36866359447],[2022,6.8559382232304],[2023,-17.727312163804]], "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: 'FR0011981968_marges_an', data: FR0011981968_marges_an, height: "350", width: "100%" });