@operato/scene-scichart 7.2.3 → 7.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/CHANGELOG.md +18 -0
- package/db.sqlite +0 -0
- package/dist/charts/ox-scichart-multiple.js +5 -6
- package/dist/charts/ox-scichart-multiple.js.map +1 -1
- package/dist/charts/ox-scichart.js +8 -4
- package/dist/charts/ox-scichart.js.map +1 -1
- package/dist/charts/scichart-builder.js +51 -28
- package/dist/charts/scichart-builder.js.map +1 -1
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +10 -0
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +10 -0
- package/logs/application-2024-08-03-02.log +105 -0
- package/logs/application-2024-08-03-11.log +105 -0
- package/logs/connections-2024-08-03-02.log +50 -0
- package/logs/connections-2024-08-03-11.log +50 -0
- package/package.json +2 -2
- package/src/charts/ox-scichart-multiple.ts +5 -6
- package/src/charts/ox-scichart.ts +7 -3
- package/src/charts/scichart-builder.ts +63 -39
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
2024-08-03T02:23:32+09:00 info: File Storage is Ready.
|
|
2
|
+
2024-08-03T02:23:33+09:00 error: Error: Cannot find module 'oracledb'
|
|
3
|
+
Require stack:
|
|
4
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/connector/oracle-connector.js
|
|
5
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/connector/index.js
|
|
6
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/index.js
|
|
7
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/index.js
|
|
8
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/lib/module-loader.js
|
|
9
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/index.js
|
|
10
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js
|
|
11
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/bin/things-factory-dev
|
|
12
|
+
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
|
|
13
|
+
at Module._load (node:internal/modules/cjs/loader:986:27)
|
|
14
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
15
|
+
at require (node:internal/modules/helpers:179:18)
|
|
16
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/connector/oracle-connector.js:7:20)
|
|
17
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
18
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
19
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
20
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
21
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
22
|
+
at require (node:internal/modules/helpers:179:18)
|
|
23
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/connector/index.js:11:1)
|
|
24
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
25
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
26
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
27
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
28
|
+
2024-08-03T02:23:33+09:00 error: Error: Cannot find module 'oracledb'
|
|
29
|
+
Require stack:
|
|
30
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/task/oracle-procedure.js
|
|
31
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/task/index.js
|
|
32
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/index.js
|
|
33
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/index.js
|
|
34
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/lib/module-loader.js
|
|
35
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/index.js
|
|
36
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js
|
|
37
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/bin/things-factory-dev
|
|
38
|
+
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
|
|
39
|
+
at Module._load (node:internal/modules/cjs/loader:986:27)
|
|
40
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
41
|
+
at require (node:internal/modules/helpers:179:18)
|
|
42
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/task/oracle-procedure.js:9:20)
|
|
43
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
44
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
45
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
46
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
47
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
48
|
+
at require (node:internal/modules/helpers:179:18)
|
|
49
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/task/index.js:43:1)
|
|
50
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
51
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
52
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
53
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
54
|
+
2024-08-03T02:23:33+09:00 error: Error: Cannot find module '@thiagoelg/node-printer'
|
|
55
|
+
Require stack:
|
|
56
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/board-service/dist-server/controllers/print.js
|
|
57
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/board-service/dist-server/controllers/index.js
|
|
58
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/board-service/dist-server/index.js
|
|
59
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/lib/module-loader.js
|
|
60
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/index.js
|
|
61
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js
|
|
62
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/bin/things-factory-dev
|
|
63
|
+
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
|
|
64
|
+
at Module._load (node:internal/modules/cjs/loader:986:27)
|
|
65
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
66
|
+
at require (node:internal/modules/helpers:179:18)
|
|
67
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/board-service/dist-server/controllers/print.js:10:17)
|
|
68
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
69
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
70
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
71
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
72
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
73
|
+
at require (node:internal/modules/helpers:179:18)
|
|
74
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/board-service/dist-server/controllers/index.js:4:17)
|
|
75
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
76
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
77
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
78
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
79
|
+
2024-08-03T02:23:33+09:00 error: Error: Cannot find module '@thiagoelg/node-printer'
|
|
80
|
+
Require stack:
|
|
81
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/print-service/dist-server/middlewares/index.js
|
|
82
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/print-service/dist-server/index.js
|
|
83
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/lib/module-loader.js
|
|
84
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/index.js
|
|
85
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js
|
|
86
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/bin/things-factory-dev
|
|
87
|
+
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
|
|
88
|
+
at Module._load (node:internal/modules/cjs/loader:986:27)
|
|
89
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
90
|
+
at require (node:internal/modules/helpers:179:18)
|
|
91
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/print-service/dist-server/middlewares/index.js:8:19)
|
|
92
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
93
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
94
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
95
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
96
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
97
|
+
at require (node:internal/modules/helpers:179:18)
|
|
98
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/print-service/dist-server/index.js:4:22)
|
|
99
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
100
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
101
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
102
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
103
|
+
2024-08-03T02:23:34+09:00 info: Default DataSource established
|
|
104
|
+
2024-08-03T02:23:35+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
105
|
+
2024-08-03T02:23:35+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
2024-08-03T11:19:50+09:00 info: File Storage is Ready.
|
|
2
|
+
2024-08-03T11:19:51+09:00 error: Error: Cannot find module 'oracledb'
|
|
3
|
+
Require stack:
|
|
4
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/connector/oracle-connector.js
|
|
5
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/connector/index.js
|
|
6
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/index.js
|
|
7
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/index.js
|
|
8
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/lib/module-loader.js
|
|
9
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/index.js
|
|
10
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js
|
|
11
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/bin/things-factory-dev
|
|
12
|
+
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
|
|
13
|
+
at Module._load (node:internal/modules/cjs/loader:986:27)
|
|
14
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
15
|
+
at require (node:internal/modules/helpers:179:18)
|
|
16
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/connector/oracle-connector.js:7:20)
|
|
17
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
18
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
19
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
20
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
21
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
22
|
+
at require (node:internal/modules/helpers:179:18)
|
|
23
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/connector/index.js:11:1)
|
|
24
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
25
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
26
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
27
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
28
|
+
2024-08-03T11:19:51+09:00 error: Error: Cannot find module 'oracledb'
|
|
29
|
+
Require stack:
|
|
30
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/task/oracle-procedure.js
|
|
31
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/task/index.js
|
|
32
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/index.js
|
|
33
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/index.js
|
|
34
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/lib/module-loader.js
|
|
35
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/index.js
|
|
36
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js
|
|
37
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/bin/things-factory-dev
|
|
38
|
+
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
|
|
39
|
+
at Module._load (node:internal/modules/cjs/loader:986:27)
|
|
40
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
41
|
+
at require (node:internal/modules/helpers:179:18)
|
|
42
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/task/oracle-procedure.js:9:20)
|
|
43
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
44
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
45
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
46
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
47
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
48
|
+
at require (node:internal/modules/helpers:179:18)
|
|
49
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/task/index.js:43:1)
|
|
50
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
51
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
52
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
53
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
54
|
+
2024-08-03T11:19:51+09:00 error: Error: Cannot find module '@thiagoelg/node-printer'
|
|
55
|
+
Require stack:
|
|
56
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/board-service/dist-server/controllers/print.js
|
|
57
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/board-service/dist-server/controllers/index.js
|
|
58
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/board-service/dist-server/index.js
|
|
59
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/lib/module-loader.js
|
|
60
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/index.js
|
|
61
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js
|
|
62
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/bin/things-factory-dev
|
|
63
|
+
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
|
|
64
|
+
at Module._load (node:internal/modules/cjs/loader:986:27)
|
|
65
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
66
|
+
at require (node:internal/modules/helpers:179:18)
|
|
67
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/board-service/dist-server/controllers/print.js:10:17)
|
|
68
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
69
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
70
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
71
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
72
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
73
|
+
at require (node:internal/modules/helpers:179:18)
|
|
74
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/board-service/dist-server/controllers/index.js:4:17)
|
|
75
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
76
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
77
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
78
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
79
|
+
2024-08-03T11:19:51+09:00 error: Error: Cannot find module '@thiagoelg/node-printer'
|
|
80
|
+
Require stack:
|
|
81
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/print-service/dist-server/middlewares/index.js
|
|
82
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/print-service/dist-server/index.js
|
|
83
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/lib/module-loader.js
|
|
84
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/env/index.js
|
|
85
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js
|
|
86
|
+
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/bin/things-factory-dev
|
|
87
|
+
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
|
|
88
|
+
at Module._load (node:internal/modules/cjs/loader:986:27)
|
|
89
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
90
|
+
at require (node:internal/modules/helpers:179:18)
|
|
91
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/print-service/dist-server/middlewares/index.js:8:19)
|
|
92
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
93
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
94
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
95
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
96
|
+
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
|
97
|
+
at require (node:internal/modules/helpers:179:18)
|
|
98
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/print-service/dist-server/index.js:4:22)
|
|
99
|
+
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
|
100
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
|
101
|
+
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
|
102
|
+
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
|
103
|
+
2024-08-03T11:19:52+09:00 info: Default DataSource established
|
|
104
|
+
2024-08-03T11:19:53+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
105
|
+
2024-08-03T11:19:53+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
2024-08-03T02:23:35+09:00 info: Initializing ConnectionManager...
|
|
2
|
+
2024-08-03T02:23:35+09:00 info: Connector 'echo-back-server' started to ready
|
|
3
|
+
2024-08-03T02:23:35+09:00 info: Connector 'echo-back' started to ready
|
|
4
|
+
2024-08-03T02:23:35+09:00 info: Connector 'http-connector' started to ready
|
|
5
|
+
2024-08-03T02:23:35+09:00 info: Connector 'graphql-connector' started to ready
|
|
6
|
+
2024-08-03T02:23:35+09:00 info: Connector 'sqlite-connector' started to ready
|
|
7
|
+
2024-08-03T02:23:35+09:00 info: Connector 'postgresql-connector' started to ready
|
|
8
|
+
2024-08-03T02:23:35+09:00 info: Connector 'mqtt-connector' started to ready
|
|
9
|
+
2024-08-03T02:23:35+09:00 info: Connector 'mssql-connector' started to ready
|
|
10
|
+
2024-08-03T02:23:35+09:00 info: Connector 'oracle-connector' started to ready
|
|
11
|
+
2024-08-03T02:23:35+09:00 info: Connector 'mysql-connector' started to ready
|
|
12
|
+
2024-08-03T02:23:35+09:00 info: Connector 'socket-server' started to ready
|
|
13
|
+
2024-08-03T02:23:35+09:00 info: Connector 'operato-connector' started to ready
|
|
14
|
+
2024-08-03T02:23:35+09:00 info: Connector 'email-connector' started to ready
|
|
15
|
+
2024-08-03T02:23:35+09:00 info: Connector 'influxdb-connector' started to ready
|
|
16
|
+
2024-08-03T02:23:35+09:00 info: Connector 'msgraph-connector' started to ready
|
|
17
|
+
2024-08-03T02:23:35+09:00 info: Connector 'proxy-connector' started to ready
|
|
18
|
+
2024-08-03T02:23:35+09:00 info: echo-back-servers are ready
|
|
19
|
+
2024-08-03T02:23:35+09:00 info: echo-back connections are ready
|
|
20
|
+
2024-08-03T02:23:35+09:00 info: http-connector connections are ready
|
|
21
|
+
2024-08-03T02:23:35+09:00 info: graphql-connector connections are ready
|
|
22
|
+
2024-08-03T02:23:35+09:00 info: sqlite-connector connections are ready
|
|
23
|
+
2024-08-03T02:23:35+09:00 info: postgresql-connector connections are ready
|
|
24
|
+
2024-08-03T02:23:35+09:00 info: mqtt-connector connections are ready
|
|
25
|
+
2024-08-03T02:23:35+09:00 info: mssql-connector connections are ready
|
|
26
|
+
2024-08-03T02:23:35+09:00 info: oracle-connector connections are ready
|
|
27
|
+
2024-08-03T02:23:35+09:00 info: mysql-connector connections are ready
|
|
28
|
+
2024-08-03T02:23:35+09:00 info: socket servers are ready
|
|
29
|
+
2024-08-03T02:23:35+09:00 info: operato-connector connections are ready
|
|
30
|
+
2024-08-03T02:23:35+09:00 info: email connections are ready
|
|
31
|
+
2024-08-03T02:23:35+09:00 info: influxdb connections are ready
|
|
32
|
+
2024-08-03T02:23:35+09:00 info: msgraph-connector connections are ready
|
|
33
|
+
2024-08-03T02:23:35+09:00 info: proxy-connector connections are ready
|
|
34
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'echo-back-server' ready
|
|
35
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'echo-back' ready
|
|
36
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'http-connector' ready
|
|
37
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'graphql-connector' ready
|
|
38
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'sqlite-connector' ready
|
|
39
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'postgresql-connector' ready
|
|
40
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'mqtt-connector' ready
|
|
41
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'mssql-connector' ready
|
|
42
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'oracle-connector' ready
|
|
43
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'mysql-connector' ready
|
|
44
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'socket-server' ready
|
|
45
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'operato-connector' ready
|
|
46
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'email-connector' ready
|
|
47
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'influxdb-connector' ready
|
|
48
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'msgraph-connector' ready
|
|
49
|
+
2024-08-03T02:23:35+09:00 info: All connector for 'proxy-connector' ready
|
|
50
|
+
2024-08-03T02:23:35+09:00 info: ConnectionManager initialization done:
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
2024-08-03T11:19:53+09:00 info: Initializing ConnectionManager...
|
|
2
|
+
2024-08-03T11:19:53+09:00 info: Connector 'echo-back-server' started to ready
|
|
3
|
+
2024-08-03T11:19:53+09:00 info: Connector 'echo-back' started to ready
|
|
4
|
+
2024-08-03T11:19:53+09:00 info: Connector 'http-connector' started to ready
|
|
5
|
+
2024-08-03T11:19:53+09:00 info: Connector 'graphql-connector' started to ready
|
|
6
|
+
2024-08-03T11:19:53+09:00 info: Connector 'sqlite-connector' started to ready
|
|
7
|
+
2024-08-03T11:19:53+09:00 info: Connector 'postgresql-connector' started to ready
|
|
8
|
+
2024-08-03T11:19:53+09:00 info: Connector 'mqtt-connector' started to ready
|
|
9
|
+
2024-08-03T11:19:53+09:00 info: Connector 'mssql-connector' started to ready
|
|
10
|
+
2024-08-03T11:19:53+09:00 info: Connector 'oracle-connector' started to ready
|
|
11
|
+
2024-08-03T11:19:53+09:00 info: Connector 'mysql-connector' started to ready
|
|
12
|
+
2024-08-03T11:19:53+09:00 info: Connector 'socket-server' started to ready
|
|
13
|
+
2024-08-03T11:19:53+09:00 info: Connector 'operato-connector' started to ready
|
|
14
|
+
2024-08-03T11:19:53+09:00 info: Connector 'email-connector' started to ready
|
|
15
|
+
2024-08-03T11:19:53+09:00 info: Connector 'influxdb-connector' started to ready
|
|
16
|
+
2024-08-03T11:19:53+09:00 info: Connector 'msgraph-connector' started to ready
|
|
17
|
+
2024-08-03T11:19:53+09:00 info: Connector 'proxy-connector' started to ready
|
|
18
|
+
2024-08-03T11:19:53+09:00 info: echo-back-servers are ready
|
|
19
|
+
2024-08-03T11:19:53+09:00 info: echo-back connections are ready
|
|
20
|
+
2024-08-03T11:19:53+09:00 info: http-connector connections are ready
|
|
21
|
+
2024-08-03T11:19:53+09:00 info: graphql-connector connections are ready
|
|
22
|
+
2024-08-03T11:19:53+09:00 info: sqlite-connector connections are ready
|
|
23
|
+
2024-08-03T11:19:53+09:00 info: postgresql-connector connections are ready
|
|
24
|
+
2024-08-03T11:19:53+09:00 info: mqtt-connector connections are ready
|
|
25
|
+
2024-08-03T11:19:53+09:00 info: mssql-connector connections are ready
|
|
26
|
+
2024-08-03T11:19:53+09:00 info: oracle-connector connections are ready
|
|
27
|
+
2024-08-03T11:19:53+09:00 info: mysql-connector connections are ready
|
|
28
|
+
2024-08-03T11:19:53+09:00 info: socket servers are ready
|
|
29
|
+
2024-08-03T11:19:53+09:00 info: operato-connector connections are ready
|
|
30
|
+
2024-08-03T11:19:53+09:00 info: email connections are ready
|
|
31
|
+
2024-08-03T11:19:53+09:00 info: influxdb connections are ready
|
|
32
|
+
2024-08-03T11:19:53+09:00 info: msgraph-connector connections are ready
|
|
33
|
+
2024-08-03T11:19:53+09:00 info: proxy-connector connections are ready
|
|
34
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'echo-back-server' ready
|
|
35
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'echo-back' ready
|
|
36
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'http-connector' ready
|
|
37
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'graphql-connector' ready
|
|
38
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'sqlite-connector' ready
|
|
39
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'postgresql-connector' ready
|
|
40
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'mqtt-connector' ready
|
|
41
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'mssql-connector' ready
|
|
42
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'oracle-connector' ready
|
|
43
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'mysql-connector' ready
|
|
44
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'socket-server' ready
|
|
45
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'operato-connector' ready
|
|
46
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'email-connector' ready
|
|
47
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'influxdb-connector' ready
|
|
48
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'msgraph-connector' ready
|
|
49
|
+
2024-08-03T11:19:53+09:00 info: All connector for 'proxy-connector' ready
|
|
50
|
+
2024-08-03T11:19:53+09:00 info: ConnectionManager initialization done:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/scene-scichart",
|
|
3
3
|
"description": "scichart wrapping component",
|
|
4
|
-
"version": "7.2.
|
|
4
|
+
"version": "7.2.5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"things-scene": true,
|
|
7
7
|
"author": "heartyoh",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"prettier --write"
|
|
60
60
|
]
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "b608ccefcc9789cffdf1e6571bea254295af2d1c"
|
|
63
63
|
}
|
|
@@ -170,8 +170,10 @@ export class OxSciChartMultiple extends LitElement {
|
|
|
170
170
|
console.log(error)
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
setTimeout(() => {
|
|
174
|
+
sciChartSurface.zoomExtents()
|
|
175
|
+
sciChartSurface.invalidateElement()
|
|
176
|
+
}, 200)
|
|
175
177
|
})
|
|
176
178
|
|
|
177
179
|
try {
|
|
@@ -188,9 +190,6 @@ export class OxSciChartMultiple extends LitElement {
|
|
|
188
190
|
}
|
|
189
191
|
}
|
|
190
192
|
})
|
|
191
|
-
|
|
192
|
-
this.overviewChart?.sciChartSurface.zoomExtents()
|
|
193
|
-
this.overviewChart?.sciChartSurface.invalidateElement()
|
|
194
193
|
} catch (error) {
|
|
195
194
|
console.log(error)
|
|
196
195
|
}
|
|
@@ -323,7 +322,7 @@ export class OxSciChartMultiple extends LitElement {
|
|
|
323
322
|
config,
|
|
324
323
|
container,
|
|
325
324
|
{ fontSize: 14, fontFamily: 'Roboto', fontColor: undefined },
|
|
326
|
-
{ precision: valueFormat ? calculatePrecision(valueFormat) : undefined }
|
|
325
|
+
{ precision: valueFormat ? calculatePrecision(valueFormat) : undefined, grouped: this.containerId }
|
|
327
326
|
))!
|
|
328
327
|
|
|
329
328
|
this.verticalGroup.addSurfaceToGroup(chart.sciChartSurface)
|
|
@@ -71,7 +71,9 @@ export class OxSciChart extends LitElement {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
updateDataSeries() {
|
|
74
|
-
if (!this.dataSeries?.length)
|
|
74
|
+
if (!this.dataSeries?.length) {
|
|
75
|
+
return
|
|
76
|
+
}
|
|
75
77
|
|
|
76
78
|
this.dataSeries.forEach(ds => ds.clear())
|
|
77
79
|
const newData = this.dataSet
|
|
@@ -87,8 +89,10 @@ export class OxSciChart extends LitElement {
|
|
|
87
89
|
}
|
|
88
90
|
})
|
|
89
91
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
+
setTimeout(() => {
|
|
93
|
+
this.chart?.sciChartSurface.zoomExtents()
|
|
94
|
+
this.chart?.sciChartSurface.invalidateElement()
|
|
95
|
+
}, 200)
|
|
92
96
|
}
|
|
93
97
|
|
|
94
98
|
get dataSet(): { xValue: number; yValue: number }[][] {
|
|
@@ -44,7 +44,8 @@ import {
|
|
|
44
44
|
HorizontalLineAnnotation,
|
|
45
45
|
VerticalLineAnnotation,
|
|
46
46
|
OverviewRangeSelectionModifier,
|
|
47
|
-
ENumericFormat
|
|
47
|
+
ENumericFormat,
|
|
48
|
+
XySeriesInfo
|
|
48
49
|
} from 'scichart'
|
|
49
50
|
import { AxisSynchroniser } from './axis-synchronizer'
|
|
50
51
|
|
|
@@ -139,12 +140,12 @@ function createAxis(
|
|
|
139
140
|
beginAtZero,
|
|
140
141
|
color = fontColor,
|
|
141
142
|
textStrokeColor = fontColor,
|
|
142
|
-
display
|
|
143
|
+
display = false
|
|
143
144
|
} = ticks || {}
|
|
144
145
|
|
|
145
146
|
const axisOptions = {
|
|
146
147
|
axisTitle,
|
|
147
|
-
autoRange: autoMin || autoMax ? EAutoRange.Always :
|
|
148
|
+
autoRange: autoMin || autoMax ? EAutoRange.Always : EAutoRange.Once,
|
|
148
149
|
axisAlignment: isXAxis ? EAxisAlignment.Bottom : index === 0 ? EAxisAlignment.Left : EAxisAlignment.Right,
|
|
149
150
|
visibleRange: min !== undefined && max !== undefined ? new NumberRange(min, max) : undefined,
|
|
150
151
|
majorDelta: stepSize,
|
|
@@ -159,7 +160,8 @@ function createAxis(
|
|
|
159
160
|
fontSize,
|
|
160
161
|
color: textStrokeColor
|
|
161
162
|
},
|
|
162
|
-
...options
|
|
163
|
+
...options,
|
|
164
|
+
drawLabels: display
|
|
163
165
|
}
|
|
164
166
|
|
|
165
167
|
const labelProvider = isXAxis
|
|
@@ -171,11 +173,11 @@ function createAxis(
|
|
|
171
173
|
: new NumericLabelProvider()
|
|
172
174
|
|
|
173
175
|
if (isXAxis) {
|
|
174
|
-
labelProvider
|
|
176
|
+
labelProvider!.cursorNumericFormat = ENumericFormat.Date_HHMMSS
|
|
175
177
|
} else {
|
|
176
|
-
labelProvider
|
|
177
|
-
labelProvider
|
|
178
|
-
labelProvider
|
|
178
|
+
labelProvider!.numericFormat = ENumericFormat.Decimal
|
|
179
|
+
labelProvider!.precision = precision || calculatePrecision(stepSize || 0.1)
|
|
180
|
+
labelProvider!.cursorNumericFormat = ENumericFormat.NoFormat
|
|
179
181
|
}
|
|
180
182
|
|
|
181
183
|
return isXAxis
|
|
@@ -274,8 +276,8 @@ export async function buildSciChart(
|
|
|
274
276
|
position: 'top'
|
|
275
277
|
},
|
|
276
278
|
scales: fromScales,
|
|
277
|
-
xGridLine =
|
|
278
|
-
yGridLine =
|
|
279
|
+
xGridLine = false,
|
|
280
|
+
yGridLine = false,
|
|
279
281
|
y2ndGridLine = false,
|
|
280
282
|
stacked = false,
|
|
281
283
|
multiAxis = false,
|
|
@@ -297,19 +299,25 @@ export async function buildSciChart(
|
|
|
297
299
|
})
|
|
298
300
|
const { sciChartSurface, wasmContext } = chart
|
|
299
301
|
|
|
300
|
-
// X 축 설정
|
|
301
302
|
xAxes.forEach((axis, index) => {
|
|
302
|
-
const xAxis = createAxis(wasmContext, axis, index, true, fontColor, fontFamily, fontSize
|
|
303
|
+
const xAxis = createAxis(wasmContext, axis, index, true, fontColor, fontFamily, fontSize, undefined, {
|
|
304
|
+
drawMajorTickLines: true,
|
|
305
|
+
drawMinorTickLines: true,
|
|
306
|
+
drawMajorGridLines: xGridLine,
|
|
307
|
+
drawMinorGridLines: xGridLine
|
|
308
|
+
})
|
|
303
309
|
sciChartSurface.xAxes.add(xAxis)
|
|
304
310
|
})
|
|
305
|
-
|
|
306
|
-
// Y 축 설정
|
|
307
311
|
;(multiAxis ? yAxes : [yAxes[0]]).forEach((axis, index) => {
|
|
308
|
-
const yAxis = createAxis(wasmContext, axis, index, false, fontColor, fontFamily, fontSize, precision
|
|
312
|
+
const yAxis = createAxis(wasmContext, axis, index, false, fontColor, fontFamily, fontSize, precision, {
|
|
313
|
+
drawMajorTickLines: true,
|
|
314
|
+
drawMinorTickLines: true,
|
|
315
|
+
drawMajorGridLines: index == 0 ? yGridLine : y2ndGridLine,
|
|
316
|
+
drawMinorGridLines: index == 0 ? yGridLine : y2ndGridLine
|
|
317
|
+
})
|
|
309
318
|
sciChartSurface.yAxes.add(yAxis)
|
|
310
319
|
})
|
|
311
320
|
|
|
312
|
-
// 시리즈 설정
|
|
313
321
|
const dataSeriesArray = datasets.map((dataset, index) => {
|
|
314
322
|
const yAxisId = dataset.yAxisID == 'right' && multiAxis ? 'yAxis1' : undefined
|
|
315
323
|
const { series, dataSeries } = createSeries(wasmContext, dataset, index, !!stacked, !!animation, yAxisId)
|
|
@@ -319,8 +327,14 @@ export async function buildSciChart(
|
|
|
319
327
|
if (tooltip) {
|
|
320
328
|
const rolloverModifier = new RolloverModifier({
|
|
321
329
|
showTooltip: true,
|
|
322
|
-
showAxisLabel: true /*
|
|
323
|
-
modifierGroup: grouped
|
|
330
|
+
showAxisLabel: true /* show x-axis label for cursor */,
|
|
331
|
+
modifierGroup: grouped,
|
|
332
|
+
tooltipDataTemplate: (seriesInfo: XySeriesInfo): string[] => {
|
|
333
|
+
const valuesWithLabels: string[] = []
|
|
334
|
+
const xySeriesInfo = seriesInfo as XySeriesInfo
|
|
335
|
+
valuesWithLabels.push(xySeriesInfo.formattedYValue)
|
|
336
|
+
return valuesWithLabels
|
|
337
|
+
}
|
|
324
338
|
})
|
|
325
339
|
|
|
326
340
|
sciChartSurface.chartModifiers.add(rolloverModifier)
|
|
@@ -329,7 +343,6 @@ export async function buildSciChart(
|
|
|
329
343
|
return dataSeries
|
|
330
344
|
})
|
|
331
345
|
|
|
332
|
-
// Stacked collections 추가
|
|
333
346
|
if (stacked) {
|
|
334
347
|
const stackedColumnCollection = new StackedColumnCollection(wasmContext)
|
|
335
348
|
const stackedMountainCollection = new StackedMountainCollection(wasmContext)
|
|
@@ -434,11 +447,10 @@ export async function buildSciChart(
|
|
|
434
447
|
})
|
|
435
448
|
}
|
|
436
449
|
|
|
437
|
-
// 줌인/줌아웃 모디파이어 추가
|
|
438
450
|
sciChartSurface.chartModifiers.add(
|
|
439
451
|
new RubberBandXyZoomModifier({ executeOn: EExecuteOn.MouseRightButton, modifierGroup: grouped }),
|
|
440
452
|
// new ZoomPanModifier({ xyDirection: EXyDirection.XDirection }),
|
|
441
|
-
new ZoomPanModifier(),
|
|
453
|
+
new ZoomPanModifier({ xyDirection: EXyDirection.XDirection }),
|
|
442
454
|
new MouseWheelZoomModifier({ xyDirection: EXyDirection.XDirection }),
|
|
443
455
|
new ZoomExtentsModifier(),
|
|
444
456
|
new XAxisDragModifier(),
|
|
@@ -488,32 +500,53 @@ export async function buildSciChartOverview(
|
|
|
488
500
|
|
|
489
501
|
const { xAxes = [], yAxes = [] } = fromScales || {}
|
|
490
502
|
|
|
491
|
-
// Instead we create a normal chart and then manually add the OverviewRangeSelectionModifier and bind it to the axisSynchroniser
|
|
492
503
|
const chart = await SciChartSurface.create(container, {
|
|
493
504
|
theme: theme == 'dark' ? new SciChartJSDarkv2Theme() : new SciChartJSLightTheme()
|
|
494
505
|
})
|
|
495
506
|
const { sciChartSurface, wasmContext } = chart
|
|
496
507
|
|
|
497
|
-
// X 축 설정
|
|
498
508
|
xAxes.forEach((axis, index) => {
|
|
499
|
-
const xAxis = createAxis(wasmContext, axis, index, true, fontColor, fontFamily, fontSize
|
|
509
|
+
const xAxis = createAxis(wasmContext, axis, index, true, fontColor, fontFamily, fontSize, undefined, {
|
|
510
|
+
drawMajorTickLines: false,
|
|
511
|
+
drawMinorTickLines: false,
|
|
512
|
+
drawMajorGridLines: false,
|
|
513
|
+
drawMinorGridLines: false
|
|
514
|
+
})
|
|
500
515
|
sciChartSurface.xAxes.add(xAxis)
|
|
501
516
|
})
|
|
502
517
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
const
|
|
518
|
+
const dataSeriesArray = datasets.map((dataset, index) => {
|
|
519
|
+
const yAxisId = `yAxis${index}`
|
|
520
|
+
const dataSeries = new XyDataSeries(wasmContext, {
|
|
521
|
+
dataSeriesName: dataset.label,
|
|
522
|
+
containsNaN: false
|
|
523
|
+
})
|
|
524
|
+
|
|
525
|
+
const yAxis = new NumericAxis(wasmContext, {
|
|
526
|
+
id: yAxisId,
|
|
527
|
+
autoRange: EAutoRange.Always,
|
|
506
528
|
drawLabels: false,
|
|
507
|
-
|
|
508
|
-
|
|
529
|
+
drawMajorTickLines: false,
|
|
530
|
+
drawMinorTickLines: false,
|
|
509
531
|
drawMajorGridLines: false,
|
|
510
532
|
drawMinorGridLines: false
|
|
511
533
|
})
|
|
534
|
+
|
|
512
535
|
sciChartSurface.yAxes.add(yAxis)
|
|
536
|
+
|
|
537
|
+
const series = new FastLineRenderableSeries(wasmContext, {
|
|
538
|
+
dataSeries,
|
|
539
|
+
strokeThickness: 1,
|
|
540
|
+
stroke: convertColor(dataset.color, DEFAULT_COLOR),
|
|
541
|
+
yAxisId: yAxisId
|
|
542
|
+
})
|
|
543
|
+
|
|
544
|
+
sciChartSurface.renderableSeries.add(series)
|
|
545
|
+
|
|
546
|
+
return dataSeries
|
|
513
547
|
})
|
|
514
548
|
|
|
515
549
|
const rangeSelectionModifier = new OverviewRangeSelectionModifier()
|
|
516
|
-
// When the range selection is moved, updated the linked charts
|
|
517
550
|
rangeSelectionModifier.onSelectedAreaChanged = (selectedRange?: NumberRange) => {
|
|
518
551
|
if (!selectedRange!.equals(axisSynchroniser.visibleRange)) {
|
|
519
552
|
axisSynchroniser.publishChange({ visibleRange: selectedRange! })
|
|
@@ -523,7 +556,6 @@ export async function buildSciChartOverview(
|
|
|
523
556
|
rangeSelectionModifier.selectedArea = axisSynchroniser.visibleRange
|
|
524
557
|
sciChartSurface.chartModifiers.add(rangeSelectionModifier)
|
|
525
558
|
|
|
526
|
-
// When charts are moved, update the range selection
|
|
527
559
|
axisSynchroniser.visibleRangeChanged.subscribe(({ visibleRange }: any) => {
|
|
528
560
|
const updatedSelectedRange = visibleRange.clip(sciChartSurface.xAxes.get(0).visibleRange)
|
|
529
561
|
const shouldUpdateSelectedRange = !updatedSelectedRange.equals(rangeSelectionModifier.selectedArea)
|
|
@@ -532,13 +564,5 @@ export async function buildSciChartOverview(
|
|
|
532
564
|
}
|
|
533
565
|
})
|
|
534
566
|
|
|
535
|
-
const dataSeriesArray = datasets.map((dataset, index) => {
|
|
536
|
-
const yAxisId = dataset.yAxisID == 'right' && multiAxis ? 'yAxis1' : undefined
|
|
537
|
-
const { series, dataSeries } = createSeries(wasmContext, dataset, index, !!stacked, !!animation, yAxisId)
|
|
538
|
-
|
|
539
|
-
sciChartSurface.renderableSeries.add(series)
|
|
540
|
-
return dataSeries
|
|
541
|
-
})
|
|
542
|
-
|
|
543
567
|
return { chart, dataSeries: dataSeriesArray }
|
|
544
568
|
}
|