Skip to content

Commit 073ebfc

Browse files
committed
Update formatter
1 parent 2ea1e9f commit 073ebfc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

TestingArena/ArenaVueUiFlow.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const config = computed(() => {
8585
labels: {
8686
...c.style.chart.nodes.labels,
8787
formatter: ({value, config}) => {
88-
console.log(config)
88+
// console.log(config)
8989
return `f | ${value}`
9090
}
9191
}

src/components/vue-ui-donut.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,8 @@ function displayArcPercentage(arc, stepBreakdown) {
353353
v: p * 100,
354354
s: '%',
355355
r: FINAL_CONFIG.value.style.chart.layout.labels.percentage.rounding
356-
})
356+
}),
357+
{ datapoint: arc }
357358
)
358359
}
359360

0 commit comments

Comments
 (0)