 
(function(){

var series = [{"name":"1985", "y": null },{"name":"1986", "y": null },{"name":"1987", "y": null },{"name":"1988", "y": null },{"name":"1989", "y": null },{"name":"1990", "y": null },{"name":"1991", "y": null },{"name":"1992", "y": null },{"name":"1993", "y": null },{"name":"1994", "y": null },{"name":"1995", "y": 581.0 },{"name":"1996", "y": 575.0 },{"name":"1997", "y": 590.0 },{"name":"1998", "y": 591.0 },{"name":"1999", "y": 622.0 },{"name":"2000", "y": 647.0 },{"name":"2001", "y": 674.0 },{"name":"2002", "y": 713.0 },{"name":"2003", "y": 825.0 },{"name":"2004", "y": 930.0 },{"name":"2005", "y": 1051.0 },{"name":"2006", "y": 1061.0 },{"name":"2007", "y": 1034.0 },{"name":"2008", "y": 1041.0 },{"name":"2009", "y": 1097.0 },{"name":"2010", "y": 1141.0 },{"name":"2011", "y": 1035.0 },{"name":"2012", "y": 804.0 },{"name":"2013", "y": 814.0 },{"name":"2014", "y": 819.0 },{"name":"2015", "y": 771.0 },{"name":"2016", "y": 837.0 },{"name":"2017", "y": 866.0 },{"name":"2018", "y": 1109.0 },{"name":"2019", "y": 1123.0 },]
var description = {"title":"GERD : Total R&D performed by UK Research & Innovation","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":"DMRS","unit":"m","preUnit":"£","source":"","date":"2019","number":"1123","sampleSize":"0"};

var sparklineDMRS = {
	chart: {
		backgroundColor: null,
		borderWidth: 0,
		type: 'area',
		
        marginRight:40,
		marginLeft:40,
		
		skipClone: true
	},
	title: {
		text: ''
	},
	subtitle: {
		text: '',
		y: 110
	},
	credits: {
		enabled: false
	},
	xAxis: {
		categories: ["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.sparklineDMRS = sparklineDMRS;
return sparklineDMRS;


 })()