2013-03-26 3 views

답변

3

는 것 같습니다. 각 시리즈는 yAxis : n을 지정합니다. 여기서 n은 대칭하고자하는 축이고 n yAxis 항목을 정의해야합니다. 예를 들어 highstock 데모 중 하나를 수정했습니다 : http://jsfiddle.net/ykfmG/

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

     seriesOptions[i] = { 
      name: name, 
      data: data, 
      yAxis:i 
     }; 
} 



     yAxis: [{ 
      labels: { 
       formatter: function() { 
        return (this.value > 0 ? '+' : '') + this.value + '%'; 
       } 
      }, 
      plotLines: [{ 
       value: 0, 
       width: 2, 
       color: 'silver' 
      }] 
     },{opposite:true},{opposite:true},{opposite:true}], 
+0

완벽하게, 정말 고마워요 :) – saulob

관련 문제