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

echarts横坐标data的textStyle的color无效 #7954

Closed
ghost opened this issue Mar 16, 2018 · 1 comment
Closed

echarts横坐标data的textStyle的color无效 #7954

ghost opened this issue Mar 16, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 16, 2018

One-line summary [问题简述]

单独设置横坐标的每个坐标字体颜色无效

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:4.0+
  • Browser version [浏览器类型和版本]:chrome 64
  • OS Version [操作系统类型和版本]:windows10

Expected behaviour [期望结果]

能狗单独设置每个坐标的颜色

ECharts option [ECharts配置项]

option = {
xAxis: {
        type: 'category',
        nameTextStyle:{
            color:'#03ff00'
        },
        data: [{ 
            value: 'test',
            textStyle: {color: '#03ff00',fontSize:36},
        },
        'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'
        ]
    },
}

Other comments [其他信息]

image

@ghost ghost changed the title echarts横坐标data的testStyle的color无效 echarts横坐标data的textStyle的color无效x Mar 16, 2018
@ghost ghost changed the title echarts横坐标data的textStyle的color无效x echarts横坐标data的textStyle的color无效 Mar 16, 2018
@100pah 100pah closed this as completed in cb766b7 Mar 16, 2018
@evaseemefly
Copy link

evaseemefly commented May 25, 2021

这个后续有解决吗?

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