-1
옵션을 눈금 선 :
당신은 시리즈의 포인트와 동기화 틱 표시하기 위해tickInterval
및
pointInterval
에 대해 동일한 값을 가질 필요가
var chartOptions = {
chart: {
backgroundColor: 'white',
type:'line'
},
title: {
text:null
},
xAxis: {
gridLineWidth:0.5,
gridLineColor:'#e1e1e1',
tickInterval:intervalPeriod,
tickWidth: 0,
type: 'datetime',
dateTimeLabelFormats: dateTimeLabelFormats
},
yAxis: {
gridLineWidth:0.5,
gridLineColor:'#e1e1e1',
allowDecimals:false,
tickAmount: 5,
title: {
text: null
}
},
tooltip:{
shared:true,
xDateFormat:'%e %b, %Y',
crosshairs:true
}
}
tickPositions
를 사용하여이 HTTP에서보세요. highcharts.com/highcharts/series%3Cline%3E.pointPlacement – ewolden