var FR0000044448_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,3.132813649066],[2009,3.0327056491576],[2010,3.2205858553164],[2011,-0.6936416184971],[2012,2.9146141215107],[2013,-3.8814246107912],[2014,-0.7630259428821],[2015,-1.3900955690704],[2016,4.0848566914918],[2017,55510.204081633],[2018,78333.333333333],[2019,-0.1633259094284],[2020,4.1144004014049],[2021,4.5836723623542],[2022,4.7197992591707],[2023,4.801026957638]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,1.2060597146639],[2009,0.1585728444004],[2010,1.3270755785726],[2011,-2.5722543352601],[2012,0.5541871921182],[2013,-7.1017274472169],[2014,-3.6625245258339],[2015,-4.2137271937446],[2016,1.3766644098398],[2017,25510.204081633],[2018,5833.3333333333],[2019,-1.81143281366],[2020,1.3045659809333],[2021,2.2240303770003],[2022,2.9274704265743],[2023,2.8369704749679]], "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: 'FR0000044448_marges_an', data: FR0000044448_marges_an, height: "350", width: "100%" });