You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
732 B
21 lines
732 B
import DS from 'ember-data'; |
|
|
|
export default DS.Model.extend({ |
|
name: DS.attr('string'), |
|
chartdata: [DS.attr('number'), DS.attr('number'), DS.attr('number'), DS.attr('number'), DS.attr('number'), DS.attr('number'), DS.attr('number'), DS.attr('number'), DS.attr('number'), DS.attr('number'), DS.attr('number'), DS.attr('number')] |
|
}); |
|
|
|
// { |
|
// name: DS.attr('string'), |
|
// colorByPoint: DS.attr('boolean'), |
|
// chartdata: [ |
|
// {y: DS.attr('number'), name: DS.attr('string')}, |
|
// {y: DS.attr('number'), name: DS.attr('string')}, |
|
// {y: DS.attr('number'), name: DS.attr('string')} |
|
// ] |
|
// } |
|
// { |
|
// title: DS.attr('string'), |
|
// content: DS.attr('string'), |
|
// author: DS.attr('string') |
|
// }
|
|
|