var FR0010208488_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": [[2011,10.680136314007],[2012,7.3507285805561],[2013,-7.4972004479283],[2014,8.2117130385882],[2015,-4.6391826338308],[2016,3.6795270037065],[2017,994905.66037736],[2018,4.6430389523759],[2019,6.120749941723],[2020,2.6923283887285],[2021,10.23398887084],[2022,1.2006605230917],[2023,7.3856961182099]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2011,4.4147651450818],[2012,1.5983429172077],[2013,-10.402015677492],[2014,3.267011220309],[2015,-6.6067570081422],[2016,-0.6227584447546],[2017,249056.60377358],[2018,1.8133305246897],[2019,1.6384161976756],[2020,-2.7551075317035],[2021,6.326685791311],[2022,0.2301177222607],[2023,2.6742566462787]], "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: 'FR0010208488_marges_an', data: FR0010208488_marges_an, height: "350", width: "100%" });