var FR0000052292_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,25.456194038309],[2009,24.181162827143],[2010,27.832389203599],[2011,31.155849640997],[2012,32.105852300451],[2013,32.438478747204],[2014,31.54712766474],[2015,31.82606899401],[2016,32.611202952597],[2017,22880.952380952],[2018,35.161998625568],[2019,33.978847662492],[2020,32.436535511942],[2021,39.300823869962],[2022,40.48439924151],[2023,42.079392269308]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,16.445653405871],[2009,15.086454578697],[2010,17.564978340553],[2011,20.917218076869],[2012,21.236474268821],[2013,21.047725577927],[2014,20.851745738843],[2015,20.090890311919],[2016,21.150667025489],[2017,14541.666666667],[2018,23.543018051994],[2019,22.201237760409],[2020,21.682787116161],[2021,27.221108884436],[2022,29.020858472677],[2023,32.106948685484]], "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: 'FR0000052292_marges_an', data: FR0000052292_marges_an, height: "350", width: "100%" });