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

官方实例Radar-Basic Radar Chart的刻度标签显示不了 #8055

Closed
wyy511 opened this issue Mar 29, 2018 · 1 comment
Closed

官方实例Radar-Basic Radar Chart的刻度标签显示不了 #8055

wyy511 opened this issue Mar 29, 2018 · 1 comment

Comments

@wyy511
Copy link

wyy511 commented Mar 29, 2018

One-line summary [问题简述]

官方示例的雷达图刻度标签显示不了,会报错
链接:http://echarts.baidu.com/examples/editor.html?c=radar

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:
  • Browser version [浏览器类型和版本]:最新google
  • OS Version [操作系统类型和版本]:win10

Expected behaviour [期望结果]

希望能显示刻度标签

ECharts option [ECharts配置项]

option = {
    title: {
        text: '基础雷达图'
    },
    tooltip: {},
    legend: {
        data: ['预算分配(Allocated Budget)', '实际开销(Actual Spending)']
    },
    radar: {
        // shape: 'circle',
        name: {
            textStyle: {
                color: '#fff',
                backgroundColor: '#999',
                borderRadius: 3,
                padding: [3, 5]
           }
        },
        axisTick: {
            normal:{
                show: true
            }
        },
        axisLine:{
            normal:{
                show: true
            }
        },
        axisLabel:{
            normal:{
                show: true
            }
        },
        indicator: [
           { name: '销售(sales)', max: 6500},
           { name: '管理(Administration)', max: 16000},
           { name: '信息技术(Information Techology)', max: 30000},
           { name: '客服(Customer Support)', max: 38000},
           { name: '研发(Development)', max: 52000},
           { name: '市场(Marketing)', max: 25000}
        ]
    },
    series: [{
        name: '预算 vs 开销(Budget vs spending)',
        type: 'radar',
        // areaStyle: {normal: {}},
        data : [
            {
                value : [4300, 10000, 28000, 35000, 50000, 19000],
                name : '预算分配(Allocated Budget)'
            },
             {
                value : [5000, 14000, 28000, 31000, 42000, 21000],
                name : '实际开销(Actual Spending)'
            }
        ]
    }]
};

Other comments [其他信息]

_20180329102000

运行后结果:刻度标签未显示
image

@100pah
Copy link
Member

100pah commented May 13, 2019

Fixed in #10036

@100pah 100pah closed this as completed May 13, 2019
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

2 participants