var FR0013178712_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,null],[2011,null],[2012,null],[2013,null],[2014,-2.863436123348],[2015,7.1683855815378],[2016,9.3673185850166],[2017,-46.698113207547],[2018,-1.0264092321349],[2019,-11.487294995425],[2020,-46.228610540726],[2021,-8.6512996566945],[2022,4.1118421052632],[2023,8.0885395117915]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,null],[2013,null],[2014,-5.011013215859],[2015,6.7803533135913],[2016,7.7428663033023],[2017,-59.764150943396],[2018,-5.2041722148247],[2019,-16.055465615542],[2020,-57.754962354552],[2021,-15.017165277097],[2022,-2.5767543859649],[2023,0.7860984691767]], "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: 'FR0013178712_marges_an', data: FR0013178712_marges_an, height: "350", width: "100%" });