2013-07-24 3 views
0

$('#container').highcharts('StockChart', { ...을 사용하면 y 축의 최대 값이 표시되지 않습니다. StockChart없이 시도해도 괜찮습니다. 예 : http://jsfiddle.net/h5bSV/3/ 값 430이 누락되었습니다.y 축의 가장 큰 값이 표시되지 않습니다.

이 라벨을 표시 할 수 있습니까?

$(function() { 
$.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename=new-intraday.json&callback=?', function(data) { 

    // create the chart 
    $('#container').highcharts('StockChart', { 


     title: { 
      text: 'AAPL stock price by minute' 
     }, 
     tooltip:{ 
      formatter:function(){ 
       return "open: " + this.points[0].point.open + 'close: ' + this.points[0].point.close + ' high: ' + this.points[0].point.high + ' low:' + this.points[0].point.low; 
      } 

     }, 

     series : [{ 
      name : 'AAPL', 
      type: 'candlestick', 
      data : data, 
      tooltip: { valueDecimals: 2} 
     }] 
    }); 
}); 
}); 

답변

관련 문제