diff --git a/client/src/components/WorkflowInvocationState/VegaWrapper.vue b/client/src/components/WorkflowInvocationState/VegaWrapper.vue index ec4ce67b8586..8a46fec2fd0a 100644 --- a/client/src/components/WorkflowInvocationState/VegaWrapper.vue +++ b/client/src/components/WorkflowInvocationState/VegaWrapper.vue @@ -1,5 +1,5 @@ - - diff --git a/client/src/components/WorkflowInvocationState/WorkflowInvocationMetrics.vue b/client/src/components/WorkflowInvocationState/WorkflowInvocationMetrics.vue index cb32e4f11288..40f46da6db23 100644 --- a/client/src/components/WorkflowInvocationState/WorkflowInvocationMetrics.vue +++ b/client/src/components/WorkflowInvocationState/WorkflowInvocationMetrics.vue @@ -275,18 +275,9 @@ function itemToPieChartSpec(item: piechartData) { type: "nominal", legend: { type: "symbol", - title: "", // should be item.category_title but it doesn't align right so just hide it - direction: "vertical", - titleAlign: "right", - padding: 10, - // rowPadding: 3, - labelOffset: 40, - // symbolOffset: 50, - labelLimit: 120, - // labelAlign: 'center', - columnPadding: 5, - // clipHeight: 20, - titleOrient: "top", + title: item.category_title, + titleFontSize: 16, + labelFontSize: 14, }, }, tooltip: [ @@ -381,6 +372,10 @@ function getTimingInTitle(timing: string): string { const timingInTitles = computed(() => { return getTimingInTitle(timing.value); }); + +const groupByInTitles = computed(() => { + return attributeToLabel[groupBy.value]; +});