New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(word-cloud): 添加词云图文档和demo #1571
Conversation
// 宽高设置最好根据 imageMask 做调整 | ||
width: 600, | ||
height: 400, | ||
autoFit: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
autoFit = true 可以运行吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以,我改一下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
autoFit = true
和width``height
一块设置时会有问题,我现在解决一下
已经 CR,主要添加 autoFit = true 的 demo。 |
autoFit: false, | ||
wordField: 'name', | ||
weightField: 'value', | ||
imageMask, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不支持 CDN 地址吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
啥意思?是直接指定字符串地址吗,这个不支持,那样的话需要render
方法异步执行
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感觉需要支持下。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的
width?: number; | ||
/** 单词所占盒子的高度 */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这几个新增的配置干啥的?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
暂时还没有用到
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用不到的要不要直接删除。
25e350a
to
76f9761
Compare
pr 问题不大,先合并了。存在的问题或者优化,下一个 pr 继续看。 |
#1536