From 0c5e3b592691f6335354550d28644174caf2aadd Mon Sep 17 00:00:00 2001 From: Adrian Hopek Date: Mon, 28 Feb 2022 07:51:35 +0100 Subject: [PATCH] wip --- resources/js/Shared/VacationChart.vue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/resources/js/Shared/VacationChart.vue b/resources/js/Shared/VacationChart.vue index de2fc44..408a6ea 100644 --- a/resources/js/Shared/VacationChart.vue +++ b/resources/js/Shared/VacationChart.vue @@ -71,6 +71,24 @@ export default { { value: props.stats.pending, name: 'Rozpatrywane' }, { value: props.stats.remaining, name: 'PozostaƂe' }, ], + radius: ['30%', '70%'], + itemStyle : { + normal: { + borderRadius: 10, + borderColor: '#fff', + borderWidth: 2, + label: { + position: 'inner', + formatter: params => params.value, + fontWeight: 'bold', + fontSize: 16, + color: '#FFFFFF', + }, + labelLine: { + show: false, + }, + }, + }, }, ], }))