Replies: 1 comment
-
可以自定义一个图片形状。 import { register } from '@antv/g2';
register('shape.tree.image', Image);
function Image() {}
chart.options({
type: 'tree',
style: {
nodeShape: 'image'
}
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如题,我想在node上显示图片。找不到相关的API
Beta Was this translation helpful? Give feedback.
All reactions