Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当设置仪表盘 title color: 'auto',mouseover 显示 tootip 的同时为何 title 会变色? #5109

Closed
maoyr opened this issue Feb 20, 2017 · 0 comments

Comments

@maoyr
Copy link

maoyr commented Feb 20, 2017

One-line summary [问题简述]

仪表盘设置 title 的 color: 'auto',mouseover 显示 tootip 的同时为何 title 会变色?

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:ECharts 3
  • Browser version [浏览器类型和版本]:chrome 56.0.2924.87 (64-bit)
  • OS Version [操作系统类型和版本]:win7 (64-bit)

Expected behaviour [期望结果]

鼠标移入显示 tootip 时,title 不变色。

ECharts option [ECharts配置项]

option = {
tooltip : {
        formatter: "{a} <br/>{b} : {c}"
    },
    series: [
        {
            name: '业务指标',
            type: 'gauge',
            min:0,
            max:100,
            splitNumber:10,
            radius: '50%',
            axisLine: {    
                lineStyle: {    
                    width: 10,
                    color: [[0.1, '#85b6b2'],[0.9, '#6d4f8d'],[1, '#cd5e7e']]
                }
            },
            axisLabel: {            
                textStyle: {       
                    color: 'auto'
                }
            },
            axisTick: {            
                length :15,        
                lineStyle: {       
                    color: 'auto'
                }
            },
            splitLine: {           
                length :20,        
                lineStyle: {       
    
                    color: 'auto'
                }
            },
            title : {
                textStyle: {       
                    color: 'auto'
                }
            },
            detail : {
                textStyle: {    
                    color: 'auto'
                },
            },
            data: [{value: 10, name: '完成率(%)'}]
        }
    ]
}

Other comments [其他信息]

这是不是bug?

@100pah 100pah closed this as completed in fc27a72 Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant