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

图表类型排序不固定的问题求助 #50

Closed
junmaqiang opened this issue Dec 9, 2016 · 4 comments
Closed

图表类型排序不固定的问题求助 #50

junmaqiang opened this issue Dec 9, 2016 · 4 comments

Comments

@junmaqiang
Copy link

01

02

@junmaqiang
Copy link
Author

03

@dxq613
Copy link
Member

dxq613 commented Dec 9, 2016

分类字段的顺序由在数据中的顺序决定的,如果希望固定顺序可以在列定义里面指定顺序:

chart.source(frame, {
  type: {
    value: ['息前手数',xxxx,xxxx]
  }
});

@junmaqiang
Copy link
Author

设置了无效,很奇怪

@simaQ
Copy link
Contributor

simaQ commented Jan 18, 2017

你好,可以参考下 api: https://antv.alipay.com/g2/api/scale.html#cat

@dxq613 dxq613 closed this as completed Mar 14, 2017
simaQ pushed a commit that referenced this issue Nov 22, 2017
BUGS 修复

Closed #47 #49 #50 #51 #53 #56 

See merge request !94
simaQ pushed a commit that referenced this issue Nov 22, 2017
BUGS 修复

Closed #47 #49 #50 #51 #53 #56 

See merge request !94
simaQ pushed a commit that referenced this issue Nov 22, 2017
BUGS 修复

Closed #47 #49 #50 #51 #53 #56 

See merge request !94
simaQ pushed a commit that referenced this issue Nov 22, 2017
BUGS 修复

Closed #47 #49 #50 #51 #53 #56 

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

No branches or pull requests

3 participants