From 5e3e0541c8001a010aeaa638c51d35737aab88d7 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Wed, 3 Apr 2024 16:05:35 +0200 Subject: [PATCH] change legend label --- components/content/ArticleSystemDistributionPlot.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/content/ArticleSystemDistributionPlot.vue b/components/content/ArticleSystemDistributionPlot.vue index 1d872d62..e214cb2f 100644 --- a/components/content/ArticleSystemDistributionPlot.vue +++ b/components/content/ArticleSystemDistributionPlot.vue @@ -104,7 +104,7 @@ const distributionOptions = computed(() => { ...toValue(margin), y: { label: `% of genomes encoding ${toValue(page)?.title ?? 'the system'}` }, x: { label: selectedTaxoRank.value, tickRotate: 45 }, - color: { scheme: "plasma", legend: true, domain: [0, 100], marginLeft: 10 }, + color: { scheme: "plasma", legend: true, domain: [0, 100], marginLeft: 10, label: "percentage" }, width: computedWidth.value - marginRight - marginLeft, marks: [ Plot.barY( -- GitLab