Skip to content

关于-度量类型和theme主题设置的bug #4970

Answered by hustcc
cow-Rong asked this question in Q&A
Discussion options

You must be logged in to vote

在 4.x 中有几种解法:

  1. 把 x 轴的数据转换成 string 类型的
  2. 设置 x 轴 scale 类型为 cat
chart.scale('x-field', { type: 'cat' })

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hustcc
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 #4706 on May 10, 2023 01:11.