Skip to content
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

怎么能把图片集成进去,让文字包围图片 #1

Open
cqgsm opened this issue Apr 24, 2017 · 1 comment
Open

怎么能把图片集成进去,让文字包围图片 #1

cqgsm opened this issue Apr 24, 2017 · 1 comment

Comments

@cqgsm
Copy link

cqgsm commented Apr 24, 2017

官方api说,提供的不是说,var wc1 = new Js2WordCloud(document.getElementById('container1'));container1不是canvas就用span填充么,咋还是canvas啊,
大佬,小弟求教育啊

@liangbizhi
Copy link
Owner

没有考虑到这点。为了做tooltip等功能,代码里面自动创建了一个canvas节点,所以所有创建出来的都是基于canvas的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants