⬆️ Update examples

This commit is contained in:
Jakub Juszczak
2016-10-02 18:25:02 +02:00
parent e716482154
commit 06c3148897
2 changed files with 22 additions and 1 deletions

View File

@@ -20,9 +20,20 @@
import PolarAreaExample from './PolarAreaExample' import PolarAreaExample from './PolarAreaExample'
import BubbleExample from './BubbleExample' import BubbleExample from './BubbleExample'
import ReactiveExample from './ReactiveExample' import ReactiveExample from './ReactiveExample'
import ReactivePropExample from './ReactivePropExample'
export default { export default {
components: { BarExample, LineExample, DoughnutExample, PieExample, RadarExample, PolarAreaExample, BubbleExample, ReactiveExample } components: {
BarExample,
LineExample,
DoughnutExample,
PieExample,
RadarExample,
PolarAreaExample,
BubbleExample,
ReactiveExample,
ReactivePropExample
}
} }
</script> </script>

View File

@@ -0,0 +1,10 @@
import BarChart from '../BaseCharts/Bar'
import reactiveData from '../mixins/reactiveProp'
export default BarChart.extend({
mixins: [reactiveData],
mounted () {
this.renderChart(this.chartData)
}
})