Skip to content

Commit 42c889f

Browse files
committed
Fix - VueUiRadar - Set stackbar transparent color in tooltip
1 parent 0b03927 commit 42c889f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/vue-ui-radar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ const mutableConfig = ref({
173173
const sparkBarConfig = computed(() => {
174174
return {
175175
style: {
176-
backgroundColor: FINAL_CONFIG.value.style.chart.tooltip.backgroundColor,
176+
backgroundColor: '#FFFFFF00',
177177
animation: {
178178
show: FINAL_CONFIG.value.style.chart.tooltip.animation.show,
179179
animationFrames: FINAL_CONFIG.value.style.chart.tooltip.animation.animationFrames
@@ -864,7 +864,7 @@ defineExpose({
864864
</template>
865865
<template #tooltip-after>
866866
<div style="max-width: 200px;margin:0 auto" v-if="!['function'].includes(typeof FINAL_CONFIG.style.chart.tooltip.customFormat)">
867-
<SparkBar :dataset="sparkBarData" :config="sparkBarConfig" :backgroundOpacity="FINAL_CONFIG.style.chart.tooltip.backgroundOpacity"/>
867+
<SparkBar :dataset="sparkBarData" :config="sparkBarConfig" :backgroundOpacity="0"/>
868868
</div>
869869
<slot name="tooltip-after" v-bind="{...dataTooltipSlot}"></slot>
870870
</template>

0 commit comments

Comments
 (0)