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
LunchFood opened this Issue Mar 16, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@LunchFood

LunchFood 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

@LunchFood LunchFood changed the title from echarts横坐标data的testStyle的color无效 to echarts横坐标data的textStyle的color无效x Mar 16, 2018

@LunchFood LunchFood changed the title from echarts横坐标data的textStyle的color无效x to echarts横坐标data的textStyle的color无效 Mar 16, 2018

@100pah 100pah closed this in cb766b7 Mar 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment