Skip to content

Commit e084920

Browse files
committed
Fix - VueUiSparkStackbar - Fixed bold config option on legend name not applied
1 parent a5e086c commit e084920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/vue-ui-sparkstackbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ function selectDatapoint(datapoint, index) {
263263
>
264264
<circle :cx="5" :cy="5" :r="5" :fill="rect.color"/>
265265
</svg>
266-
<span :style="`color:${stackConfig.style.legend.name.color}`">
266+
<span :style="`color:${stackConfig.style.legend.name.color}; font-weight:${stackConfig.style.legend.name.bold ? 'bold' : 'normal'}`">
267267
{{ rect.name }}
268268
</span>
269269
<span

0 commit comments

Comments
 (0)