<script setup lang="ts">
import DonutChart from "@/Components/FlightsGoneBy/Charts/ChartTypes/DonutChart.vue";
import {FlightStats} from "@/Composables/useFlightStats";
const props = defineProps<{
    flightStats: FlightStats
}>()
</script>
<template>
    <DonutChart
        title="Flight Reasons"
        :height="280"
        :labels="flightStats.reasons.value.labels"
        :series="flightStats.reasons.value.series"
        total-label="Reasons"
        center-mode="count"
    />
</template>
<style scoped>

</style>
