Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Small corrections to chart's padding values

Roland Geider8850b0f73cd9
diff --git a/wger/exercises/static/js/exercises.js b/wger/exercises/static/js/exercises.js
index 93f141a02..0ae92adf9 100644
--- a/wger/exercises/static/js/exercises.js
+++ b/wger/exercises/static/js/exercises.js
@@ -80,7 +80,7 @@ function draw_weight_log_chart(data, div_id, rep_i18n) {
aggregate_rollover: true,
full_width: true,
top: 10,
- left: 10,
+ left: 25,
right: 10,
height: 200,
legend: legend,
diff --git a/wger/weight/static/js/weight.js b/wger/weight/static/js/weight.js
index 21cce2a2e..e360aef86 100644
--- a/wger/weight/static/js/weight.js
+++ b/wger/weight/static/js/weight.js
@@ -22,6 +22,9 @@ $(document).ready(function () {
var chart_params = {
animate_on_load: true,
full_width: true,
+ top: 10,
+ left: 25,
+ right: 10,
height: 300,
show_secondary_x_label: true,
xax_count: 10,