var FR0000120222_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,null],[2009,null],[2010,4.4134043607532],[2011,6.1147005928196],[2012,9.3838647452627],[2013,5.2243882984963],[2014,7.603694155272],[2015,5.1949512903008],[2016,857931.03448276],[2017,956551.72413793],[2018,7.9333122270138],[2019,8.1646714322625],[2020,9.2440507580144],[2021,8.1737761687392]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,null],[2009,null],[2010,3.251982160555],[2011,2.9041497368947],[2012,3.5969590377851],[2013,2.4163089121918],[2014,3.5244590934308],[2015,2.5423538146557],[2016,413793.10344828],[2017,442758.62068966],[2018,4.2008747852227],[2019,4.1925166088044],[2020,4.9784451762554],[2021,4.8858806862899]], "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: 'FR0000120222_marges_an', data: FR0000120222_marges_an, height: "350", width: "100%" });