JIRA: FUNCTEST-483
Change-Id: I014faccf9358fff5c47d4be6f4d8f55fd7133691
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
stroke: #000;
shape-rendering: crispEdges;
}
stroke: #000;
shape-rendering: crispEdges;
}
+
+.dot {
+ fill: steelblue;
+ stroke: steelblue;
+ stroke-width: 1.5px;
+}
.attr("d", valueline(trend_data))
.attr("stroke", "steelblue")
.attr("fill", "none");
.attr("d", valueline(trend_data))
.attr("stroke", "steelblue")
.attr("fill", "none");
+
+ trend_svg.selectAll(".dot")
+ .data(trend_data)
+ .enter().append("circle")
+ .attr("r", 2.5)
+ .attr("cx", function(d) { return trend_x(d.date); })
+ .attr("cy", function(d) { return trend_y(d.score); });