Skip to content

Commit

Permalink
use correct chart config for axis label (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
kickster97 authored Aug 5, 2024
1 parent 68b8f8b commit cc9c0f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions static/js/chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ function render (id, unit, options = {}, stacked = false) {
}
},
y: {
scaleLabel: {
title: {
display: true,
labelString: unit,
fontSize: 14
text: unit,
fontsize: 14
},
ticks: {
beginAtZero: true,
Expand Down

0 comments on commit cc9c0f7

Please sign in to comment.