diff --git a/src/components/ChartView.vue b/src/components/ChartView.vue index c06f75f..e3068bd 100644 --- a/src/components/ChartView.vue +++ b/src/components/ChartView.vue @@ -66,7 +66,16 @@ export default { if (typeof y.max_value === 'number') range.suggestedMax = y.max_value; - return { id: index, ticks: range }; + return { + id: index, + ticks: range, + scaleLabel: { + labelString: y.label, + display: true, + lineHeight: 1, + padding: 0.1 + } + }; } ) }