<script>
import { Bar, mixins } from 'vue-chartjs';
const { reactiveProp } = mixins;
export default {
    name: 'stat',
    extends: Bar,
    mixins: [reactiveProp],
    props: ['chartData', 'options'],
    mounted() {
        this.renderChart(this.chartData, {
            responsive: true,
            maintainAspectRatio: false,
            ...(this.options || {})
        });
    }
};
</script>
<style lang="less" scoped></style>
