You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/12/18 08:40:54 UTC

[GitHub] [incubator-echarts] lemon-2020 opened a new issue #11866: 发现一个小bug: ECharts v4.5.0 折线图配置项 title.backgroundColor设置背景色无效

lemon-2020 opened a new issue #11866: 发现一个小bug: ECharts v4.5.0 折线图配置项  title.backgroundColor设置背景色无效
URL: https://github.com/apache/incubator-echarts/issues/11866
 
 
   把ECharts版本降为v4.0.0后,背景色设置有效了. 我的title配置项代码如下: 
   `areaOption: {
                       title: {
                           //text: '近一个月活动举办情况',
                           text:'近一个月活动举办情况-设置此处背景色',
                           show:true,
                           left: 'right',//这个太神奇了,设置标题居中的.
                           padding:20,
                           textStyle: {
                               fontSize: 12,
                               align: 'center',
                               textShadowColor : 'RGBA(229, 241, 254, 1)',
                               rich:{
                                   a:{
                                       backgroundColor:'RGBA(229, 241, 254, 1)',
                                   }
                               }
                           },
                           backgroundColor :'#649FFF',//设置此处无效
                           borderColor:'#3fff56'
                       }
   }`

----------------------------------------------------------------
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org