Skip to content

Commit

Permalink
fix: pie chart tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Jul 28, 2023
1 parent cfbf825 commit 9219183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/widgets/Pie/Pie.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function appendPercentage(value) {
}"
/>
<ChartTooltip
:options="{ trigger: 'item', appendToBody: true, formatter: appendPercentage }"
:options="{ trigger: 'item', appendToBody: true, valueFormatter: appendPercentage }"
/>
<ChartLegend
v-if="!props.options.inlineLabels"
Expand Down

0 comments on commit 9219183

Please sign in to comment.