Skip to content
Snippets Groups Projects
Commit e175ffb0 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

update computed width for figure

parent f5128a7b
No related branches found
No related tags found
No related merge requests found
Pipeline #112621 passed
...@@ -31,7 +31,7 @@ const sanitizedRefseq = computed(() => { ...@@ -31,7 +31,7 @@ const sanitizedRefseq = computed(() => {
}); });
const computedWidth = computed(() => { const computedWidth = computed(() => {
return Math.max(width.value / 1.5, 550); return Math.max(width.value, 550);
}); });
const height = computed(() => { const height = computed(() => {
...@@ -177,9 +177,6 @@ const computedDistriTaxoOptions = computed(() => { ...@@ -177,9 +177,6 @@ const computedDistriTaxoOptions = computed(() => {
<v-card class="my-3"> <v-card class="my-3">
<v-toolbar color="primary"><v-toolbar-title> Distribution Systems</v-toolbar-title></v-toolbar> <v-toolbar color="primary"><v-toolbar-title> Distribution Systems</v-toolbar-title></v-toolbar>
<v-card-text> <v-card-text>
<v-select v-model="selectedTaxoRank" :items="availableTaxo" density="compact"
label="Select taxonomic rank"></v-select>
<v-switch v-model="facetDistriSystem" label="Facet" color="primary"></v-switch>
<PlotFigure :options="unref(computedDistriSystemOptions)" defer></PlotFigure> <PlotFigure :options="unref(computedDistriSystemOptions)" defer></PlotFigure>
</v-card-text> </v-card-text>
</v-card> </v-card>
...@@ -188,7 +185,7 @@ const computedDistriTaxoOptions = computed(() => { ...@@ -188,7 +185,7 @@ const computedDistriTaxoOptions = computed(() => {
<v-card-text> <v-card-text>
<v-select v-model="selectedTaxoRank" :items="availableTaxo" density="compact" <v-select v-model="selectedTaxoRank" :items="availableTaxo" density="compact"
label="Select taxonomic rank"></v-select> label="Select taxonomic rank"></v-select>
<v-switch v-model="facet" label="Facet" color="primary"></v-switch> <!-- <v-switch v-model="facet" label="Facet" color="primary"></v-switch> -->
<PlotFigure defer :options="unref(computedDistriTaxoOptions)"></PlotFigure> <PlotFigure defer :options="unref(computedDistriTaxoOptions)"></PlotFigure>
</v-card-text> </v-card-text>
</v-card> </v-card>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment