Self hosted FLOSS fitness/workout, nutrition and weight tracker
Set a clip path so the line doesn't go over the axis while zooming
Roland Geidera02e11ee589e
diff --git a/manager/static/js/workout-manager.js b/manager/static/js/workout-manager.jsindex afb289b7d..5d8ab3a5b 100644--- a/manager/static/js/workout-manager.js+++ b/manager/static/js/workout-manager.js@@ -569,6 +569,7 @@ function weight_chart(data)focus.append("path").attr("class", "line")+ .attr("clip-path", "url(#clip)").attr("d", line);focus.selectAll(".dot")