javascript - d3 line not drawing -
no matter can't line show up!
even trying doesn't show on graph!
var svg, myline; svg = d3.select(element).append("svg").attr("width", 400).attr("height", 400); myline = d3.svg.line(); svg.append("svg:path").attr("d", myline([[0, 0], [100, 100]]));
i using d3 server:
<script src="http://d3js.org/d3.v3.min.js"></script>
perhaps should include stroke-width
style.
Comments
Post a Comment