var FR0004180537_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,7.0766424409843],[2009,5.0040879142019],[2010,7.9780549774779],[2011,9.0060428377082],[2012,7.3279373759498],[2013,5.6501578812619],[2014,4.8863440043089],[2015,4.7850276583404],[2016,3.8110007295102],[2017,5.4703237410072],[2018,5.8616538875964],[2019,6.5910032051318],[2020,-11.442850928595],[2021,0.9784987768765]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.3580019446942],[2009,3.6664983407878],[2010,6.2927052286814],[2011,5.6705651582422],[2012,4.8811414674006],[2013,3.5332404062242],[2014,2.7734524526005],[2015,3.2545096422336],[2016,1.5053386076598],[2017,3.3048561151079],[2018,3.331172118199],[2019,4.054486129784],[2020,-11.224886162131],[2021,-0.7338740826574]], "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: 'FR0004180537_marges_an', data: FR0004180537_marges_an, height: "350", width: "100%" });