我在我的一个股票项目中使用Highcharts。一切都没问题,除了我无法隐藏x轴上的底部网格线,如附图所示。
更新:这是小提琴link
我的javascript中有以下属性:
xAxis: {
type: 'datetime',
maxZoom: 30 * 24 * 3600000,
tickInterval: 24 * 3600 * 1000,
tickLength: 0,
dateTimeLabelFormats: {
day: '%e'
},
labels: {
y: 24,
style: {
fontSize: '1.6em',
fontWeight: 'normal',
fontFamily: 'standardCondensed',
color: '#bcbdbd'
}
},
plotLines : [{
value : (function() {
// To Do ...
})(),
color : '#39484d',
dashStyle : 'solid',
width : 32,
label : {
text : ''
}
}]
},
yAxis: {
title: {
text: ''
},
opposite: true,
min: 0,
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}],
labels: {
format: '${value}',
y: 20,
style: {
fontSize: '2em',
fontWeight: 'normal',
fontFamily: 'standardCondensed',
color: '#bcbdbd'
}
}
},
有没有办法隐藏该行但是在底部显示月份数字?