var FR0010221234_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": [[2009,50.145820331065],[2010,48.561816765086],[2011,55.232839843101],[2012,53.072190639358],[2013,46.24972178945],[2014,44.804930913032],[2015,43.29627207325],[2016,43.29627207325],[2017,41.770861647187],[2018,18873.720136519],[2019,39.822874876996],[2020,38.113118986153],[2021,28.138422886782],[2022,36.887808266759],[2023,50.693891982675]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,26.298481405914],[2010,25.734799813602],[2011,28.975415660082],[2012,27.638034420995],[2013,22.494250315305],[2014,24.05852072609],[2015,22.792674950948],[2016,22.792674950948],[2017,23.905952704539],[2018,9952.2184300341],[2019,23.495571871925],[2020,23.280919971838],[2021,17.351487154551],[2022,20.041681139284],[2023,27.835233801821]], "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: 'FR0010221234_marges_an', data: FR0010221234_marges_an, height: "350", width: "100%" });