var FR0000045551_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,39.041873066176],[2009,40.430968855615],[2010,46.278108038253],[2011,44.054802693258],[2012,16.615785554728],[2013,29.849628578428],[2014,39.158273985645],[2015,0],[2016,0],[2017,0],[2018,40.783495080948],[2019,39.587376480014],[2020,34.824793088748],[2021,40.262873777751],[2022,42.8888603746],[2023,37.059589476922]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,24.676967064387],[2009,20.916148240097],[2010,24.522465586673],[2011,24.216312963436],[2012,3.3265078183172],[2013,19.453060356583],[2014,20.844806182738],[2015,4134.4927536232],[2016,2654.5341614907],[2017,3082.0809248555],[2018,29.741277843168],[2019,25.185613816434],[2020,25.584472223175],[2021,30.110718204031],[2022,32.012862536502],[2023,21.80382373887]], "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: 'FR0000045551_marges_an', data: FR0000045551_marges_an, height: "350", width: "100%" });