Make svg graph more generic, and make line of best fit the last line rendered so its always on top
This commit is contained in:
2
db.py
2
db.py
@@ -535,7 +535,7 @@ class DataBase():
|
||||
|
||||
# Return exercise data with SVG dimensions and data points
|
||||
return {
|
||||
'exercise_name': topsets[0]['exercise_name'],
|
||||
'title': topsets[0]['exercise_name'],
|
||||
'vb_width': vb_width,
|
||||
'vb_height': vb_height,
|
||||
'plots': [repetitions, weight, estimated_1rm],
|
||||
|
||||
Reference in New Issue
Block a user