Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Some small changes to layout and axes

Roland Geider9d0715c20902
diff --git a/wger/weight/templates/overview.html b/wger/weight/templates/overview.html
index e8f2f84a1..8c6fd50fd 100644
--- a/wger/weight/templates/overview.html
+++ b/wger/weight/templates/overview.html
@@ -32,20 +32,20 @@ $(document).ready(function () {
data: MG.convert.date(json, 'date'),
target: '#weight_diagram',
animate_on_load: true,
+ point_size: 3,
x_accessor: 'date',
+ xax_count: 10,
+ xax_start_at_min: true,
+
y_accessor: 'weight',
+ y_extended_ticks: true,
+ min_y: min_y - 1,
+ max_y: max_y + 1,
height: 250,
width: $('#content').width(),
full_width: true,
- //y_rug: true,
- //x_rug: true,
-
- yax_count: 10,
- xax_count: 10,
- max_y: max_y + 1,
- min_y: min_y - 1,
show_secondary_x_label: true,
small_text: false
});