echars设置横坐标倾斜

  1. xAxis : [  
  2.                 {  
  3.                     type : 'category',  
  4.                     data : [],  
  5.                     //设置字体倾斜  
  6.                     axisLabel:{  
  7.                         interval:0,  
  8.                         rotate:45,
  9.                         margin:2,  
  10.                         textStyle:{  
  11.                             fontWeight:"bolder",  
  12.                             color:"#000000"  
  13.                         }  
  14.                     },    
  15.                 }  
  16.             ],  

你可能感兴趣的:(echars设置横坐标倾斜)