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

add color on count

parent b01f7e4f
No related branches found
No related tags found
1 merge request!231System distribution plot edit article
Pipeline #127288 failed
...@@ -96,6 +96,7 @@ const distributionOptions = computed(() => { ...@@ -96,6 +96,7 @@ const distributionOptions = computed(() => {
marginRight: marginRight.value, marginRight: marginRight.value,
y: { label: `% of genomes encoding ${toValue(page)?.title ?? 'the system'}` }, y: { label: `% of genomes encoding ${toValue(page)?.title ?? 'the system'}` },
x: { label: selectedTaxoRank.value, tickRotate: 45 }, x: { label: selectedTaxoRank.value, tickRotate: 45 },
color: { scheme: "plasma", legend: true, domain: [0, 100] },
width: computedWidth.value - marginRight.value, width: computedWidth.value - marginRight.value,
marks: [ marks: [
Plot.barY( Plot.barY(
...@@ -103,6 +104,7 @@ const distributionOptions = computed(() => { ...@@ -103,6 +104,7 @@ const distributionOptions = computed(() => {
{ {
y: "size", y: "size",
x: "taxo", x: "taxo",
fill: "size",
tip: true, tip: true,
sort: { x: "-y" }, sort: { x: "-y" },
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment