var FR0000124570_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,-0.0695335761878],[2009,2.7939848021609],[2010,6.5072088961212],[2011,6.4482360718508],[2012,6.0082548040842],[2013,6.5034626475277],[2014,7.1807139854931],[2015,7.1752002786486],[2016,8.0449826989619],[2017,78170.731707317],[2018,10.000253981014],[2019,4.7935197885454],[2020,-3.4583790397226],[2021,2.8141745875437],[2022,2.9574577980373],[2023,2.8349346256786]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-2.4252940528581],[2009,1.1342454097572],[2010,4.2942568860868],[2011,3.9023459806038],[2012,3.6074871243657],[2013,3.7703039897966],[2014,5.0606857244594],[2015,5.1572737552384],[2016,4.4998846597463],[2017,51850.853658537],[2018,7.3612532085808],[2019,3.0399185264112],[2020,-3.5501758956697],[2021,1.7470837352355],[2022,1.9630456857548],[2023,1.5815587743533]], "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: 'FR0000124570_marges_an', data: FR0000124570_marges_an, height: "350", width: "100%" });