Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

solve weird weight graph

alois323b4f94a409
diff --git a/wger/weight/static/js/weight.js b/wger/weight/static/js/weight.js
index 912b07dbc..8351f7db0 100644
--- a/wger/weight/static/js/weight.js
+++ b/wger/weight/static/js/weight.js
@@ -44,6 +44,7 @@ $(document).ready(function () {
left: 30,
right: 10,
show_secondary_x_label: true,
+ interpolate: d3.curveLinear,
xax_count: 10,
target: '#weight_diagram',
x_accessor: 'date',