BaseDataletBehavior.json
1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"elements": [],
"elementsByTagName": {},
"behaviors": [
{
"type": "behaviour",
"desc": "Defined in `BaseDataletBehaviours.js`. It is the base behavior for all datalets. it contains the main properties common in all visualization : Dataset url, fields and transformed data array",
"events": [],
"properties": [
{
"name": "dataUrl",
"type": "String",
"desc": "It represent the dataset api url",
"published": true
},
{
"name": "fields",
"type": "Array",
"desc": "It represents one or multiple fields selected by user",
"published": true
},
{
"name": "data",
"type": "Array",
"desc": "The selected and transformed data you can use in presentation phase",
"published": true
},
{
"name": "factoryImpl",
"type": "Function",
"desc": "Contructor to create the datalet via javascript",
"params": [
{
"name": "data_url",
"type": "String",
"desc": "",
"published": true
},
{
"name": "fields",
"type": "Array",
"desc": "",
"published": true
}
],
"private": true,
"function": true
}
],
"is": "BaseDataletBehaviour"
}
]
}