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

[WIP] series无法设置name为set、get #8237

Closed
orca-zhang opened this issue Apr 27, 2018 · 1 comment
Closed

[WIP] series无法设置name为set、get #8237

orca-zhang opened this issue Apr 27, 2018 · 1 comment
Labels
stale Inactive for a long time. Will be closed in 7 days.

Comments

@orca-zhang
Copy link

One-line summary [问题简述]

series设置name为set、get后,无法正常显示
测试时使用折线图
控制台抛错信息为set、get不为function,猜测属性覆盖了方法

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:2.0
  • Browser version [浏览器类型和版本]:Chrome 63.0
  • OS Version [操作系统类型和版本]:Windows 10 (1709)

Expected behaviour [期望结果]

能够正常显示

ECharts option [ECharts配置项]

option = {
    title: {
        text: 'linked_hash_set'
    },
    tooltip: {
        trigger: 'axis'
    },
    legend: {
        data:['get','set']
    },
    grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
    },
    toolbox: {
        feature: {
            saveAsImage: {}
        }
    },
    xAxis: {
        type: 'category',
        data: ['insert','count','find','erase','pop_front','clear']
    },
    yAxis: {
        type: 'value'
    },
    series: [
        {
            name:'get',
            type:'line',
            data:[2.50, 1.61, 1.75, 0.05, 0.00, 0.00]
        },
        {
            name:'set',
            type:'line',
            data:[0.16, 0.29, 0.15, 0.11, 0.00, 0.00]
        }
    ]
};

Other comments [其他信息]

@stale
Copy link

stale bot commented Apr 26, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Inactive for a long time. Will be closed in 7 days. label Apr 26, 2020
@stale stale bot closed this as completed May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Inactive for a long time. Will be closed in 7 days.
Projects
None yet
Development

No branches or pull requests

1 participant