xjh3173 opened a new issue #10220: 4.2.1版本横轴设置rotate后最后一个label加粗
URL: https://github.com/apache/incubator-echarts/issues/10220
 
 
   ### Version
   4.2.1
   
   ### Steps to reproduce
   option = {
   grid: [{
   left: 32,
   right: 32,
   top: 80,
   bottom: 15,
   containLabel: true
   }],
   tooltip: {
   trigger: 'axis',
   axisPointer: {
   type: 'shadow'
   }
   },
   xAxis: [{
   type: 'category',
   axisLine: {
   show: false
   },
   axisTick: {
   show: false
   },
   axisLabel: {
   interval: 0,
   margin: 10,
   rotate: 30,
   color: '#666'
   },
   data: ['福田区', '罗湖区', '龙岗区']
   }],
   yAxis: [{
   type: 'value',
   axisLine: {
   show: false
   },
   axisTick: {
   show: false
   },
   splitLine: {
   show: true
   }
   }],
   series: [{
   type: 'bar',
   barWidth: 16,
   data: [210, 130, 66],
   itemStyle: {
   normal: {
   color: '#ccc'
   }
   },
   label: {
   show: true,
   position: 'top',
   fontWeight: 'bold',
   color: '#000'
   }
   }]
   }
   
   ### What is expected?
   label不加粗
   
   ### What is actually happening?
   label加粗
   
   
![image](https://user-images.githubusercontent.com/26913672/55552683-9c9ae180-5710-11e9-89d0-4def20db36f0.png)
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to