equal
deleted
inserted
replaced
16 var defaultOptions = { |
16 var defaultOptions = { |
17 xInit: 0, |
17 xInit: 0, |
18 yInit: 0, |
18 yInit: 0, |
19 width: 1024, |
19 width: 1024, |
20 height: 768, |
20 height: 768, |
21 annotCategories: [{ |
21 annotCategories: [ |
22 ts: 0, |
22 { |
23 colors: { |
23 "ts": 1421928213000, |
24 'ntm': '#CDC83F', |
24 "colors": { |
25 'iam': '#CDC83F', |
25 "transgressions": "#b90000", |
26 'hip': '#CDC83F', |
26 "rythmique": "#af931e", |
27 'hop': '#CDC83F', |
27 "narration": "#4bdd71", |
28 'rock': '#DE8B53', |
28 "relation": "#1c28ba" |
29 'rap': '#DE8B53', |
|
30 'classic': '#DE8B53', |
|
31 'drums': '#C5A3CA', |
|
32 'guitar': '#C5A3CA', |
|
33 'bass': '#79BB92', |
|
34 'default': '#808080' |
|
35 }, |
29 }, |
36 order: ['ntm', 'iam', 'hip', 'hop', 'rock', 'rap', 'classic', 'drums', 'guitar', 'bass', 'default'] |
30 "order": [ |
|
31 "transgressions", |
|
32 "rythmique", |
|
33 "narration", |
|
34 "relation" |
|
35 ], |
|
36 "defaultColor": "#536991" |
37 }] |
37 }] |
38 }; |
38 }; |
39 |
39 |
40 function AnnotsVizView(options){ |
40 function AnnotsVizView(options){ |
41 var _this = this; |
41 var _this = this; |