我有这个xAxis
配置:
xAxis: {
type: 'datetime',
crosshair: true,
showFirstLabel: true,
showLastLabel: true,
categories: props.currentPeriodDays,
labels: {
step: 20
}
}
最佳答案
您是否尝试过添加 gridLineWidth: 0
或 tickWidth: 0
?
所以代码看起来像这样:
xAxis: {
type: 'datetime',
crosshair: true,
showFirstLabel: true,
showLastLabel: true,
gridLineWidth: 0,
tickWidth: 0,
categories: props.currentPeriodDays,
labels: {
step: 20
}
}
希望这有帮助
关于javascript - Highcharts:隐藏类别线,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46955117/