var FR0010483768_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,42.529916694925],[2009,48.235294117647],[2010,51.737098882357],[2011,53.471107315685],[2012,49.158761596998],[2013,44.799014080814],[2014,48.807874369718],[2015,0],[2016,0],[2017,0],[2018,44.735661831285],[2019,43.829866695378],[2020,40.565576199948],[2021,46.377271079302],[2022,41.444769961392],[2023,43.473157169144]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,27.684127094373],[2009,27.91660461653],[2010,30.077270407985],[2011,34.606807368549],[2012,29.719934674589],[2013,27.650662960729],[2014,33.252370999829],[2015,9060.0943396226],[2016,7595.7918552036],[2017,7745.1851851852],[2018,32.084968680873],[2019,30.184984556582],[2020,23.003181767863],[2021,32.855996468516],[2022,26.854813870365],[2023,28.704120303875]], "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: 'FR0010483768_marges_an', data: FR0010483768_marges_an, height: "350", width: "100%" });