var FR0000073728_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,13.783049619703],[2011,13.941183902963],[2012,14.741984979407],[2013,15.403475394901],[2014,17.975847758627],[2015,677.24867724868],[2016,792.6267281106],[2017,768.65671641791],[2018,21.245210550242],[2019,16.27829229084],[2020,12.332780589231],[2021,17.322262584328]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,9.579862368707],[2011,9.8253206140628],[2012,10.085062854989],[2013,11.811519446938],[2014,12.903627821189],[2015,509.84126984127],[2016,532.81105990783],[2017,597.46268656716],[2018,16.132443941404],[2019,11.210931387194],[2020,9.0017097835706],[2021,13.104307213285]], "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: 'FR0000073728_marges_an', data: FR0000073728_marges_an, height: "350", width: "100%" });