Replies: 1 comment
-
chart.options({
scale: {
y: {
domain: [9, 10],
clamp: true, // 新增这一行
},
},
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ryanregal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
问题描述
下面是我的代码,我希望可以自定义我的y轴的domain,我在设置甘特图和折线图时,均运行无误,但是当我设置column/bar这种类型的图标时,它的底端超过了坐标轴的范围。应该如何解决这一问题?
重现链接
No response
重现步骤
No response
预期行为
No response
平台
屏幕截图或视频(可选)
补充说明(可选)
No response
Beta Was this translation helpful? Give feedback.
All reactions