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

Comments

Projects
None yet
5 participants
@lanyuechen
Contributor

lanyuechen commented Jul 22, 2017

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

@pissang pissang added the bug label Jul 22, 2017

@100pah 100pah closed this in d8e82cd Jul 22, 2017

@Amy-2018

This comment has been minimized.

Show comment
Hide comment
@Amy-2018

Amy-2018 Jul 27, 2017

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

Amy-2018 commented Jul 27, 2017

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

@100pah

This comment has been minimized.

Show comment
Hide comment
@100pah

100pah Jul 28, 2017

Member

下个版本,8月初。

Member

100pah commented Jul 28, 2017

下个版本,8月初。

@iamwelk

This comment has been minimized.

Show comment
Hide comment
@iamwelk

iamwelk Jan 23, 2018

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

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

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