Skip to content

Commit 6991624

Browse files
committed
Fix - Fixed dumbbell error when useGradient is set to false
1 parent f6de7b4 commit 6991624

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-data-ui",
33
"private": false,
4-
"version": "2.1.46",
4+
"version": "2.1.47",
55
"type": "module",
66
"description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
77
"keywords": [

src/components/vue-ui-dumbbell.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ onMounted(() => {
200200
201201
const legendSet = computed(() => {
202202
return [
203-
{ name: dumbConfig.value.style.chart.legend.labelStart, color: dumbConfig.value.style.chart.plots.gradient.show ? `url(#start_grad_${uid.value})` : dumbConfig.style.chart.plots.startColor},
203+
{ name: dumbConfig.value.style.chart.legend.labelStart, color: dumbConfig.value.style.chart.plots.gradient.show ? `url(#start_grad_${uid.value})` : dumbConfig.value.style.chart.plots.startColor},
204204
{ name: dumbConfig.value.style.chart.legend.labelEnd, color: dumbConfig.value.style.chart.plots.gradient.show ? `url(#end_grad_${uid.value})` : dumbConfig.value.style.chart.plots.endColor},
205205
]
206206
})

0 commit comments

Comments
 (0)