2013-03-06 52 views

回答

0

你也可以使用该功能setExtremes

例如,负载事件中:

// ...the setting object: 

// some settings... 

chart:{ 
     renderTo: 'container', 
     type: 'column', 
     spacingBottom: 60, 
     marginLeft: 50, 
     marginTop: 70, 
     events: { 
        load:function(event){      
              var yAxis0=this.yAxis[0]; 
              yAxis0.setExtremes(0, 5 , true, true); 
             } 
       } 
}, 

// other settings.... 

的优势,这种方法是,你可以在开始动态地(而不是改变它舞台)

相关问题