<script>
import { Doughnut } from 'vue-chartjs'

export default {
  name: 'pie',
  extends: Doughnut,
  props: ['chartdata', 'options'],
  mounted () {
    this.renderChart(this.chartdata, this.options)
  }
}
</script>

<style scope>
#doughnut-chart {
  width: 100px;
  height: 100px;
}
</style>
