echarts icon indicating copy to clipboard operation
echarts copied to clipboard

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

Open maoyr opened this issue 9 years ago • 0 comments

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?

maoyr avatar Feb 20 '17 09:02 maoyr