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

Commit

Permalink
Merge pull request #37 from ppodds/feat/editor
Browse files Browse the repository at this point in the history
feat: y-axes label title
  • Loading branch information
wst24365888 authored Oct 22, 2022
2 parents e5d7cf6 + 3a733f2 commit 4c39a40
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 4c39a40

Please sign in to comment.