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

雷达图的系列数据不支持修改线条颜色 #3441

Closed
yugl opened this Issue Jun 16, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@yugl
Copy link

yugl commented Jun 16, 2016

问题描述 (One-line summary)

雷达图的系列数据不支持修改线条颜色; 对应的配置选项为series[i]-radar.data[i].lineStyle.normal.color

版本及环境 (Version & Environment)

  • ECharts 3 (ECharts version):
  • chrome 44.0.2403.125 m (Browser version):
    +win7 (OS Version):

重现步骤 (Steps to reproduce)

image

期望结果 (Expected behaviour)

希望能支持线条颜色修改

可能哪里有问题 (What went wrong)

ECharts配置项 (ECharts option)

option = {
 title: {
        text: '自定义雷达图'
    },
    legend: {
        data: ['图一','图二', '张三', '李四']
    },
    radar: [
        {
            indicator: [
                { text: '指标一' },
                { text: '指标二' },
                { text: '指标三' },
                { text: '指标四' },
                { text: '指标五' }
            ]
        } 
    ],
    series: [
        {
            name: '雷达图',
            type: 'radar',
            data: [
                {
                    value: [100, 8, 0.40, -80, 2000],
                    name: '图一',
                    lineStyle: {
                        normal: {
                            color: '#000000',
                            type: 'dotted'
                        }
                    }
                },
                {
                    value: [60, 5, 0.30, -100, 1500],
                    name: '图二',
                    lineStyle: {
                        normal: {
                            color: 'red',
                            width: 5
                        }
                    }
                }
            ]
        } 
    ]
}

其他信息 (Other comments)

@pissang pissang closed this in 8d45c3b Jun 16, 2016

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