Clago opened a new issue #9526: x轴label自定义文字颜色textStyle无效
URL: https://github.com/apache/incubator-echarts/issues/9526
 
 
   文档描述如下:
   - axis.data
   类目型坐标轴文本标签数组,指定label内容。 数组项通常为文本,'\n'指定换行,如:
   当需要对个别标签进行个性化定义时,数组项可用对象,接受textStyle设置个性化标签,如:
   ```
   [
       'Jav', 'Feb', 'Mar',
        {
           value:'Apr',            //文本内容,如指定间隔名称格式器formatter,则这个值将被作为模板变量值或参数传入
           textStyle:{             //详见textStyle
               color : 'red'
               ...
           }
        },
       'May', '...'
   ]
   ```
   可是设置了textStyle里的color,没有生效。
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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