summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/js/trend.js
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/reporting/js/trend.js')
-rw-r--r--utils/test/reporting/js/trend.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/test/reporting/js/trend.js b/utils/test/reporting/js/trend.js
index ec48e75ef..f24213382 100644
--- a/utils/test/reporting/js/trend.js
+++ b/utils/test/reporting/js/trend.js
@@ -63,6 +63,13 @@ var trend = function(container, trend_data) {
.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); });
return trend;
}