mirror of
https://github.com/KevinMidboe/vue-chartjs.git
synced 2025-10-29 18:00:20 +00:00
Change example location to src folder for easier testing
This commit is contained in:
@@ -11,13 +11,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import BarExample from './examples/BarExample'
|
import BarExample from './BarExample'
|
||||||
import LineExample from './examples/LineExample'
|
import LineExample from './LineExample'
|
||||||
import DoughnutExample from './examples/DoughnutExample'
|
import DoughnutExample from './DoughnutExample'
|
||||||
import PieExample from './examples/PieExample'
|
import PieExample from './PieExample'
|
||||||
import RadarExample from './examples/RadarExample'
|
import RadarExample from './RadarExample'
|
||||||
import PolarAreaExample from './examples/PolarAreaExample'
|
import PolarAreaExample from './PolarAreaExample'
|
||||||
import BubbleExample from './examples/BubbleExample'
|
import BubbleExample from './BubbleExample'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@@ -11,6 +11,6 @@ export default BarChart.extend({
|
|||||||
data: [40, 20, 12, 39, 10, 40, 39, 80, 40, 20, 12, 11]
|
data: [40, 20, 12, 39, 10, 40, 39, 80, 40, 20, 12, 11]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
})
|
}, {responsive: true, maintainAspectRatio: false})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
Reference in New Issue
Block a user