<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 year"
        type="bar"
        :height="220"
        :categories="flightStats.perYear.value.years"
        :series="flightStats.perYear.value.series"
    />
</template>

<style scoped>

</style>
