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

数据视图中显示NaN #7533

Closed
iamziyue opened this issue Jan 19, 2018 · 11 comments · Fixed by #11849
Closed

数据视图中显示NaN #7533

iamziyue opened this issue Jan 19, 2018 · 11 comments · Fixed by #11849
Assignees

Comments

@iamziyue
Copy link

One-line summary [问题简述]

http://www.echartsjs.com/gallery/editor.html?c=dataset-simple0
官网示例,工具栏加上数据视图图标后,点击打开数字不显示,都显示NaN字样

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:应该是4.x
  • Browser version [浏览器类型和版本]:QQ浏览器10预览版,Chrome内核
  • OS Version [操作系统类型和版本]:Win10家庭版

Expected behaviour [期望结果]

显示数字

ECharts option [ECharts配置项]

option = {

    legend: {},
    tooltip: {},
    dataset: {
        source: [
            ['product', '2015', '2016', '2017'],
            ['Matcha Latte', 43.3, 85.8, 93.7],
            ['Milk Tea', 83.1, 73.4, 55.1],
            ['Cheese Cocoa', 86.4, 65.2, 82.5],
            ['Walnut Brownie', 72.4, 53.9, 39.1]
        ]
    },
    xAxis: {type: 'category'},
    yAxis: {},
    // Declare several bar series, each will be mapped
    // to a column of dataset.source by default.
    series: [
        {type: 'bar'},
        {type: 'bar'},
        {type: 'bar'}
    ],
    "toolbox": {
    "feature": {
      "dataView": {}
    }}
}

Other comments [其他信息]

@pissang pissang added the bug label Jan 19, 2018
@zhanglin00129
Copy link

+1 for this

@huzhenlong
Copy link

++1

@simon-shuffle
Copy link

++++1 ,this upset me a lot ~

@renjunzhou
Copy link

++++++++1, unbelievable

@never615
Copy link

+1

@Ovilia Ovilia added the FAQ label Sep 6, 2018
@hero1981
Copy link

+1

1 similar comment
@yunyun2017
Copy link

+1

@Ovilia Ovilia added priority: high and removed FAQ labels Aug 29, 2019
@hailongma
Copy link

+1 , need this

@AspirinMrmi
Copy link

+1 没人管么?

@1234567845246
Copy link

+1

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

Successfully merging a pull request may close this issue.