var FR0000039216_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,5.8045259539646],[2011,7.3545434735236],[2012,6.3869937581652],[2013,-0.0076376689834],[2014,1.1705835046019],[2015,21035.714285714],[2016,23391.304347826],[2017,35923.076923077],[2018,5.1087810060511],[2019,4.4657208749738],[2020,4.9266841396897],[2021,5.2333500609363],[2022,3.7258815701929],[2023,-15.867754899118]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,0.7167145656534],[2011,4.0967531052517],[2012,3.6942952533024],[2013,1.5504468036355],[2014,7.202216066482],[2015,-1964.2857142857],[2016,16217.391304348],[2017,30576.923076923],[2018,0.6513002910065],[2019,2.8303864700538],[2020,2.4580293263441],[2021,2.5879991397233],[2022,2.7500554446662],[2023,-13.489663172722]], "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: 'FR0000039216_marges_an', data: FR0000039216_marges_an, height: "350", width: "100%" });