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

Commit

Permalink
feat: y-axes label title
Browse files Browse the repository at this point in the history
  • Loading branch information
ppodds committed Oct 22, 2022
1 parent e5d7cf6 commit 3a733f2
Showing 1 changed file with 8 additions and 0 deletions.
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

0 comments on commit 3a733f2

Please sign in to comment.