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/LineExample.js Normal file
View File

@@ -0,0 +1,16 @@
import LineChart from '../BaseCharts/Line'
export default LineChart.extend({
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]
}
]
})
}
})