Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Set the number of ticks on the x-axis on the weight chart

Roland Geiderae70c2d55ea0
diff --git a/manager/static/js/workout-manager.js b/manager/static/js/workout-manager.js
index 1e4ced7b2..7f85f8720 100644
--- a/manager/static/js/workout-manager.js
+++ b/manager/static/js/workout-manager.js
@@ -382,6 +382,7 @@ function weight_chart(data)
var xAxis = d3.svg.axis()
.scale(x)
+ .ticks(6)
.orient("bottom");
var yAxis = d3.svg.axis()