Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
原因:
上个版本和柱线图保持一致,x 轴的 scale 默认设置为 ‘cat’ 类型。
但双轴图的 cat 类型,在某一方有空数据的情况下,会导致渲染错误,(见示例 https://riddle.alibaba-inc.com/riddles/7245c531 粗略看了眼,是 g2 在 syncScale 时,cat类型的时候两个 x 轴的排序没有对上。我再看下是在 g2 上修还是 g2 plot 上修)
这个 pr 先去除掉这个默认设置,随后再 fix cat 分类问题