+ style="grid-template-columns: 1fr 1fr 1fr 150px 80px">
{
...el,
...{
itemStyle: {
- color: new LinearGradient(0, 0, 0, 1, [
- {
- offset: 0,
- color: hexToRGBA(el.color, 0.8),
- },
- {
- offset: 1,
- color: hexToRGBA(el.color, 0.4),
- },
- ]),
+ color: el.color
+
},
},
};
@@ -93,7 +85,8 @@ const option = ref({
trigger: 'item',
},
legend: {
- top: 'bottom',
+ show: true,
+ top: '250px'
},
backgroundColor: 'transparent',
series: [
@@ -107,21 +100,17 @@ const option = ref({
},
},
data: seriesData,
- radius: ['30%', '65%'],
+ radius: ['30%', '60%'],
+ top: '-50%',
type: 'pie',
- top: '-10%',
},
],
});
-
+
diff --git a/resources/js/Pages/Reporting.vue b/resources/js/Pages/Reporting.vue
index a75e72d5..98fa2961 100644
--- a/resources/js/Pages/Reporting.vue
+++ b/resources/js/Pages/Reporting.vue
@@ -146,7 +146,7 @@ async function createTag(tag: string) {
-
+