2017-09-29 3 views
-1

enter image description hereHighcharts 마커 정렬은 아래와 같이 통과

옵션을 눈금 선 :

당신은 시리즈의 포인트와 동기화 틱 표시하기 위해 tickIntervalpointInterval에 대해 동일한 값을 가질 필요가
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 
         } 
       } 
+0

tickPositions를 사용하여이 HTTP에서보세요. highcharts.com/highcharts/series%3Cline%3E.pointPlacement – ewolden

답변