var FR0000130577_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,15.965136054422],[2009,13.903625110522],[2010,15.411590992986],[2011,15.715268225585],[2012,15.839636913767],[2013,16.151301596433],[2014,14.73466574776],[2015,14.352671596709],[2016,0.0924689201685],[2017,114015.15151515],[2018,14.527818039915],[2019,12.928571428571],[2020,9.1119762699296],[2021,13.946157778156],[2022,14.518174133559],[2023,14.90339143359]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,9.5025510204082],[2009,8.9080459770115],[2010,9.7083794758213],[2011,10.316368638239],[2012,11.149773071104],[2013,11.390766575579],[2014,9.9241902136458],[2015,9.3844391209249],[2016,-5.4145689920888],[2017,66060.606060606],[2018,10.246404281414],[2019,8.5816326530612],[2020,5.3392658509455],[2021,8.7493610495826],[2022,8.6080586080586],[2023,8.8636670720173]], "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: 'FR0000130577_marges_an', data: FR0000130577_marges_an, height: "350", width: "100%" });