Skip to content

Commit

Permalink
Update LineChart.vue to adjust min-height and max-height of v-sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
devincowan committed Apr 26, 2024
1 parent 76d9fde commit 82488de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/LineChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<v-container>
<v-row>
<v-col cols="10">
<v-sheet min-height="70vh">
<v-sheet min-height="65vh" max-height="100%">
<Line :data="chartData" :options="options" ref="line" :plugins="[customCanvasBackgroundColor]" />
</v-sheet>
</v-col>
Expand Down Expand Up @@ -34,7 +34,7 @@ import { enUS } from 'date-fns/locale';
import { useChartsStore } from '@/stores/charts'
import { ref, onMounted } from 'vue'
import { customCanvasBackgroundColor } from '@/_helpers/charts/plugins'
// import { mdiPalette, mdiDownloadBox } from '@mdi/js'
import { mdiPalette, mdiDownloadBox } from '@mdi/js'
const chartStore = useChartsStore()
const props = defineProps({ data: Object, chosenVariable: Object })
Expand Down

0 comments on commit 82488de

Please sign in to comment.