javascript - How to add circle points for multiline chart? -
in example (jsfiddle.net/vinhnguyenle/lg8qe/2/), how can add circle points 2 line charts?
add @ bottom of script:
svg.selectall("circle.line2") .data(data) .enter().append("svg:circle") .attr("class", "line") .style("fill", "blue") .attr("cx", valueline2.x()) .attr("cy", valueline2.y()) .attr("r", 4.5);
Comments
Post a Comment