trague opened a new issue #10918: xAxis.axisLabel.rich.align不起作用
URL: https://github.com/apache/incubator-echarts/issues/10918
 
 
   ### Version
   4.2.1
   
   ### Reproduction link
   
[https://gallery.echartsjs.com/editor.html?c=xaoyw2XUvE&v=1](https://gallery.echartsjs.com/editor.html?c=xaoyw2XUvE&v=1)
   
   ### Steps to reproduce
   ```
   option = {
       title: {
           text: 'Awesome Chart'
       },
       xAxis: {
           data: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
           boundaryGap: false,
           axisLabel: {
               show: true,
               color: '#6C84A2',
               align: 'right',
               formatter: function(v, index) {
                   return '{a|'   v   '}'
               },
               rich: {
                   a: {
                       backgroundColor: '#F00',
                       align: 'center'
                   },
               }
           },
       },
       yAxis: {},
       series: [{
           type: 'line',
           data: [220, 182, 191, 234, 290, 330, 310]
       }]
   };
   ```
   
   ### What is expected?
   能够单独为指定的label设置align
   
   ### What is actually happening?
   未起作用
   
   <!-- 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