var FR0004034320_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,6.2218988017271],[2009,7.2529897325269],[2010,6.7110671159836],[2011,6.7170549528721],[2012,5.5340309561974],[2013,3.9953345504071],[2014,4.8849845776028],[2015,3.9574602299233],[2016,7083.3333333333],[2017,4258.064516129],[2018,-24.974270936888],[2019,4.9216968509131],[2020,7.9013586491437],[2021,10.286095664787],[2022,8.9274236961877],[2023,7.4321560070912]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,6.4896909717169],[2009,3.9027722725255],[2010,3.5582928552582],[2011,3.1495642895252],[2012,2.0060371895153],[2013,1.2308383320293],[2014,2.5811835724816],[2015,1.817251232811],[2016,-27163.333333333],[2017,2492.2580645161],[2018,-30.192124935951],[2019,-9.9421442436349],[2020,6.4036036429713],[2021,11.224108821421],[2022,7.4155397138709],[2023,6.9548615846175]], "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: 'FR0004034320_marges_an', data: FR0004034320_marges_an, height: "350", width: "100%" });