如何在数据中调整节点大小
#6228
-
尝试在数据中设置size字段来调整节点大小,但是渲染出的图节点仍是一样大的
|
Beta Was this translation helpful? Give feedback.
Answered by
Aarebecca
Sep 5, 2024
Replies: 2 comments 3 replies
-
对于 对于
具体文档 矩形:https://g6-next.antv.antgroup.com/api/elements/nodes/rect 圆形:https://g6-next.antv.antgroup.com/api/elements/nodes/circle 以上内容基于 |
Beta Was this translation helpful? Give feedback.
0 replies
-
样式字段位于 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
tubehao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
样式字段位于
datum.style.size
而非datum.size
,这一点有别于 4.X