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 2018/05/22 11:10:26 UTC

[GitHub] kenjican commented on issue #6526: 请问如何在title上添加图片或者字体图标(在线demo)

kenjican commented on issue #6526: 请问如何在title上添加图片或者字体图标(在线demo)
URL: https://github.com/apache/incubator-echarts/issues/6526#issuecomment-390952618
 
 
   谢谢,确实是对的。如果要加上背景图片和设置图片高度。可以这么改:
   
       title: {
           text: "{aaa| 走路数据分析}",
           textStyle: {
               rich: {
                   aaa: {
                       "backgroundColor":{"image":"xxx/yyy.png"},
                       "height":40
                   bbb: {
                       "backgroundColor":{"image":"xxx/yyy.png"},
                       "height":40
                   }
               }
           }
       },

----------------------------------------------------------------
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:
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