var FR0010490920_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,5.7885892987724],[2010,-8.9430401041351],[2011,-26.50812129896],[2012,16.298193873377],[2013,4.0067983853835],[2014,8.5913711734975],[2015,-15.144563594407],[2016,-15.144563594407],[2017,-80.421885299934],[2018,-21142.857142857],[2019,-47.920015604087],[2020,-84.723436581765],[2021,8.8643593945821],[2022,53.843538378715],[2023,10.427614906501]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,7.2822180386788],[2010,-5.409176902754],[2011,-16.925436288941],[2012,10.545067057025],[2013,0.0944220192149],[2014,7.1596963033794],[2015,-18.800054296186],[2016,-18.800054296186],[2017,-79.029663810152],[2018,-23664.571428571],[2019,-73.923015355228],[2020,-136.23776283916],[2021,295.49310710498],[2022,47.182160768424],[2023,0.1547203030384]], "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: 'FR0010490920_marges_an', data: FR0010490920_marges_an, height: "350", width: "100%" });