var FR0000060402_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,31.498724049934],[2009,31.745564428743],[2010,25.748176918459],[2011,23.951132102603],[2012,22.088970094513],[2013,23.685626441199],[2014,21.158653180774],[2015,21.757361669265],[2016,20.251540180635],[2017,20.328800344734],[2018,24.10678222133],[2019,21.361899714442],[2020,23.848297311378],[2021,21.798271014017]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,20.023712636996],[2009,16.695494301942],[2010,13.282334069236],[2011,8.8917340471424],[2012,8.9497098801266],[2013,11.693203030636],[2014,10.746535084127],[2015,8.6520887261702],[2016,8.9800823242182],[2017,9.3797288223917],[2018,10.308163927613],[2019,8.7219879923113],[2020,10.915915441815],[2021,10.295769635992]], "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: 'FR0000060402_marges_an', data: FR0000060402_marges_an, height: "350", width: "100%" });