Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Reduce number of ticks on x axis

Roland Geiderc2e9a255cc22
diff --git a/wger/weight/static/js/weight.js b/wger/weight/static/js/weight.js
index 56d9ac3d4..fcb507c03 100644
--- a/wger/weight/static/js/weight.js
+++ b/wger/weight/static/js/weight.js
@@ -48,6 +48,7 @@ $(document).ready(function () {
target: '#weight_diagram',
x_accessor: 'date',
y_accessor: 'weight',
+ xax_count: 5,
min_y_from_data: true,
colors: ['#266dd3']
};