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.
我正在尝试为我拥有的每组点设置不同的绘图符号。代码在这里。我使用了这段代码
shape: shapes[i]
但我无法获得不同的符号。我只能得到圈子。我哪里错了?
只需在调用之前添加以下代码d3.select('#chart svg')
d3.select('#chart svg')
//We want to show shapes other than circles. chart.scatter.onlyCircles(false);
希望能帮助到你。