From 9f09d591c8232074f77e50760f1911182b826140 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Thu, 4 Apr 2024 17:11:02 +0200 Subject: [PATCH] reduce label axis y and fill --- components/content/ArticleSystemDistributionPlot.vue | 9 ++------- components/content/pdockqMatrix.vue | 12 ------------ 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/components/content/ArticleSystemDistributionPlot.vue b/components/content/ArticleSystemDistributionPlot.vue index 5e10e78f..f8538104 100644 --- a/components/content/ArticleSystemDistributionPlot.vue +++ b/components/content/ArticleSystemDistributionPlot.vue @@ -52,15 +52,10 @@ const axisOptions = ref<string[]>(["percent", "size"]) const plotY = ref<string>("percent") const plotFill = ref<string>("size") -const plotLabelPercent = ref<string>(`% of genomes encoding ${toValue(page)?.title ?? 'the system'}`) -const plotLabelCount = ref<string>(`Nb of genomes encoding ${toValue(page)?.title ?? 'the system'}`) +const plotLabelPercent = ref<string>('% of genomes') +const plotLabelCount = ref<string>('Nb genomes') -// onBeforeMount(() => { -// fetchSystemHits() -// fetchRefSeqTaxo() -// }) - onMounted(() => { fetchSystemHits() fetchRefSeqTaxo() diff --git a/components/content/pdockqMatrix.vue b/components/content/pdockqMatrix.vue index dbdc73ef..8596a41d 100644 --- a/components/content/pdockqMatrix.vue +++ b/components/content/pdockqMatrix.vue @@ -50,9 +50,6 @@ onMounted(async () => { } catch (error) { throw createError("Error while getting structure pdocks") } - - - }) @@ -61,15 +58,6 @@ const computedSystem = computed(() => { return toValPage?.system ?? toValPage?.title ?? undefined }) -// const computedSystem = computed(() => { -// const toValSystem = toValue(system) -// if (toValSystem === null) { -// return toValue(systemName).toLowerCase() ?? null -// } -// else { -// return toValSystem -// } -// }) const groupedPdocks = computed(() => { -- GitLab