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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -