Skip to content

【V5】tickMethod 返回的 start 和 end 计算有误 #5329

Answered by pearmini
BinghuiXie asked this question in Q&A
Discussion options

You must be logged in to vote

目前 G2 的约定是离散比例尺(ordinal 或者 point)没有或者不需要 tickMethod,因为它们的 tick 就是 domain。tickMethod 只适用于连续比例尺,如果对离散轴的 tick 有定制化需求,可以使用 labelFormatter 和 labelFilter 属性。

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@BinghuiXie
Comment options

@pearmini
Comment options

Answer selected by BinghuiXie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5328 on July 19, 2023 03:28.