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/06/27 09:05:45 UTC

[GitHub] [incubator-echarts] yangnzhi commented on issue #4829: echarts3如何实现“暂无数据”

yangnzhi commented on issue #4829: echarts3如何实现“暂无数据”
URL: https://github.com/apache/incubator-echarts/issues/4829#issuecomment-506261515
 
 
   myChart3.showLoading({
                 text: '暂无数据',
                 color: '#ffffff',
                 textColor: '#8a8e91',
                 maskColor: 'rgba(255, 255, 255, 0.8)',
           }
    );
   
   把动画效果color设为和你背景一致,这样就可以"隐藏"动画效果,只会显示暂无数据文字,比如我这里背景颜色是白色,我将动画效果color就设为#ffffff
   
   

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