Refactor basic structure

This commit is contained in:
Jakub Juszczak
2016-07-03 12:36:38 +02:00
parent a428b51741
commit 3095684a37
19 changed files with 17 additions and 17 deletions

16
examples/BarExample.js Normal file
View File

@@ -0,0 +1,16 @@
import BarChart from '../BaseCharts/Bar'
export default BarChart.extend({
ready () {
this.render({
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
datasets: [
{
label: 'Data One',
backgroundColor: '#f87979',
data: [40, 20, 12, 39, 10, 40, 39, 80, 40, 20, 12, 11]
}
]
})
}
})