var FR0004030708_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": [[2009,1.1127971674254],[2010,1.6395068257693],[2011,-1.9287288758266],[2012,-1.9070464767616],[2013,-2.9019830743969],[2014,2.2586943902053],[2015,8.9747789059941],[2016,9.5637254901961],[2017,221.73913043478],[2018,7.3817856270855],[2019,1.4166949440109],[2020,-1.3628802918925],[2021,5.9807571435478],[2022,0.6821282401091]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,3.5744393862755],[2010,1.6130631672892],[2011,-1.0409012980651],[2012,-4.383808095952],[2013,-13.079449286346],[2014,2.4381233838197],[2015,4.0428618220954],[2016,8.078431372549],[2017,120.72463768116],[2018,5.1355090746317],[2019,1.0900916185952],[2020,-2.9725814240489],[2021,4.3804090315718],[2022,-0.7525414777978]], "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: 'FR0004030708_marges_an', data: FR0004030708_marges_an, height: "350", width: "100%" });