var chart = new Highcharts.Chart({
chart: {
renderTo: 'container'
},
xAxis: {
},
yAxis: {
labels:{
formatter:function(){
return this.value+"%";
}
},
plotBands:[{
color: 'red',
width: 1,
value: 90,
zIndex:999,
dashStyle:"dash",
},{
color: 'orange',
width: 1,
value: 60,
zIndex:999,
dashStyle:"dash",
}],
tickWidth: 1,
lineWidth: 1,
minorTickWidth:1,
minorGridLineWidth:0,
minorTickInterval:"auto",
minorTickLineWidth:1,
minorTickLength:5,
title: {
text: null
},
},
series: [{
data: [36,45,96,12,16,94,85,63,68,15,36,34,56,86,94,63,48,31,58,96,31,36,34,35,31,28,63]
}]
})
chart: {
renderTo: 'container'
},
xAxis: {
},
yAxis: {
labels:{
formatter:function(){
return this.value+"%";
}
},
plotBands:[{
color: 'red',
width: 1,
value: 90,
zIndex:999,
dashStyle:"dash",
},{
color: 'orange',
width: 1,
value: 60,
zIndex:999,
dashStyle:"dash",
}],
tickWidth: 1,
lineWidth: 1,
minorTickWidth:1,
minorGridLineWidth:0,
minorTickInterval:"auto",
minorTickLineWidth:1,
minorTickLength:5,
title: {
text: null
},
},
series: [{
data: [36,45,96,12,16,94,85,63,68,15,36,34,56,86,94,63,48,31,58,96,31,36,34,35,31,28,63]
}]
})