var myChart = Highcharts.chart('graph_2100', {
chart: {
backgroundColor:'#ffffff',
type: 'spline'
},
credits: {enabled: false},
title: {
text: 'Shooting Performance'
},
subtitle: {
text: 'Individual Scores'
},
xAxis: {
title: {
text: 'Number of Competitions'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
yAxis: {
title: {
text: 'Score'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
tooltip: {
headerFormat: '{series.name}
',
pointFormat: '\u25CF {point.name} Score:{point.y}
',
valueSuffix: ''
},
legend: {
layout: 'vertical',
align: 'center',
verticalAlign: 'bottom',
borderWidth: 0
},
series: [{
name: 'Pistol - 50 Foot Precision Pistol (Bullseye) - NRA Gallery Course',
data: [{name:'02/04/2018 50 Foot Precision Pistol (Bullseye)',y:275},{name:'02/11/2018 50 Foot Precision Pistol (Bullseye)',y:273},{name:'02/18/2018 50 Foot Precision Pistol (Bullseye)',y:276},]
},{
name: 'Pistol - Air 10m - 30 shots',
data: [{name:'04/13/2020 10 Meter Air Pistol - 30 Shots',y:257},{name:'04/14/2020 10 Meter Air Pistol - 30 Shots',y:241},{name:'04/15/2020 10 Meter Air Pistol - 30 Shots',y:257},{name:'04/16/2020 10 Meter Air Pistol - 30 Shots',y:251},{name:'04/17/2020 10 Meter Air Pistol - 30 Shots',y:251},{name:'04/18/2020 10 Meter Air Pistol - 30 Shots',y:266},{name:'04/19/2020 10 Meter Air Pistol - 30 Shots',y:253},{name:'04/21/2020 10 Meter Air Pistol - 30 Shots',y:255},]
}]
});