Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图仅在窗口内对齐词云。请找到截图。它正在移出窗口,其中一部分被隐藏起来。
我正在玩弄云这个词,对 JS 有点陌生。但是,如果您从这里更改小提琴代码中的以下行:
.attr("transform", "translate(150,150)")
到这个下面,它就不会越界了。
.attr("transform", "translate(300,300)")