@almadar/std 15.1.0 → 15.2.0
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/behaviors/registry/variations/views/std-graphs-bar.orb +56 -0
- package/behaviors/registry/variations/views/std-graphs-donut.orb +56 -0
- package/behaviors/registry/variations/views/std-graphs-histogram.orb +56 -0
- package/behaviors/registry/variations/views/std-graphs-line.orb +56 -0
- package/behaviors/registry/variations/views/std-graphs-pie.orb +56 -0
- package/dist/behaviors/registry/variations/views/std-graphs-bar.orb +56 -0
- package/dist/behaviors/registry/variations/views/std-graphs-donut.orb +56 -0
- package/dist/behaviors/registry/variations/views/std-graphs-histogram.orb +56 -0
- package/dist/behaviors/registry/variations/views/std-graphs-line.orb +56 -0
- package/dist/behaviors/registry/variations/views/std-graphs-pie.orb +56 -0
- package/dist/registry/variations/views/std-graphs-bar.orb +56 -0
- package/dist/registry/variations/views/std-graphs-donut.orb +56 -0
- package/dist/registry/variations/views/std-graphs-histogram.orb +56 -0
- package/dist/registry/variations/views/std-graphs-line.orb +56 -0
- package/dist/registry/variations/views/std-graphs-pie.orb +56 -0
- package/package.json +1 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-bar",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Bar chart view. Embeds std-graphs with the bar chartType — vertical bars, one per category bucket. Default for distribution-of-categories visualisations.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "BarGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "BarGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "BarGraphItemGraph",
|
|
37
|
+
"linkedEntity": "BarGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "bar"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "BarGraphPage",
|
|
46
|
+
"path": "/bar-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "BarGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-donut",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Donut chart view. Embeds std-graphs with the donut chartType — pie with a hollow centre that frees up space for a centered total/label. Reads better than pie when slices are similarly sized.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "DonutGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "DonutGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "DonutGraphItemGraph",
|
|
37
|
+
"linkedEntity": "DonutGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "donut"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "DonutGraphPage",
|
|
46
|
+
"path": "/donut-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "DonutGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-histogram",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Histogram view. Embeds std-graphs with the histogram chartType — pre-binned bars passed through unchanged from @payload.data (the std-graphs atom skips its categorical bucketing for this type). Best for distributions of a continuous variable.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "HistogramGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "HistogramGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "HistogramGraphItemGraph",
|
|
37
|
+
"linkedEntity": "HistogramGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "histogram"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "HistogramGraphPage",
|
|
46
|
+
"path": "/histogram-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "HistogramGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-line",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Line chart view. Embeds std-graphs with the line chartType — connected points over a continuous (typically time) axis. Best for trends and time-series.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "LineGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "LineGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "LineGraphItemGraph",
|
|
37
|
+
"linkedEntity": "LineGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "line"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "LineGraphPage",
|
|
46
|
+
"path": "/line-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "LineGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-pie",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Pie chart view. Embeds std-graphs with the pie chartType — categorical share-of-total. Best when you have ≤6 categories that sum to a meaningful whole.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "PieGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "PieGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "PieGraphItemGraph",
|
|
37
|
+
"linkedEntity": "PieGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "pie"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "PieGraphPage",
|
|
46
|
+
"path": "/pie-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "PieGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-bar",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Bar chart view. Embeds std-graphs with the bar chartType — vertical bars, one per category bucket. Default for distribution-of-categories visualisations.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "BarGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "BarGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "BarGraphItemGraph",
|
|
37
|
+
"linkedEntity": "BarGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "bar"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "BarGraphPage",
|
|
46
|
+
"path": "/bar-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "BarGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-donut",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Donut chart view. Embeds std-graphs with the donut chartType — pie with a hollow centre that frees up space for a centered total/label. Reads better than pie when slices are similarly sized.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "DonutGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "DonutGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "DonutGraphItemGraph",
|
|
37
|
+
"linkedEntity": "DonutGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "donut"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "DonutGraphPage",
|
|
46
|
+
"path": "/donut-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "DonutGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-histogram",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Histogram view. Embeds std-graphs with the histogram chartType — pre-binned bars passed through unchanged from @payload.data (the std-graphs atom skips its categorical bucketing for this type). Best for distributions of a continuous variable.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "HistogramGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "HistogramGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "HistogramGraphItemGraph",
|
|
37
|
+
"linkedEntity": "HistogramGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "histogram"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "HistogramGraphPage",
|
|
46
|
+
"path": "/histogram-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "HistogramGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-line",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Line chart view. Embeds std-graphs with the line chartType — connected points over a continuous (typically time) axis. Best for trends and time-series.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "LineGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "LineGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "LineGraphItemGraph",
|
|
37
|
+
"linkedEntity": "LineGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "line"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "LineGraphPage",
|
|
46
|
+
"path": "/line-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "LineGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-pie",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Pie chart view. Embeds std-graphs with the pie chartType — categorical share-of-total. Best when you have ≤6 categories that sum to a meaningful whole.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "PieGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "PieGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "PieGraphItemGraph",
|
|
37
|
+
"linkedEntity": "PieGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "pie"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "PieGraphPage",
|
|
46
|
+
"path": "/pie-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "PieGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-bar",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Bar chart view. Embeds std-graphs with the bar chartType — vertical bars, one per category bucket. Default for distribution-of-categories visualisations.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "BarGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "BarGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "BarGraphItemGraph",
|
|
37
|
+
"linkedEntity": "BarGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "bar"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "BarGraphPage",
|
|
46
|
+
"path": "/bar-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "BarGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-donut",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Donut chart view. Embeds std-graphs with the donut chartType — pie with a hollow centre that frees up space for a centered total/label. Reads better than pie when slices are similarly sized.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "DonutGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "DonutGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "DonutGraphItemGraph",
|
|
37
|
+
"linkedEntity": "DonutGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "donut"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "DonutGraphPage",
|
|
46
|
+
"path": "/donut-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "DonutGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-histogram",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Histogram view. Embeds std-graphs with the histogram chartType — pre-binned bars passed through unchanged from @payload.data (the std-graphs atom skips its categorical bucketing for this type). Best for distributions of a continuous variable.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "HistogramGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "HistogramGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "HistogramGraphItemGraph",
|
|
37
|
+
"linkedEntity": "HistogramGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "histogram"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "HistogramGraphPage",
|
|
46
|
+
"path": "/histogram-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "HistogramGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-line",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Line chart view. Embeds std-graphs with the line chartType — connected points over a continuous (typically time) axis. Best for trends and time-series.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "LineGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "LineGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "LineGraphItemGraph",
|
|
37
|
+
"linkedEntity": "LineGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "line"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "LineGraphPage",
|
|
46
|
+
"path": "/line-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "LineGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-graphs-pie",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Pie chart view. Embeds std-graphs with the pie chartType — categorical share-of-total. Best when you have ≤6 categories that sum to a meaningful whole.",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "PieGraphItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-graphs",
|
|
11
|
+
"as": "Graph"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"entity": {
|
|
15
|
+
"name": "PieGraphItem",
|
|
16
|
+
"persistence": "runtime",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "id",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "chartData",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"default": [],
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "object"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"traits": [
|
|
34
|
+
{
|
|
35
|
+
"ref": "Graph.traits.GraphItemGraph",
|
|
36
|
+
"name": "PieGraphItemGraph",
|
|
37
|
+
"linkedEntity": "PieGraphItem",
|
|
38
|
+
"config": {
|
|
39
|
+
"chartType": "pie"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"pages": [
|
|
44
|
+
{
|
|
45
|
+
"name": "PieGraphPage",
|
|
46
|
+
"path": "/pie-graph",
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "PieGraphItemGraph"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|