var FR0000031122_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": [[2005,null],[2006,6.783849309959],[2007,5.343908464439],[2008,5.2749440159244],[2009,-0.8051731330830],[2010,-17.34361424848],[2011,-1.9702007141978],[2012,-3.4330745523349],[2013,-0.8894984326019],[2014,3.0146114322415],[2015,4.2787520626271],[2016,4.4920302688778],[2017,646956.52173913],[2018,5.02414001207],[2019,3.7148742092099],[2020,-54.383116883117],[2021,-11.526370939574],[2022,3.9101276853711],[2023,5.573137013225]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,null],[2006,4.2568071615069],[2007,3.8616564816019],[2008,3.1019324873517],[2009,-3.3959115561118],[2010,-16.941789748045],[2011,-3.3206091203875],[2012,-4.6502555299809],[2013,-7.1590909090909],[2014,-0.7947976878613],[2015,0.4528186039372],[2016,3.187892448881],[2017,70869.565217391],[2018,1.5426976463488],[2019,1.0666470501692],[2020,-64.033189033189],[2021,-22.996856444289],[2022,2.7583071268897],[2023,3.1113628035577]], "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: 'FR0000031122_marges_an', data: FR0000031122_marges_an, height: "350", width: "100%" });