jee*_*wan 5 javascript highcharts highstock
我正在将 Highcharts 用于我的一个股票项目。一切都很好,除了我无法隐藏 x 轴上的底部网格线,如附图所示。
更新:这是小提琴链接
我的 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'
}
}
},
Run Code Online (Sandbox Code Playgroud)
有没有办法隐藏该行但在底部显示月份数字?
| 归档时间: |
|
| 查看次数: |
6284 次 |
| 最近记录: |