Skip to content

Commit 2d0a768

Browse files
committed
Improvement - VueUiDonut & VueUiNestedDonuts - Add config options to control arc stroke color
1 parent 41feb31 commit 2d0a768

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/vue-ui-donut.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,6 +1181,7 @@ defineExpose({
11811181
<g v-if="currentDonut.length > 1 || FINAL_CONFIG.type === 'classic'">
11821182
<path data-cy="tooltip-trap" v-for="(arc, i) in currentDonut.filter(el => !el.ghost)"
11831183
:d="FINAL_CONFIG.type === 'classic' ? arc.arcSlice : polarAreas[i].path"
1184+
:stroke="FINAL_CONFIG.style.chart.layout.donut.borderColorAuto ? FINAL_CONFIG.style.chart.backgroundColor : FINAL_CONFIG.style.chart.layout.donut.borderColor"
11841185
:fill="selectedSerie === i ? FINAL_CONFIG.style.chart.layout.donut.selectedColor : 'transparent'" @mouseenter="useTooltip({
11851186
datapoint: arc,
11861187
relativeIndex: i,

0 commit comments

Comments
 (0)