mirror of
https://github.com/KevinMidboe/vue-chartjs.git
synced 2025-10-29 18:00:20 +00:00
31 lines
830 B
Vue
31 lines
830 B
Vue
<template>
|
|
<div class="container">
|
|
<bar-example></bar-example>
|
|
<line-example></line-example>
|
|
<doughnut-example></doughnut-example>
|
|
<pie-example></pie-example>
|
|
<radar-example></radar-example>
|
|
<polar-area-example></polar-area-example>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import BarExample from './examples/BarExample'
|
|
import LineExample from './examples/LineExample'
|
|
import DoughnutExample from './examples/DoughnutExample'
|
|
import PieExample from './examples/PieExample'
|
|
import RadarExample from './examples/RadarExample'
|
|
import PolarAreaExample from './examples/PolarAreaExample'
|
|
|
|
export default {
|
|
components: { BarExample, LineExample, DoughnutExample, PieExample, RadarExample, PolarAreaExample }
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
.container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
</style>
|