aframe-babia-components 1.2.2 → 1.2.5
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/components/filters/babia-selector.js +256 -79
- package/components/filters/babia-treebuilder.js +1 -2
- package/components/geometries/babia-bar.js +13 -1
- package/components/geometries/babia-cyl.js +189 -0
- package/components/others/assets/tooltip.png +0 -0
- package/components/others/babia-camera.js +195 -0
- package/components/others/babia-controls.js +56 -31
- package/components/others/babia-navigator.js +55 -49
- package/components/others/babia-range-selector.js +218 -0
- package/components/others/babia-slider.js +36 -8
- package/components/others/babia-ui.js +246 -73
- package/components/others/common.js +91 -83
- package/components/queriers/babia-querycsv.js +96 -0
- package/components/queriers/babia-queryes.js +209 -131
- package/components/visualizers/babia-bars.js +15 -38
- package/components/visualizers/babia-barsmap.js +19 -34
- package/components/visualizers/babia-boats.js +221 -134
- package/components/visualizers/babia-bubbles.js +13 -26
- package/components/visualizers/babia-cyls.js +203 -201
- package/components/visualizers/babia-cylsmap.js +173 -241
- package/components/visualizers/babia-doughnut.js +6 -28
- package/components/visualizers/babia-network.js +191 -124
- package/components/visualizers/babia-pie.js +6 -30
- package/dist/aframe-babia-components.js +21913 -19571
- package/dist/aframe-babia-components.min.js +7 -1
- package/dist/aframe-babia-components.min.js.map +1 -1
- package/docs/APIs/CHARTS.md +33 -14
- package/docs/APIs/DATAMANAGEMENT.md +7 -0
- package/docs/APIs/OTHERS.md +42 -0
- package/docs/APIs/QUERIERS.md +18 -0
- package/docs/RELEASE_NOTES.md +58 -21
- package/docs/Tutorials/multiuser.md +47 -2
- package/examples/assets/door/New Bitmap Image.jpg +0 -0
- package/examples/assets/door/door.mtl +26 -0
- package/examples/assets/door/door.obj +6927 -0
- package/examples/assets/popups/0.png +0 -0
- package/examples/assets/popups/1.png +0 -0
- package/examples/assets/popups/10.png +0 -0
- package/examples/assets/popups/2.png +0 -0
- package/examples/assets/popups/3.png +0 -0
- package/examples/assets/popups/4.png +0 -0
- package/examples/assets/popups/5.png +0 -0
- package/examples/assets/popups/6.png +0 -0
- package/examples/assets/popups/7.png +0 -0
- package/examples/assets/popups/8.png +0 -0
- package/examples/assets/popups/9.png +0 -0
- package/examples/assets/popups/close.jpg +0 -0
- package/examples/assets/popups/info.jpg +0 -0
- package/examples/assets/textures/brownwall.png +0 -0
- package/examples/assets/textures/concrete.png +0 -0
- package/examples/assets/textures/white-wall-texture.jpg +0 -0
- package/examples/charts/cyls/index.html +13 -4
- package/examples/charts/cyls/primitive.html +76 -0
- package/examples/charts/cylsmap/index.html +14 -5
- package/examples/charts_querier/bars_querier/data.csv +10 -0
- package/examples/charts_querier/bars_querier/index_csv.html +80 -0
- package/examples/charts_querier/multichart_querier/manual_colors.html +81 -0
- package/examples/dashboard/chaoss-dashboards.html +259 -0
- package/examples/dashboard/chaoss-issues.html +248 -0
- package/examples/dashboard/chaoss-pr.html +248 -0
- package/examples/dashboard/index.html +247 -0
- package/examples/dashboard/issues_queries/80-percent-open-time.json +123 -0
- package/examples/dashboard/issues_queries/issues-by-organization.json +107 -0
- package/examples/dashboard/issues_queries/issues.json +117 -0
- package/examples/dashboard/issues_queries/median-open-time.json +123 -0
- package/examples/dashboard/issues_queries/organizations.json +130 -0
- package/examples/dashboard/issues_queries/projects.json +130 -0
- package/examples/dashboard/issues_queries/repositories.json +130 -0
- package/examples/dashboard/issues_queries/status.json +107 -0
- package/examples/dashboard/issues_queries/submitter.json +125 -0
- package/examples/dashboard/issues_queries/submitters.json +113 -0
- package/examples/dashboard/pullrequests_queries/80-percent-open-time.json +123 -0
- package/examples/dashboard/pullrequests_queries/median-open-time.json +123 -0
- package/examples/dashboard/pullrequests_queries/organizations.json +130 -0
- package/examples/dashboard/pullrequests_queries/projects.json +130 -0
- package/examples/dashboard/pullrequests_queries/pull-requests-by-organization.json +107 -0
- package/examples/dashboard/pullrequests_queries/pull-requests.json +117 -0
- package/examples/dashboard/pullrequests_queries/repositories.json +130 -0
- package/examples/dashboard/pullrequests_queries/status.json +107 -0
- package/examples/dashboard/pullrequests_queries/submitter.json +125 -0
- package/examples/dashboard/pullrequests_queries/submitters.json +113 -0
- package/examples/dashboard/range.html +88 -0
- package/examples/dashboard/template.html +136 -0
- package/examples/demos/1.0.11/index_multiuser_ui.html +1 -1
- package/examples/multi_bars/data.json +14 -0
- package/examples/multi_bars/data2.json +15 -0
- package/examples/multi_bars/data3.json +23 -0
- package/examples/multi_bars/easyrtc.js +11984 -0
- package/examples/multi_bars/index.html +97 -0
- package/examples/multi_bars/index1.html +111 -0
- package/examples/multi_bars/index2.html +102 -0
- package/examples/multi_bars/index3.html +104 -0
- package/examples/multi_boats/data3.json +174 -0
- package/examples/multi_boats/data4.json +192 -0
- package/examples/multi_boats/{index.html → index_multi_boats.html} +50 -55
- package/examples/multi_boats/jetuml.html +124 -115
- package/examples/multi_boats/jetuml_evolution_experiment.html +419 -0
- package/examples/multi_boats/only_queryjson.html +132 -0
- package/examples/multi_boats/only_queryjson2.html +167 -0
- package/examples/multi_boats/only_queryjson3.html +165 -0
- package/examples/multi_boats/queryjson_treebuilder.html +132 -0
- package/examples/multi_boats/with_selector.html +121 -111
- package/examples/multiuser/choose_avatar/index.html +18 -8
- package/examples/selector_boats/jetuml_from_3_2_to_1_0.json +62382 -0
- package/examples/ui/network/data.json +123 -0
- package/examples/ui/network/links.json +13 -0
- package/examples/ui/network/network.html +75 -0
- package/examples/ui/network/network_nodes_links.html +82 -0
- package/examples/ui/network/nodes.json +12 -0
- package/index.html +69 -3
- package/index.js +6 -1
- package/package.json +4 -3
- package/tests/screenshots/other_snapshots.js/chaoss-issues.png +0 -0
- package/tests/screenshots/other_snapshots.js/chaoss-pr.png +0 -0
- package/tests/screenshots/other_snapshots.js/template.png +0 -0
- package/tests/ui.js +7 -0
- package/webpack.common.js +1 -1
- package/webpack.devnossl.js +16 -0
- package/.idea/vcs.xml +0 -6
- package/.idea/workspace.xml +0 -79
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -22,18 +22,27 @@
|
|
|
22
22
|
<a-asset-item id="optimerBoldFont" src="https://rawgit.com/mrdoob/three.js/dev/examples/fonts/optimer_bold.typeface.json"></a-asset-item>
|
|
23
23
|
</a-assets>
|
|
24
24
|
|
|
25
|
-
<a-entity scale = "0.5 0.5. 0.5" babia-cyls='x_axis: key; legend: true; palette: ubuntu; title: babia-cyls;
|
|
25
|
+
<a-entity id="cyls" scale = "0.5 0.5. 0.5" babia-cyls='x_axis: key; legend: true; palette: ubuntu; title: babia-cyls;
|
|
26
26
|
titleColor: #FFFFFF; titleFont: #optimerBoldFont; titlePosition: -10 0.5 5.5; radiusMax: 2; heightMax: 45; animation: true;
|
|
27
|
-
data: [{"key":"Andrea","height":20,"radius":4},{"key":"Jesus","height":40,"radius":2},{"key":"David","height":30,"radius":1},{"key":"
|
|
27
|
+
data: [{"key":"Andrea","height":20,"radius":4},{"key":"Jesus","height":40,"radius":2},{"key":"David","height":30,"radius":1},{"key":"Almudena","height":20,"radius":3}]'
|
|
28
28
|
position="0 0 0" rotation="0 0 0"></a-entity>
|
|
29
29
|
|
|
30
|
-
<a-entity movement-controls="fly: true" position="
|
|
31
|
-
<a-entity camera position="
|
|
30
|
+
<a-entity movement-controls="fly: true" position="2 3 8">
|
|
31
|
+
<a-entity camera position="0 0 0" look-controls></a-entity>
|
|
32
32
|
<a-entity cursor="rayOrigin:mouse"></a-entity>
|
|
33
33
|
<a-entity laser-controls="hand: right"></a-entity>
|
|
34
34
|
</a-entity>
|
|
35
35
|
</a-scene>
|
|
36
36
|
|
|
37
|
+
<script>
|
|
38
|
+
setTimeout(updateData, 4000);
|
|
39
|
+
let data = '[{"key":"Andrea","height":2,"radius":1},{"key":"Jesus","height":20,"radius":10},{"key":"David","height":1,"radius":5},{"key":"Almudena","height":25,"radius":20}]';
|
|
40
|
+
|
|
41
|
+
function updateData () {
|
|
42
|
+
document.querySelector('#cyls').setAttribute('babia-cyls', 'data', data);
|
|
43
|
+
}
|
|
44
|
+
</script>
|
|
45
|
+
|
|
37
46
|
<!-- GITLAB CORNER-->
|
|
38
47
|
<div class="gitlab-corner-wrapper"><a href="https://gitlab.com/babiaxr/aframe-babia-components/-/blob/master/examples/charts/cyls/index.html" class="gitlab-corner"
|
|
39
48
|
aria-label="View source on GitLab"><svg id="logo_art" data-name="logo art" xmlns="http://www.w3.org/2000/svg"
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<title>A-Frame Babia components</title>
|
|
7
|
+
<meta name="description" content="Babia Cylinder example." />
|
|
8
|
+
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
|
|
9
|
+
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v6.1.0/dist/aframe-extras.min.js"></script>
|
|
10
|
+
<script src="https://unpkg.com/aframe-environment-component@1.2.0/dist/aframe-environment-component.min.js"></script>
|
|
11
|
+
<script src="https://unpkg.com/aframe-text-geometry-component@0.5.1/dist/aframe-text-geometry-component.min.js"></script>
|
|
12
|
+
<script src="../../../dist/aframe-babia-components.js"></script>
|
|
13
|
+
<link rel="stylesheet" href="../../assets/gitlab-corner.css">
|
|
14
|
+
</head>
|
|
15
|
+
|
|
16
|
+
<body>
|
|
17
|
+
<a-scene background="color: #A8F3FF" id="AframeScene">
|
|
18
|
+
<a-entity environment></a-entity>
|
|
19
|
+
<a-light type="point" intensity="1" position="-10 20 30"></a-light>
|
|
20
|
+
|
|
21
|
+
<a-entity id="cyl" babia-cyl='height: 13; radius: 2; color: #FFF; label: events; labelText: Cilindro'
|
|
22
|
+
position="0 0 0" rotation="0 0 0"></a-entity>
|
|
23
|
+
|
|
24
|
+
<a-entity movement-controls="fly: true" position="0 5 20">
|
|
25
|
+
<a-entity camera position="0 5 0" look-controls></a-entity>
|
|
26
|
+
<a-entity cursor="rayOrigin:mouse"></a-entity>
|
|
27
|
+
<a-entity laser-controls="hand: right"></a-entity>
|
|
28
|
+
</a-entity>
|
|
29
|
+
</a-scene>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
setTimeout(updateData, 4000);
|
|
33
|
+
|
|
34
|
+
function updateData () {
|
|
35
|
+
document.querySelector('#cyl').setAttribute('babia-cyl', {
|
|
36
|
+
radius: 1,
|
|
37
|
+
height: 5
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
</script>
|
|
41
|
+
|
|
42
|
+
<!-- GITLAB CORNER-->
|
|
43
|
+
<div class="gitlab-corner-wrapper"><a href="https://gitlab.com/babiaxr/aframe-babia-components/-/blob/master/examples/charts/cyls/index.html" class="gitlab-corner"
|
|
44
|
+
aria-label="View source on GitLab"><svg id="logo_art" data-name="logo art" xmlns="http://www.w3.org/2000/svg"
|
|
45
|
+
viewBox="0 0 586 559">
|
|
46
|
+
<g id="g44">
|
|
47
|
+
<path id="path46" class="cls-1"
|
|
48
|
+
d="M461.17,301.83l-18.91-58.12L404.84,128.43a6.47,6.47,0,0,0-12.27,0L355.15,243.64H230.82L193.4,128.43a6.46,6.46,0,0,0-12.26,0L143.78,243.64l-18.91,58.19a12.88,12.88,0,0,0,4.66,14.39L293,435,456.44,316.22a12.9,12.9,0,0,0,4.73-14.39" />
|
|
49
|
+
</g>
|
|
50
|
+
<g id="g48">
|
|
51
|
+
<path id="path50" class="cls-2" d="M293,434.91h0l62.16-191.28H230.87L293,434.91Z" />
|
|
52
|
+
</g>
|
|
53
|
+
<g id="g56">
|
|
54
|
+
<path id="path58" class="cls-1" d="M293,434.91,230.82,243.63h-87L293,434.91Z" />
|
|
55
|
+
</g>
|
|
56
|
+
<g id="g64">
|
|
57
|
+
<path id="path66" class="cls-3"
|
|
58
|
+
d="M143.75,243.69h0l-18.91,58.12a12.88,12.88,0,0,0,4.66,14.39L293,435,143.75,243.69Z" />
|
|
59
|
+
</g>
|
|
60
|
+
<g id="g72">
|
|
61
|
+
<path id="path74" class="cls-2" d="M143.78,243.69h87.11L193.4,128.49a6.47,6.47,0,0,0-12.27,0l-37.35,115.2Z" />
|
|
62
|
+
</g>
|
|
63
|
+
<g id="g76">
|
|
64
|
+
<path id="path78" class="cls-1" d="M293,434.91l62.16-191.28H442.3L293,434.91Z" />
|
|
65
|
+
</g>
|
|
66
|
+
<g id="g80">
|
|
67
|
+
<path id="path82" class="cls-3"
|
|
68
|
+
d="M442.24,243.69h0l18.91,58.12a12.85,12.85,0,0,1-4.66,14.39L293,434.91l149.2-191.22Z" />
|
|
69
|
+
</g>
|
|
70
|
+
<g id="g84">
|
|
71
|
+
<path id="path86" class="cls-2" d="M442.28,243.69h-87.1l37.42-115.2a6.46,6.46,0,0,1,12.26,0l37.42,115.2Z" />
|
|
72
|
+
</g>
|
|
73
|
+
</svg></a></div>
|
|
74
|
+
|
|
75
|
+
</body>
|
|
76
|
+
</html>
|
|
@@ -22,18 +22,27 @@
|
|
|
22
22
|
<a-asset-item id="optimerBoldFont" src="https://rawgit.com/mrdoob/three.js/dev/examples/fonts/optimer_bold.typeface.json"></a-asset-item>
|
|
23
23
|
</a-assets>
|
|
24
24
|
|
|
25
|
-
<a-entity
|
|
26
|
-
titleColor: #FFFFFF; titleFont: #optimerBoldFont; titlePosition: -
|
|
25
|
+
<a-entity id="cylsmap" babia-cylsmap='x_axis: key; z_axis: key2; legend: true; animation: true; title: babia-cylsmap;
|
|
26
|
+
titleColor: #FFFFFF; titleFont: #optimerBoldFont; titlePosition: -6 0.5 15; heightMax: 20; radiusMax: 2;
|
|
27
27
|
data: [{"key":"Andrea","key2":"2018","height":15,"radius":2},{"key":"Jesus","key2":"2018","height":3,"radius":5},{"key":"David","key2":"2021","height":5,"radius":1},{"key":"Jesus","key2":"2020","height":25,"radius":1},{"key":"Jesus","key2":"2021","height":10,"radius":4},{"key":"Andrea","key2":"2020","height":6,"radius":4},{"key":"David","key2":"2019","height":17,"radius":3}]'
|
|
28
|
-
position="0 0 0" rotation="0 0 0"></a-entity>
|
|
28
|
+
position="0 0.5 0" rotation="0 0 0"></a-entity>
|
|
29
29
|
|
|
30
|
-
<a-entity movement-controls="fly: true" position="
|
|
31
|
-
<a-entity camera position="
|
|
30
|
+
<a-entity movement-controls="fly: true" position="2 7 25" rotation="0 0 0">
|
|
31
|
+
<a-entity camera position="0 0 0" look-controls></a-entity>
|
|
32
32
|
<a-entity cursor="rayOrigin:mouse"></a-entity>
|
|
33
33
|
<a-entity laser-controls="hand: right"></a-entity>
|
|
34
34
|
</a-entity>
|
|
35
35
|
</a-scene>
|
|
36
36
|
|
|
37
|
+
<script>
|
|
38
|
+
setTimeout(updateData, 10000);
|
|
39
|
+
let data = '[{"key":"Andrea","key2":"2018","height":15,"radius":4},{"key":"Jesus","key2":"2018","height":3,"radius":5},{"key":"David","key2":"2021","height":5,"radius":1},{"key":"Jesus","key2":"2020","height":25,"radius":1},{"key":"Jesus","key2":"2021","height":10,"radius":4},{"key":"Andrea","key2":"2020","height":6,"radius":5},{"key":"David","key2":"2019","height":17,"radius":3}]';
|
|
40
|
+
|
|
41
|
+
function updateData () {
|
|
42
|
+
//document.querySelector('#cylsmap').setAttribute('babia-cylsmap', 'data', data);
|
|
43
|
+
}
|
|
44
|
+
</script>
|
|
45
|
+
|
|
37
46
|
<!-- GITLAB CORNER-->
|
|
38
47
|
<div class="gitlab-corner-wrapper"><a href="https://gitlab.com/babiaxr/aframe-babia-components/-/blob/master/examples/charts/cylsmap/index.html" class="gitlab-corner"
|
|
39
48
|
aria-label="View source on GitLab"><svg id="logo_art" data-name="logo art" xmlns="http://www.w3.org/2000/svg"
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<title>A-Frame Babia components</title>
|
|
7
|
+
<meta name="description" content="Babia Bars example with Querier" />
|
|
8
|
+
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
|
|
9
|
+
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v6.1.0/dist/aframe-extras.min.js"></script>
|
|
10
|
+
<script src="https://unpkg.com/aframe-environment-component@1.2.0/dist/aframe-environment-component.min.js"></script>
|
|
11
|
+
<script src="https://unpkg.com/aframe-text-geometry-component@0.5.1/dist/aframe-text-geometry-component.min.js"></script>
|
|
12
|
+
<script src="../../../dist/aframe-babia-components.js"></script>
|
|
13
|
+
<link rel="stylesheet" href="../../assets/gitlab-corner.css">
|
|
14
|
+
</head>
|
|
15
|
+
|
|
16
|
+
<body>
|
|
17
|
+
<a-scene background="color: #A8F3FF" id="AframeScene">
|
|
18
|
+
<a-entity environment="playArea: 2"></a-entity>
|
|
19
|
+
<a-light type="point" intensity="1" position="-10 20 30"></a-light>
|
|
20
|
+
|
|
21
|
+
<a-entity babia-querycsv="url: ./data.csv;"
|
|
22
|
+
babia-bars='legend: true; axis: true'
|
|
23
|
+
position="-13 0 0" rotation="0 0 0"></a-entity>
|
|
24
|
+
|
|
25
|
+
<a-entity babia-querycsv="data: x_axis,name2,size,height
|
|
26
|
+
First,Aaaa,10,2
|
|
27
|
+
Second,Bbbbb,5,15
|
|
28
|
+
Third,Cccc,9,17
|
|
29
|
+
Fourth,Dddd,12,2
|
|
30
|
+
Fifth,Eeee,16,21
|
|
31
|
+
Sixth,Ffff,2,13
|
|
32
|
+
Seventh,Gggg,1,19
|
|
33
|
+
Eight,Hhhh,8,8
|
|
34
|
+
Nineth,Iiii,3,5
|
|
35
|
+
;"
|
|
36
|
+
babia-bars="legend: true; axis: true2"
|
|
37
|
+
position="2 0 0" rotation="0 0 0"></a-entity>
|
|
38
|
+
|
|
39
|
+
<a-entity movement-controls="fly: true" position="-3 5 10">
|
|
40
|
+
<a-entity camera position="0 0 0" look-controls></a-entity>
|
|
41
|
+
<a-entity cursor="rayOrigin:mouse"></a-entity>
|
|
42
|
+
<a-entity laser-controls="hand: right"></a-entity>
|
|
43
|
+
</a-entity>
|
|
44
|
+
</a-scene>
|
|
45
|
+
|
|
46
|
+
<!-- GITLAB CORNER-->
|
|
47
|
+
<div class="gitlab-corner-wrapper"><a href="https://gitlab.com/babiaxr/aframe-babia-components/-/blob/master/examples/charts_querier/bars_querier/index.html" class="gitlab-corner"
|
|
48
|
+
aria-label="View source on GitLab"><svg id="logo_art" data-name="logo art" xmlns="http://www.w3.org/2000/svg"
|
|
49
|
+
viewBox="0 0 586 559">
|
|
50
|
+
<g id="g44">
|
|
51
|
+
<path id="path46" class="cls-1"
|
|
52
|
+
d="M461.17,301.83l-18.91-58.12L404.84,128.43a6.47,6.47,0,0,0-12.27,0L355.15,243.64H230.82L193.4,128.43a6.46,6.46,0,0,0-12.26,0L143.78,243.64l-18.91,58.19a12.88,12.88,0,0,0,4.66,14.39L293,435,456.44,316.22a12.9,12.9,0,0,0,4.73-14.39" />
|
|
53
|
+
</g>
|
|
54
|
+
<g id="g48">
|
|
55
|
+
<path id="path50" class="cls-2" d="M293,434.91h0l62.16-191.28H230.87L293,434.91Z" />
|
|
56
|
+
</g>
|
|
57
|
+
<g id="g56">
|
|
58
|
+
<path id="path58" class="cls-1" d="M293,434.91,230.82,243.63h-87L293,434.91Z" />
|
|
59
|
+
</g>
|
|
60
|
+
<g id="g64">
|
|
61
|
+
<path id="path66" class="cls-3"
|
|
62
|
+
d="M143.75,243.69h0l-18.91,58.12a12.88,12.88,0,0,0,4.66,14.39L293,435,143.75,243.69Z" />
|
|
63
|
+
</g>
|
|
64
|
+
<g id="g72">
|
|
65
|
+
<path id="path74" class="cls-2" d="M143.78,243.69h87.11L193.4,128.49a6.47,6.47,0,0,0-12.27,0l-37.35,115.2Z" />
|
|
66
|
+
</g>
|
|
67
|
+
<g id="g76">
|
|
68
|
+
<path id="path78" class="cls-1" d="M293,434.91l62.16-191.28H442.3L293,434.91Z" />
|
|
69
|
+
</g>
|
|
70
|
+
<g id="g80">
|
|
71
|
+
<path id="path82" class="cls-3"
|
|
72
|
+
d="M442.24,243.69h0l18.91,58.12a12.85,12.85,0,0,1-4.66,14.39L293,434.91l149.2-191.22Z" />
|
|
73
|
+
</g>
|
|
74
|
+
<g id="g84">
|
|
75
|
+
<path id="path86" class="cls-2" d="M442.28,243.69h-87.1l37.42-115.2a6.46,6.46,0,0,1,12.26,0l37.42,115.2Z" />
|
|
76
|
+
</g>
|
|
77
|
+
</svg></a></div>
|
|
78
|
+
|
|
79
|
+
</body>
|
|
80
|
+
</html>
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<title>A-Frame Babia components</title>
|
|
7
|
+
<meta name="description" content="Multiple Charts example with Querier." />
|
|
8
|
+
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
|
|
9
|
+
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v6.1.0/dist/aframe-extras.min.js"></script>
|
|
10
|
+
<script
|
|
11
|
+
src="https://unpkg.com/aframe-environment-component@1.2.0/dist/aframe-environment-component.min.js"></script>
|
|
12
|
+
<script
|
|
13
|
+
src="https://unpkg.com/aframe-text-geometry-component@0.5.1/dist/aframe-text-geometry-component.min.js"></script>
|
|
14
|
+
<script src="../../../dist/aframe-babia-components.js"></script>
|
|
15
|
+
<link rel="stylesheet" href="../../assets/gitlab-corner.css">
|
|
16
|
+
</head>
|
|
17
|
+
|
|
18
|
+
<body>
|
|
19
|
+
<a-scene background="color: #A8F3FF" id="AframeScene">
|
|
20
|
+
<a-entity environment="playArea: 2"></a-entity>
|
|
21
|
+
<a-light type="point" intensity="1" position="-10 20 30"></a-light>
|
|
22
|
+
|
|
23
|
+
<a-entity id="queriertest" babia-queryjson="url: ./data.json;"></a-entity>
|
|
24
|
+
<a-entity id="filtertest" babia-filter="from: queriertest; filter: age=2019"></a-entity>
|
|
25
|
+
|
|
26
|
+
<a-entity scale="0.1 0.1 0.1"
|
|
27
|
+
babia-bubbles='animation: true; x_axis: name; z_axis: age; height: metric2; radius: size; legend: true; from: queriertest; palette: ["#5b6b00", "#bc0000", "#00ffff", "#ff691d", "#ff5f90", "#001900"]'
|
|
28
|
+
position="4 0 0" rotation="0 0 0">
|
|
29
|
+
</a-entity>
|
|
30
|
+
<a-entity babia-barsmap='animation: true; x_axis: name; z_axis: age; height: size; legend: true; from: queriertest; palette: ["#ffb02e", "#8600c4", "#007700", "#00388c", "#df0084", "#00c4ff"]' position="-10 0 0" rotation="0 0 0"></a-entity>
|
|
31
|
+
<a-entity babia-pie='legend: true; from: filtertest; key: name; size: size; palette: ["#669900", "#0039a6", "#ffb446"]' position='-12 5 10'
|
|
32
|
+
rotation="90 15 0"></a-entity>
|
|
33
|
+
<a-entity babia-bars='legend: true; axis: true; from: filtertest; x_axis: name; height: size; palette: ["blue", "red", "yellow"]' position="25 0 0"
|
|
34
|
+
rotation="0 -15 0"></a-entity>
|
|
35
|
+
|
|
36
|
+
<a-entity movement-controls="fly: true" position="5 5 30">
|
|
37
|
+
<a-entity camera position="0 0 0" look-controls></a-entity>
|
|
38
|
+
<a-entity cursor="rayOrigin:mouse"></a-entity>
|
|
39
|
+
<a-entity laser-controls="hand: right"></a-entity>
|
|
40
|
+
</a-entity>
|
|
41
|
+
</a-scene>
|
|
42
|
+
|
|
43
|
+
<!-- GITLAB CORNER-->
|
|
44
|
+
<div class="gitlab-corner-wrapper"><a
|
|
45
|
+
href="https://gitlab.com/babiaxr/aframe-babia-components/-/blob/master/examples/charts_querier/multichart_querier/index.html"
|
|
46
|
+
class="gitlab-corner" aria-label="View source on GitLab"><svg id="logo_art" data-name="logo art"
|
|
47
|
+
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 586 559">
|
|
48
|
+
<g id="g44">
|
|
49
|
+
<path id="path46" class="cls-1"
|
|
50
|
+
d="M461.17,301.83l-18.91-58.12L404.84,128.43a6.47,6.47,0,0,0-12.27,0L355.15,243.64H230.82L193.4,128.43a6.46,6.46,0,0,0-12.26,0L143.78,243.64l-18.91,58.19a12.88,12.88,0,0,0,4.66,14.39L293,435,456.44,316.22a12.9,12.9,0,0,0,4.73-14.39" />
|
|
51
|
+
</g>
|
|
52
|
+
<g id="g48">
|
|
53
|
+
<path id="path50" class="cls-2" d="M293,434.91h0l62.16-191.28H230.87L293,434.91Z" />
|
|
54
|
+
</g>
|
|
55
|
+
<g id="g56">
|
|
56
|
+
<path id="path58" class="cls-1" d="M293,434.91,230.82,243.63h-87L293,434.91Z" />
|
|
57
|
+
</g>
|
|
58
|
+
<g id="g64">
|
|
59
|
+
<path id="path66" class="cls-3"
|
|
60
|
+
d="M143.75,243.69h0l-18.91,58.12a12.88,12.88,0,0,0,4.66,14.39L293,435,143.75,243.69Z" />
|
|
61
|
+
</g>
|
|
62
|
+
<g id="g72">
|
|
63
|
+
<path id="path74" class="cls-2"
|
|
64
|
+
d="M143.78,243.69h87.11L193.4,128.49a6.47,6.47,0,0,0-12.27,0l-37.35,115.2Z" />
|
|
65
|
+
</g>
|
|
66
|
+
<g id="g76">
|
|
67
|
+
<path id="path78" class="cls-1" d="M293,434.91l62.16-191.28H442.3L293,434.91Z" />
|
|
68
|
+
</g>
|
|
69
|
+
<g id="g80">
|
|
70
|
+
<path id="path82" class="cls-3"
|
|
71
|
+
d="M442.24,243.69h0l18.91,58.12a12.85,12.85,0,0,1-4.66,14.39L293,434.91l149.2-191.22Z" />
|
|
72
|
+
</g>
|
|
73
|
+
<g id="g84">
|
|
74
|
+
<path id="path86" class="cls-2"
|
|
75
|
+
d="M442.28,243.69h-87.1l37.42-115.2a6.46,6.46,0,0,1,12.26,0l37.42,115.2Z" />
|
|
76
|
+
</g>
|
|
77
|
+
</svg></a></div>
|
|
78
|
+
|
|
79
|
+
</body>
|
|
80
|
+
|
|
81
|
+
</html>
|