From 955c7e88b3fe075bf35e0d02f21d6adf8dec1ea9 Mon Sep 17 00:00:00 2001 From: govind Date: Wed, 13 Mar 2024 15:18:04 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Added=20a=20slot=20to=20override=20?= =?UTF-8?q?chart=20labels=20in=20legend?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/lume-chart-legend/lume-chart-legend.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/lib/src/components/core/lume-chart-legend/lume-chart-legend.vue b/packages/lib/src/components/core/lume-chart-legend/lume-chart-legend.vue index 315b2ca7..bee8fc9e 100644 --- a/packages/lib/src/components/core/lume-chart-legend/lume-chart-legend.vue +++ b/packages/lib/src/components/core/lume-chart-legend/lume-chart-legend.vue @@ -18,7 +18,13 @@ :class="`lume-background-color--${dataset.color}`" data-j-chart-legend__symbol /> - {{ dataset.label || index }} + + {{ dataset.label || index }} +