You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/04/04 11:31:33 UTC

[GitHub] [incubator-echarts] xjh3173 opened a new issue #10219: 4.2.1版本横轴设置rotate后最后一个label加粗

xjh3173 opened a new issue #10219: 4.2.1版本横轴设置rotate后最后一个label加粗
URL: https://github.com/apache/incubator-echarts/issues/10219
 
 
   **version**
   4.2.1
   **code**
   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'
         }
       }]
     }
   ![image](https://user-images.githubusercontent.com/26913672/55552503-1b434f00-5710-11e9-8059-310112a27fda.png)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org