Incubator-echarts: 数据视图中显示NaN

Created on 19 Jan 2018  ·  10Comments  ·  Source: apache/incubator-echarts

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 [其他信息]


bug high

Most helpful comment

+1 for this

All 10 comments

+1 for this

++1

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

++++++++1, unbelievable

+1

+1

+1

+1 , need this

+1 没人管么?

Was this page helpful?
0 / 5 - 0 ratings