galaxy-charts 0.1.9 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/dist/galaxy-charts.inputs.json +170 -0
- package/dist/galaxy-charts.js +19322 -23732
- package/dist/galaxy-charts.umd.cjs +513 -523
- package/package.json +16 -12
package/README.md
CHANGED
|
@@ -11,7 +11,6 @@ Galaxy Charts itself is a modern JavaScript visualization framework for the [Gal
|
|
|
11
11
|
|
|
12
12
|
💡 To quickly start building your own Galaxy visualizations using Galaxy Charts UI, use the [Galaxy Charts Starter Template](https://github.com/guerler/galaxy-charts-starter) and run `npm install && npm run dev`.
|
|
13
13
|
|
|
14
|
-
|
|
15
14
|
📘 **Documentation**: [https://charts.galaxyproject.org](https://charts.galaxyproject.org)
|
|
16
15
|
|
|
17
16
|
---
|
|
@@ -22,12 +21,13 @@ To build your own visualization:
|
|
|
22
21
|
|
|
23
22
|
1. **Use the Starter Template**
|
|
24
23
|
Begin with the ready-to-go starter project:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npx degit guerler/galaxy-charts-starter my-viz
|
|
27
|
+
cd my-viz
|
|
28
|
+
npm install
|
|
29
|
+
npm run dev
|
|
30
|
+
```
|
|
31
31
|
|
|
32
32
|
2. **Develop Your Plugin**
|
|
33
33
|
Customize the included plugin or create your own inside the `src/plugins` directory.
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.1.12",
|
|
3
|
+
"types": {
|
|
4
|
+
"boolean": {
|
|
5
|
+
"stores": {
|
|
6
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
7
|
+
"type": "boolean"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"color": {
|
|
11
|
+
"stores": {
|
|
12
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
13
|
+
"type": "string"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"text": {
|
|
17
|
+
"stores": {
|
|
18
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
19
|
+
"type": "string"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"textarea": {
|
|
23
|
+
"stores": {
|
|
24
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
25
|
+
"type": "string"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"integer": {
|
|
29
|
+
"stores": {
|
|
30
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
31
|
+
"type": "integer",
|
|
32
|
+
"minimum": -9007199254740991,
|
|
33
|
+
"maximum": 9007199254740991
|
|
34
|
+
},
|
|
35
|
+
"bounds": [
|
|
36
|
+
"min",
|
|
37
|
+
"max"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"float": {
|
|
41
|
+
"stores": {
|
|
42
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
43
|
+
"type": "number"
|
|
44
|
+
},
|
|
45
|
+
"bounds": [
|
|
46
|
+
"min",
|
|
47
|
+
"max"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"select": {
|
|
51
|
+
"stores": {
|
|
52
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"options": {
|
|
56
|
+
"kind": "declared",
|
|
57
|
+
"from": "data"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"data_column": {
|
|
61
|
+
"stores": {
|
|
62
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
"options": {
|
|
66
|
+
"kind": "dataset_column",
|
|
67
|
+
"filters": [
|
|
68
|
+
"is_auto",
|
|
69
|
+
"is_text",
|
|
70
|
+
"is_number"
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"data": {
|
|
75
|
+
"stores": {
|
|
76
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
77
|
+
"type": "object",
|
|
78
|
+
"properties": {
|
|
79
|
+
"id": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
"extension": {
|
|
83
|
+
"type": "string"
|
|
84
|
+
},
|
|
85
|
+
"hid": {
|
|
86
|
+
"type": "integer",
|
|
87
|
+
"minimum": -9007199254740991,
|
|
88
|
+
"maximum": 9007199254740991
|
|
89
|
+
},
|
|
90
|
+
"name": {
|
|
91
|
+
"type": "string"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"required": [
|
|
95
|
+
"id"
|
|
96
|
+
],
|
|
97
|
+
"additionalProperties": {}
|
|
98
|
+
},
|
|
99
|
+
"options": {
|
|
100
|
+
"kind": "history_dataset",
|
|
101
|
+
"from": "extension"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"data_table": {
|
|
105
|
+
"stores": {
|
|
106
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
107
|
+
"type": "object",
|
|
108
|
+
"properties": {
|
|
109
|
+
"id": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
"columns": {
|
|
113
|
+
"type": "array",
|
|
114
|
+
"items": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"row": {
|
|
119
|
+
"type": "array",
|
|
120
|
+
"items": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"table": {
|
|
125
|
+
"type": "string"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"required": [
|
|
129
|
+
"id"
|
|
130
|
+
],
|
|
131
|
+
"additionalProperties": {}
|
|
132
|
+
},
|
|
133
|
+
"options": {
|
|
134
|
+
"kind": "data_table",
|
|
135
|
+
"from": "tables"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"data_json": {
|
|
139
|
+
"stores": {
|
|
140
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
141
|
+
"type": "object",
|
|
142
|
+
"properties": {
|
|
143
|
+
"id": {
|
|
144
|
+
"type": "string"
|
|
145
|
+
},
|
|
146
|
+
"name": {
|
|
147
|
+
"type": "string"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"required": [
|
|
151
|
+
"id"
|
|
152
|
+
],
|
|
153
|
+
"additionalProperties": {}
|
|
154
|
+
},
|
|
155
|
+
"options": {
|
|
156
|
+
"kind": "data_json",
|
|
157
|
+
"from": "url"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"conditional": {
|
|
161
|
+
"stores": {
|
|
162
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
163
|
+
"type": "object",
|
|
164
|
+
"properties": {},
|
|
165
|
+
"additionalProperties": {}
|
|
166
|
+
},
|
|
167
|
+
"nests": "conditional"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|