Refactor modules

This commit is contained in:
Jakub Juszczak
2016-06-26 15:34:26 +02:00
parent 14e12f761e
commit fde877e49f
7 changed files with 4 additions and 5 deletions

View File

@@ -0,0 +1,23 @@
import BarChart from '../BaseCharts/Bar'
export default BarChart.extend({
props: ['player', 'opponent'],
ready () {
this.render({
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
datasets: [
{
label: 'Data One',
backgroundColor: '#f87979',
data: [40, 39, 10, 40, 39, 80, 40]
},
{
label: 'Data Two',
backgroundColor: '#f87979',
data: [0, 0, 0, 39.30, 39.30, 39.30]
}
]
})
}
})