diff options
| -rw-r--r-- | BUGS | 2 | ||||
| -rw-r--r-- | app/static/js/chart.js | 12 |
2 files changed, 13 insertions, 1 deletions
@@ -0,0 +1,2 @@ +/workout/edit: + Adding a workout to the edit page does not work diff --git a/app/static/js/chart.js b/app/static/js/chart.js index 779d8d3..956b80e 100644 --- a/app/static/js/chart.js +++ b/app/static/js/chart.js @@ -18,14 +18,24 @@ async function exercise_chart(elem_id, exercise_id, exercise_name) { label: exercise_name, data: [], fill: false, + borderColor: 'rgb(75, 192, 192)', tension: 0.1 }] }, - option: { + options: { scales: { y: { beginAtZero: true } + }, + plugins: { + legend: { + labels: { + font: { + size: 18 + } + } + } } } }); |
