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

series.dimensions指定维度图表无法绘制 #6252

Closed
lanyuechen opened this issue Jul 22, 2017 · 3 comments
Closed

series.dimensions指定维度图表无法绘制 #6252

lanyuechen opened this issue Jul 22, 2017 · 3 comments
Labels

Comments

@lanyuechen
Copy link
Contributor

One-line summary [问题简述]

使用dimensions指定维度名称时图表不能正常绘制

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]: 3.6.2
  • Browser version [浏览器类型和版本]: Chrome 版本 59.0.3071.115(正式版本) (64 位)
  • OS Version [操作系统类型和版本]: Mac OS X EL Capitan

Expected behaviour [期望结果]

通过dimensions指定维度名称,然后通过encode根据名称指定不动维度对应的坐标轴、tooltip等

ECharts option [ECharts配置项]

option = {
    dimensions: ['a', 'b'],
    encode: {
        x: 'a',
        y: 'b'
    },
    xAxis: [
        {
            type: 'category',
            data: ['1月','2月']
        }
    ],
    yAxis: [
        {
            type: 'value'
        }
    ],
    series: [
        {
            type:'bar',
            data:[
                ['1月', 2.0],
                ['2月', 4.9]
            ]
        }
    ]
};

Other comments [其他信息]

image

@Amy-2018
Copy link

hi,这个bug改完啥时候上线呢?

@100pah
Copy link
Member

100pah commented Jul 28, 2017

下个版本,8月初。

@iamwelk
Copy link

iamwelk commented Jan 23, 2018

同样的问题,line的dimensions配置之后无法渲染出来图表

demo链接:http://gallery.echartsjs.com/editor.html?c=xH1C6W84rM&comment=0

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

No branches or pull requests

5 participants