var FR0004175842_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,48.68672637617],[2009,48.940025366914],[2010,49.453090262339],[2011,51.09561752988],[2012,51.957070707071],[2013,48.887687316546],[2014,41.870486132184],[2015,119.8275862069],[2016,117.28],[2017,114.96062992126],[2018,46.69450243563],[2019,65.658602150538],[2020,65.565565565566],[2021,80.869759143622],[2022,69.385793128004],[2023,57.550468399525]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,18.244943141793],[2009,22.630911396992],[2010,37.003112494442],[2011,31.540504648074],[2012,32.19696969697],[2013,31.863123744786],[2014,26.740304667112],[2015,84.396551724138],[2016,56.944],[2017,94.015748031496],[2018,29.157967988866],[2019,58.938172043011],[2020,12.612612612613],[2021,76.101694915254],[2022,47.74078689692],[2023,43.528169943264]], "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: 'FR0004175842_marges_an', data: FR0004175842_marges_an, height: "350", width: "100%" });