Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Don't forget to clip points too

Roland Geidercafb0a85fdbc
diff --git a/manager/static/js/workout-manager.js b/manager/static/js/workout-manager.js
index 5d8ab3a5b..0ce7f0580 100644
--- a/manager/static/js/workout-manager.js
+++ b/manager/static/js/workout-manager.js
@@ -575,6 +575,7 @@ function weight_chart(data)
focus.selectAll(".dot")
.data(data.filter(function(d) { return d.y; }))
.enter().append("circle")
+ .attr("clip-path", "url(#clip)")
.attr("class", "dot modal-dialog")
.attr("href", function(d) { return '/weight/' + d.id + '/edit/'; })
.attr("id", function(d) { return d.id; })