Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use colours from the Tango palette for charts

Roland Geidera1e078365801
diff --git a/wger/exercises/static/js/exercises.js b/wger/exercises/static/js/exercises.js
index 0ae92adf9..b2cdccc96 100644
--- a/wger/exercises/static/js/exercises.js
+++ b/wger/exercises/static/js/exercises.js
@@ -84,7 +84,8 @@ function draw_weight_log_chart(data, div_id, rep_i18n) {
right: 10,
height: 200,
legend: legend,
- target: '#svg-' + div_id
+ target: '#svg-' + div_id,
+ colors: ['#204a87', '#a40000', '#4e9a06', '#ce5c00', '#5c3566', '#2e3436', '8f5902']
});
}