stockOptions() {
return {
rangeSelector: {
selected: 1
},
chart:{
type:"area",
zoomType: 'xy'
},
xAxis: {
minPadding: 0,
maxPadding: 0,
plotLines: [{
color: '#888',
value: 0.007,
width: 1,
label: {
text: '',
rotation: 90
}
}],
},
credits: {
enabled: false
},
yAxis: [{
lineWidth: 1,
gridLineWidth: 1,
title: null,
tickWidth: 1,
tickLength: 5,
tickPosition: 'inside',
labels: {
align: 'left',
x: 8
} },
{
opposite: true,
linkedTo: 0,
lineWidth: 1,
gridLineWidth: 0,
title: null,
tickWidth: 1,
tickLength: 10,
tickPosition: 'inside',
labels: {
align: 'right',
x: -8
}
}],
plotOptions: {
area: {
fillOpacity: 0.2,
lineWidth: 1,
step: 'center'
}
},
title: {
text: ''
},
series: [
{
name: 'Bids',
data:this.BidData,
color: '#27c779',
},
{
name: 'Asks',
data: this.AskData,
color: '#e94c43'
}
],
}
}