Skip to content

Commit 64e71ec

Browse files
committed
Fix - VueUiRadar - Fixed tooltip chart not showing when customFormat is set to null
1 parent 6fd6bf1 commit 64e71ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/vue-ui-radar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ defineExpose({
744744
<slot name="tooltip-before" v-bind="{...dataTooltipSlot}"></slot>
745745
</template>
746746
<template #tooltip-after>
747-
<div style="max-width: 200px;margin:0 auto" v-if="!radarConfig.style.chart.tooltip.customFormat">
747+
<div style="max-width: 200px;margin:0 auto" v-if="!['function'].includes(typeof radarConfig.style.chart.tooltip.customFormat)">
748748
<SparkBar :dataset="sparkBarData" :config="sparkBarConfig"/>
749749
</div>
750750
<slot name="tooltip-after" v-bind="{...dataTooltipSlot}"></slot>

0 commit comments

Comments
 (0)