var FI0009000681_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,-2.7755503246333],[2012,-7.6318928950159],[2013,4.0837201982847],[2014,1.3352183474709],[2015,13.505080406433],[2016,-4.6582535783857],[2017,0.0691234285221],[2018,-0.2614900500820],[2019,2.0802058760455],[2020,4.1981067361778],[2021,9.7198450590037],[2022,9.305126249448],[2023,7.5837900979423]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2011,-3.0109418246721],[2012,-10.292948038176],[2013,-4.839090408372],[2014,9.1344643418159],[2015,19.729578366269],[2016,-3.2438384009486],[2017,-6.4544001382469],[2018,-1.5068918140318],[2019,0.0300235899635],[2020,-11.117208579138],[2021,7.3101522385371],[2022,17.060736220947],[2023,2.9876898193908]], "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: 'FI0009000681_marges_an', data: FI0009000681_marges_an, height: "350", width: "100%" });