Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

feat: y-axes label title #37

Merged
merged 1 commit into from
Oct 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions components/chart/Chart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ const options = {
radius: 0,
},
},
scales: {
yAxes: {
title: {
display: true,
text: "Gain (%)",
},
},
},
};
const chartCanvas = ref<HTMLCanvasElement | null>(null);
const props = defineProps<{
Expand Down