<script setup lang="ts">
import {FlightStats} from "@/Composables/useFlightStats";
import VerticalBarChart from "@/Components/FlightsGoneBy/Charts/ChartTypes/VerticalBarChart.vue";

const props = defineProps<{
    flightStats: FlightStats
}>()

</script>
<template>
    <VerticalBarChart
        title="Flights per Month"
        type="bar"
        :height="220"
        :categories="flightStats.perMonth.value.months"
        :series="flightStats.perMonth.value.series"
    />
</template>

<style scoped>

</style>
