 
(function(){

var series = [{"name":"1981", "y": 3792.0 },{"name":"1982", "y": null },{"name":"1983", "y": 4163.0 },{"name":"1984", "y": null },{"name":"1985", "y": 5005.0 },{"name":"1986", "y": 5804.0 },{"name":"1987", "y": 6159.0 },{"name":"1988", "y": 6717.0 },{"name":"1989", "y": 7416.0 },{"name":"1990", "y": 8054.0 },{"name":"1991", "y": 7842.0 },{"name":"1992", "y": 8167.0 },{"name":"1993", "y": 8717.0 },{"name":"1994", "y": 8842.0 },{"name":"1995", "y": 9116.0 },{"name":"1996", "y": 9297.0 },{"name":"1997", "y": 9556.0 },{"name":"1998", "y": 10133.0 },{"name":"1999", "y": 11302.0 },{"name":"2000", "y": 11510.0 },{"name":"2001", "y": 12239.0 },{"name":"2002", "y": 12484.0 },{"name":"2003", "y": 12505.0 },{"name":"2004", "y": 12662.0 },{"name":"2005", "y": 13734.0 },{"name":"2006", "y": 14144.0 },{"name":"2007", "y": 15676.0 },{"name":"2008", "y": 15814.0 },{"name":"2009", "y": 15532.0 },{"name":"2010", "y": 16045.0 },{"name":"2011", "y": 17452.0 },{"name":"2012", "y": 17409.0 },{"name":"2013", "y": 18617.0 },{"name":"2014", "y": 19982.0 },{"name":"2015", "y": 21018.0 },{"name":"2016", "y": 22580.0 },{"name":"2017", "y": 23669.0 },{"name":"2018", "y": 25126.0 },{"name":"2019", "y": 25948.0 },]
var description = {"title":"Total GERD by sector of Performance: Business","contact":{"email":"RandD@ons.gov.uk ","name":"Cecil Prescott","telephone":"+44 (0)1633 456767"},"releaseDate":"2021-08-03T23:00:00.000Z","nextRelease":"","datasetId":"GERD","datasetUri":"/economy/governmentpublicsectorandtaxes/researchanddevelopmentexpenditure/datasets/governmentexpenditureonresearchanddevelopment","cdid":"GLBL","unit":"m","preUnit":"£","source":"","date":"2019","number":"25948","sampleSize":"0"};

var sparklineGLBL = {
	chart: {
		backgroundColor: null,
		borderWidth: 0,
		type: 'area',
		
        marginRight:40,
		marginLeft:40,
		
		skipClone: true
	},
	title: {
		text: ''
	},
	subtitle: {
		text: '',
		y: 110
	},
	credits: {
		enabled: false
	},
	xAxis: {
		categories: ["1981","1982","1983","1984","1985","1986","1987","1988","1989","1990","1991","1992","1993","1994","1995","1996","1997","1998","1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016","2017","2018","2019",],
		labels: {
			crop: false,
			style: {
				'color': '#707070',
			},
			formatter: function() {
				if (this.isFirst) {
					return this.value;
				}
				if (this.isLast) {
					return this.value;
				}
			},
			step: 1
		},
		tickLength: 0,
		lineColor: '#707070'
		
	},
	yAxis: {
		endOnTick: false,
		startOnTick: false,
		labels: {
			enabled: false
		},
		title: {
			text: null
		},
		tickPositions: [0]
	},
	legend: {
		enabled: false
	},
	tooltip: {
		enabled: false
	},
	plotOptions: {
		series: {
			animation: false,
			turboThreshold:0,
			lineWidth: 1,
			shadow: false,
			states: {
				hover: {
					lineWidth: 1
				}
			},
			marker: {
				radius: 1,
				states: {
					hover: {
						radius: 1
					}
				}
			},
			fillOpacity: 0.25,
			enableMouseTracking: false,
		},
		column: {
			negativeColor: '#910000',
			borderColor: 'silver'
		}
	},
	exporting: {
		enabled: false
	},
	annotationsOptions: {
		enabledButtons: false 
	},
	series: [{
		name: '',
		data : series,
		color: '#007dc3',
		marker: {
			symbol: 'circle',
			states: {
				hover: {
					
					radiusPlus: 0,
					lineWidthPlus: 0
				}
			}
		},
		dashStyle: 'Solid',
	}]
};

window.sparklineGLBL = sparklineGLBL;
return sparklineGLBL;


 })()