antvis/G6

comboCombined布局,内部combo布局为concentric时,concentric参数sortBy未生效 #5092

SuperGall posted onGitHub

问题描述

comboCombined布局,combo的布局设定为concentric(innerLayout: concentric),设置concentric的参数sortBy进行排序,但是排序没有生效。

重现链接

https://codesandbox.io/s/vibrant-sun-kms3cd?file=/index.js

重现步骤

无特定步骤

预期行为

预期结果: combo内部按sortBy排序

实际结果: combo内部未按照sortBy排序

平台

  • 操作系统: Windows
  • 网页浏览器: Google Chrome
  • G6 版本: 4.8.23

屏幕截图或视频(可选)

预期效果图: 1698388601037.png

当前结果图: 1698388636534.png

补充说明(可选)

No response


hi @SuperGall, welcome!

posted by github-actions[bot] over 1 year ago

Hi @SuperGall, Please star this repo if you find it useful! Thanks :star:! 你好 @SuperGall。如果该仓库对你有用,可以 star 一下,感谢你的 :star:!

posted by github-actions[bot] over 1 year ago

发现初始化参数少传了combos😂,传了后就正常了

posted by SuperGall over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests