var NL0000226223_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,-2.0220500628622],[2009,-12.085052253884],[2010,4.6384660849586],[2011,0.4776657807600],[2012,-24.832926493189],[2013,-5.776395441606],[2014,2.0177174409666],[2015,1.5875231992573],[2016,3.9026412021078],[2017,42987.012987013],[2018,14.565127187132],[2019,10.861584757681],[2020,12.066944627152],[2021,19.214798918022],[2022,28.112602458325],[2023,26.668980040687]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-8.0269477337623],[2009,-13.360891353813],[2010,8.0880820132756],[2011,6.7497307223403],[2012,-13.818609642665],[2013,-6.2111777414196],[2014,1.922284648575],[2015,2.5487826618386],[2016,1.7425079929525],[2017,28983.852813853],[2018,13.38951771024],[2019,4.0612878049721],[2020,6.7919407723757],[2021,13.408038664703],[2022,26.804318251286],[2023,23.053341504355]], "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: 'NL0000226223_marges_an', data: NL0000226223_marges_an, height: "350", width: "100%" });