var FR0010204453_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,-201.76511466296],[2009,-20.867022191639],[2010,-14.081175298805],[2011,-7.4663007506659],[2012,1.8074147184011],[2013,1.5880454024784],[2014,0.1730274866522],[2015,366.66666666667],[2016,260.86956521739],[2017,394.44444444444],[2018,5.4020100502513],[2019,5.3386923675849],[2020,9.5789939418692],[2021,8.7048155863252],[2022,9.4661277673886],[2023,6.3709002143029]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-191.27171646977],[2009,-25.528986753828],[2010,-15.201693227092],[2011,-79.401081604649],[2012,2.3009067916847],[2013,2.0983026137665],[2014,1.9922879177378],[2015,297.33333333333],[2016,256.52173913043],[2017,374.44444444444],[2018,3.9158054423059],[2019,3.8972243850087],[2020,8.1223197876251],[2021,7.5677000367602],[2022,8.0255776075285],[2023,5.6030995870056]], "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: 'FR0010204453_marges_an', data: FR0010204453_marges_an, height: "350", width: "100%" });