【发布时间】:2016-05-10 00:50:05
【问题描述】:
我试图用dimplejs 绘制一个多折线图。但是对于我的图表来说,默认的线标记看起来有点“大”。有没有办法改变dimplejs中线标记的大小或颜色?
【问题讨论】:
标签: javascript series dimple.js
我试图用dimplejs 绘制一个多折线图。但是对于我的图表来说,默认的线标记看起来有点“大”。有没有办法改变dimplejs中线标记的大小或颜色?
【问题讨论】:
标签: javascript series dimple.js
绘制后可以修改形状:
// dimple's draw method will create the shapes in the svg
chart.draw();
// this will select the markers and set the radius to 2
svg.selectAll(".dimple-marker,.dimple-marker-back").attr("r", 2);
【讨论】: