@operato/scene-scichart 7.1.0 → 7.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +10 -0
- package/cache/translations/system/en.json +1 -0
- package/cache/translations/system/ko.json +1 -0
- package/db.sqlite +0 -0
- package/dist/charts/ox-scichart-multiple.d.ts +3 -0
- package/dist/charts/ox-scichart-multiple.js +45 -19
- package/dist/charts/ox-scichart-multiple.js.map +1 -1
- package/dist/charts/ox-scichart.d.ts +3 -0
- package/dist/charts/ox-scichart.js +1 -0
- package/dist/charts/ox-scichart.js.map +1 -1
- package/dist/charts/scichart-builder.js +20 -9
- package/dist/charts/scichart-builder.js.map +1 -1
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +15 -0
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +15 -0
- package/logs/application-2024-07-29-01.log +105 -0
- package/logs/application-2024-07-29-14.log +105 -0
- package/logs/application-2024-07-29-16.log +105 -0
- package/logs/connections-2024-07-29-01.log +50 -0
- package/logs/connections-2024-07-29-14.log +50 -0
- package/logs/connections-2024-07-29-16.log +50 -0
- package/package.json +2 -2
- package/src/charts/ox-scichart-multiple.ts +54 -26
- package/src/charts/ox-scichart.ts +2 -0
- package/src/charts/scichart-builder.ts +29 -18
- package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,105 @@
|
|
1
|
+
2024-07-29T14:41:07+09:00 info: File Storage is Ready.
|
2
|
+
2024-07-29T14:41:08+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-07-29T14:41:08+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-07-29T14:41:08+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-07-29T14:41:08+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-07-29T14:41:09+09:00 info: Default DataSource established
|
104
|
+
2024-07-29T14:41:10+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
105
|
+
2024-07-29T14:41:10+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
@@ -0,0 +1,105 @@
|
|
1
|
+
2024-07-29T16:35:52+09:00 info: File Storage is Ready.
|
2
|
+
2024-07-29T16:35:52+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-07-29T16:35:53+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-07-29T16:35:53+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-07-29T16:35:53+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-07-29T16:35:54+09:00 info: Default DataSource established
|
104
|
+
2024-07-29T16:35:55+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
105
|
+
2024-07-29T16:35:55+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
@@ -0,0 +1,50 @@
|
|
1
|
+
2024-07-29T01:36:26+09:00 info: Initializing ConnectionManager...
|
2
|
+
2024-07-29T01:36:26+09:00 info: Connector 'echo-back-server' started to ready
|
3
|
+
2024-07-29T01:36:26+09:00 info: Connector 'echo-back' started to ready
|
4
|
+
2024-07-29T01:36:26+09:00 info: Connector 'http-connector' started to ready
|
5
|
+
2024-07-29T01:36:26+09:00 info: Connector 'graphql-connector' started to ready
|
6
|
+
2024-07-29T01:36:26+09:00 info: Connector 'sqlite-connector' started to ready
|
7
|
+
2024-07-29T01:36:26+09:00 info: Connector 'postgresql-connector' started to ready
|
8
|
+
2024-07-29T01:36:26+09:00 info: Connector 'mqtt-connector' started to ready
|
9
|
+
2024-07-29T01:36:26+09:00 info: Connector 'mssql-connector' started to ready
|
10
|
+
2024-07-29T01:36:26+09:00 info: Connector 'oracle-connector' started to ready
|
11
|
+
2024-07-29T01:36:26+09:00 info: Connector 'mysql-connector' started to ready
|
12
|
+
2024-07-29T01:36:26+09:00 info: Connector 'socket-server' started to ready
|
13
|
+
2024-07-29T01:36:26+09:00 info: Connector 'operato-connector' started to ready
|
14
|
+
2024-07-29T01:36:26+09:00 info: Connector 'email-connector' started to ready
|
15
|
+
2024-07-29T01:36:26+09:00 info: Connector 'influxdb-connector' started to ready
|
16
|
+
2024-07-29T01:36:26+09:00 info: Connector 'msgraph-connector' started to ready
|
17
|
+
2024-07-29T01:36:26+09:00 info: Connector 'proxy-connector' started to ready
|
18
|
+
2024-07-29T01:36:26+09:00 info: echo-back-servers are ready
|
19
|
+
2024-07-29T01:36:26+09:00 info: echo-back connections are ready
|
20
|
+
2024-07-29T01:36:26+09:00 info: http-connector connections are ready
|
21
|
+
2024-07-29T01:36:26+09:00 info: graphql-connector connections are ready
|
22
|
+
2024-07-29T01:36:26+09:00 info: sqlite-connector connections are ready
|
23
|
+
2024-07-29T01:36:26+09:00 info: postgresql-connector connections are ready
|
24
|
+
2024-07-29T01:36:26+09:00 info: mqtt-connector connections are ready
|
25
|
+
2024-07-29T01:36:26+09:00 info: mssql-connector connections are ready
|
26
|
+
2024-07-29T01:36:26+09:00 info: oracle-connector connections are ready
|
27
|
+
2024-07-29T01:36:26+09:00 info: mysql-connector connections are ready
|
28
|
+
2024-07-29T01:36:26+09:00 info: socket servers are ready
|
29
|
+
2024-07-29T01:36:26+09:00 info: operato-connector connections are ready
|
30
|
+
2024-07-29T01:36:26+09:00 info: email connections are ready
|
31
|
+
2024-07-29T01:36:26+09:00 info: influxdb connections are ready
|
32
|
+
2024-07-29T01:36:26+09:00 info: msgraph-connector connections are ready
|
33
|
+
2024-07-29T01:36:26+09:00 info: proxy-connector connections are ready
|
34
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'echo-back-server' ready
|
35
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'echo-back' ready
|
36
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'http-connector' ready
|
37
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'graphql-connector' ready
|
38
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'sqlite-connector' ready
|
39
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'postgresql-connector' ready
|
40
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'mqtt-connector' ready
|
41
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'mssql-connector' ready
|
42
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'oracle-connector' ready
|
43
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'mysql-connector' ready
|
44
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'socket-server' ready
|
45
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'operato-connector' ready
|
46
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'email-connector' ready
|
47
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'influxdb-connector' ready
|
48
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'msgraph-connector' ready
|
49
|
+
2024-07-29T01:36:26+09:00 info: All connector for 'proxy-connector' ready
|
50
|
+
2024-07-29T01:36:26+09:00 info: ConnectionManager initialization done:
|
@@ -0,0 +1,50 @@
|
|
1
|
+
2024-07-29T14:41:10+09:00 info: Initializing ConnectionManager...
|
2
|
+
2024-07-29T14:41:10+09:00 info: Connector 'echo-back-server' started to ready
|
3
|
+
2024-07-29T14:41:10+09:00 info: Connector 'echo-back' started to ready
|
4
|
+
2024-07-29T14:41:10+09:00 info: Connector 'http-connector' started to ready
|
5
|
+
2024-07-29T14:41:10+09:00 info: Connector 'graphql-connector' started to ready
|
6
|
+
2024-07-29T14:41:10+09:00 info: Connector 'sqlite-connector' started to ready
|
7
|
+
2024-07-29T14:41:10+09:00 info: Connector 'postgresql-connector' started to ready
|
8
|
+
2024-07-29T14:41:10+09:00 info: Connector 'mqtt-connector' started to ready
|
9
|
+
2024-07-29T14:41:10+09:00 info: Connector 'mssql-connector' started to ready
|
10
|
+
2024-07-29T14:41:10+09:00 info: Connector 'oracle-connector' started to ready
|
11
|
+
2024-07-29T14:41:10+09:00 info: Connector 'mysql-connector' started to ready
|
12
|
+
2024-07-29T14:41:10+09:00 info: Connector 'socket-server' started to ready
|
13
|
+
2024-07-29T14:41:10+09:00 info: Connector 'operato-connector' started to ready
|
14
|
+
2024-07-29T14:41:10+09:00 info: Connector 'email-connector' started to ready
|
15
|
+
2024-07-29T14:41:10+09:00 info: Connector 'influxdb-connector' started to ready
|
16
|
+
2024-07-29T14:41:10+09:00 info: Connector 'msgraph-connector' started to ready
|
17
|
+
2024-07-29T14:41:10+09:00 info: Connector 'proxy-connector' started to ready
|
18
|
+
2024-07-29T14:41:10+09:00 info: echo-back-servers are ready
|
19
|
+
2024-07-29T14:41:10+09:00 info: echo-back connections are ready
|
20
|
+
2024-07-29T14:41:10+09:00 info: http-connector connections are ready
|
21
|
+
2024-07-29T14:41:10+09:00 info: graphql-connector connections are ready
|
22
|
+
2024-07-29T14:41:10+09:00 info: sqlite-connector connections are ready
|
23
|
+
2024-07-29T14:41:10+09:00 info: postgresql-connector connections are ready
|
24
|
+
2024-07-29T14:41:10+09:00 info: mqtt-connector connections are ready
|
25
|
+
2024-07-29T14:41:10+09:00 info: mssql-connector connections are ready
|
26
|
+
2024-07-29T14:41:10+09:00 info: oracle-connector connections are ready
|
27
|
+
2024-07-29T14:41:10+09:00 info: mysql-connector connections are ready
|
28
|
+
2024-07-29T14:41:10+09:00 info: socket servers are ready
|
29
|
+
2024-07-29T14:41:10+09:00 info: operato-connector connections are ready
|
30
|
+
2024-07-29T14:41:10+09:00 info: email connections are ready
|
31
|
+
2024-07-29T14:41:10+09:00 info: influxdb connections are ready
|
32
|
+
2024-07-29T14:41:10+09:00 info: msgraph-connector connections are ready
|
33
|
+
2024-07-29T14:41:10+09:00 info: proxy-connector connections are ready
|
34
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'echo-back-server' ready
|
35
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'echo-back' ready
|
36
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'http-connector' ready
|
37
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'graphql-connector' ready
|
38
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'sqlite-connector' ready
|
39
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'postgresql-connector' ready
|
40
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'mqtt-connector' ready
|
41
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'mssql-connector' ready
|
42
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'oracle-connector' ready
|
43
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'mysql-connector' ready
|
44
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'socket-server' ready
|
45
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'operato-connector' ready
|
46
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'email-connector' ready
|
47
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'influxdb-connector' ready
|
48
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'msgraph-connector' ready
|
49
|
+
2024-07-29T14:41:10+09:00 info: All connector for 'proxy-connector' ready
|
50
|
+
2024-07-29T14:41:10+09:00 info: ConnectionManager initialization done:
|
@@ -0,0 +1,50 @@
|
|
1
|
+
2024-07-29T16:35:55+09:00 info: Initializing ConnectionManager...
|
2
|
+
2024-07-29T16:35:55+09:00 info: Connector 'echo-back-server' started to ready
|
3
|
+
2024-07-29T16:35:55+09:00 info: Connector 'echo-back' started to ready
|
4
|
+
2024-07-29T16:35:55+09:00 info: Connector 'http-connector' started to ready
|
5
|
+
2024-07-29T16:35:55+09:00 info: Connector 'graphql-connector' started to ready
|
6
|
+
2024-07-29T16:35:55+09:00 info: Connector 'sqlite-connector' started to ready
|
7
|
+
2024-07-29T16:35:55+09:00 info: Connector 'postgresql-connector' started to ready
|
8
|
+
2024-07-29T16:35:55+09:00 info: Connector 'mqtt-connector' started to ready
|
9
|
+
2024-07-29T16:35:55+09:00 info: Connector 'mssql-connector' started to ready
|
10
|
+
2024-07-29T16:35:55+09:00 info: Connector 'oracle-connector' started to ready
|
11
|
+
2024-07-29T16:35:55+09:00 info: Connector 'mysql-connector' started to ready
|
12
|
+
2024-07-29T16:35:55+09:00 info: Connector 'socket-server' started to ready
|
13
|
+
2024-07-29T16:35:55+09:00 info: Connector 'operato-connector' started to ready
|
14
|
+
2024-07-29T16:35:55+09:00 info: Connector 'email-connector' started to ready
|
15
|
+
2024-07-29T16:35:55+09:00 info: Connector 'influxdb-connector' started to ready
|
16
|
+
2024-07-29T16:35:55+09:00 info: Connector 'msgraph-connector' started to ready
|
17
|
+
2024-07-29T16:35:55+09:00 info: Connector 'proxy-connector' started to ready
|
18
|
+
2024-07-29T16:35:55+09:00 info: echo-back-servers are ready
|
19
|
+
2024-07-29T16:35:55+09:00 info: echo-back connections are ready
|
20
|
+
2024-07-29T16:35:55+09:00 info: http-connector connections are ready
|
21
|
+
2024-07-29T16:35:55+09:00 info: graphql-connector connections are ready
|
22
|
+
2024-07-29T16:35:55+09:00 info: sqlite-connector connections are ready
|
23
|
+
2024-07-29T16:35:55+09:00 info: postgresql-connector connections are ready
|
24
|
+
2024-07-29T16:35:55+09:00 info: mqtt-connector connections are ready
|
25
|
+
2024-07-29T16:35:55+09:00 info: mssql-connector connections are ready
|
26
|
+
2024-07-29T16:35:55+09:00 info: oracle-connector connections are ready
|
27
|
+
2024-07-29T16:35:55+09:00 info: mysql-connector connections are ready
|
28
|
+
2024-07-29T16:35:55+09:00 info: socket servers are ready
|
29
|
+
2024-07-29T16:35:55+09:00 info: operato-connector connections are ready
|
30
|
+
2024-07-29T16:35:55+09:00 info: email connections are ready
|
31
|
+
2024-07-29T16:35:55+09:00 info: influxdb connections are ready
|
32
|
+
2024-07-29T16:35:55+09:00 info: msgraph-connector connections are ready
|
33
|
+
2024-07-29T16:35:55+09:00 info: proxy-connector connections are ready
|
34
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'echo-back-server' ready
|
35
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'echo-back' ready
|
36
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'http-connector' ready
|
37
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'graphql-connector' ready
|
38
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'sqlite-connector' ready
|
39
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'postgresql-connector' ready
|
40
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'mqtt-connector' ready
|
41
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'mssql-connector' ready
|
42
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'oracle-connector' ready
|
43
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'mysql-connector' ready
|
44
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'socket-server' ready
|
45
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'operato-connector' ready
|
46
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'email-connector' ready
|
47
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'influxdb-connector' ready
|
48
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'msgraph-connector' ready
|
49
|
+
2024-07-29T16:35:55+09:00 info: All connector for 'proxy-connector' ready
|
50
|
+
2024-07-29T16:35:55+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.1.
|
4
|
+
"version": "7.1.1",
|
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": "43cb72059c85df7c8ce0011b1f51a87917985fff"
|
63
63
|
}
|
@@ -4,7 +4,7 @@ import { keyed } from 'lit/directives/keyed.js'
|
|
4
4
|
|
5
5
|
import { buildSciChart, buildSciChartOverview } from './scichart-builder'
|
6
6
|
import { AxisSynchroniser } from './axis-synchronizer'
|
7
|
-
import { NumberRange, SciChartVerticalGroup } from 'scichart'
|
7
|
+
import { NumberRange, scaleAxes, SciChartVerticalGroup } from 'scichart'
|
8
8
|
|
9
9
|
import { ScrollbarStyles } from '@operato/styles'
|
10
10
|
|
@@ -152,33 +152,41 @@ export class OxSciChartMultiple extends LitElement {
|
|
152
152
|
const newData = this.dataSet
|
153
153
|
|
154
154
|
;(this.groupCharts || []).forEach(({ dataKey, sciChartSurface, dataSeries }) => {
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
155
|
+
try {
|
156
|
+
dataSeries.forEach(ds => ds.clear())
|
157
|
+
const dataSet = newData.filter((data, index) => dataKey == datasets[index].dataKey!)
|
158
|
+
|
159
|
+
dataSet.forEach((data, index) => {
|
160
|
+
dataSeries[index].appendRange(
|
161
|
+
data.map(d => d.xValue),
|
162
|
+
data.map(d => d.yValue)
|
163
|
+
)
|
164
|
+
})
|
165
|
+
} catch (error) {
|
166
|
+
console.log(error)
|
167
|
+
}
|
164
168
|
|
165
169
|
sciChartSurface.zoomExtents()
|
166
170
|
sciChartSurface.invalidateElement()
|
167
171
|
})
|
168
172
|
|
169
|
-
|
173
|
+
try {
|
174
|
+
this.overviewDataSeries.forEach(ds => ds.clear())
|
170
175
|
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
176
|
+
newData.forEach((data, index) => {
|
177
|
+
if (this.visibleSeries.includes(datasets[index].dataKey!)) {
|
178
|
+
this.overviewDataSeries[index].appendRange(
|
179
|
+
data.map(d => d.xValue),
|
180
|
+
data.map(d => d.yValue)
|
181
|
+
)
|
182
|
+
}
|
183
|
+
})
|
179
184
|
|
180
|
-
|
181
|
-
|
185
|
+
this.overviewChart?.sciChartSurface.zoomExtents()
|
186
|
+
this.overviewChart?.sciChartSurface.invalidateElement()
|
187
|
+
} catch (error) {
|
188
|
+
console.log(error)
|
189
|
+
}
|
182
190
|
}
|
183
191
|
|
184
192
|
get dataSet(): { xValue: number; yValue: number }[][] {
|
@@ -272,14 +280,32 @@ export class OxSciChartMultiple extends LitElement {
|
|
272
280
|
dataSeries: [] as any[]
|
273
281
|
}
|
274
282
|
|
275
|
-
const { data } = this
|
276
|
-
const { datasets = [] } =
|
283
|
+
const { data = {}, options = {} } = this.config || {}
|
284
|
+
const { datasets = [] } = data as OperatoChart.ChartData
|
285
|
+
const dataset = datasets.find(dataset => dataset.dataKey == dataKey)
|
286
|
+
|
287
|
+
if (!dataset) {
|
288
|
+
return
|
289
|
+
}
|
290
|
+
|
291
|
+
const { scales } = options
|
292
|
+
const { yAxes = [] } = scales || {}
|
293
|
+
const yAxis = {
|
294
|
+
...yAxes[0],
|
295
|
+
axisTitle: dataset?.label
|
296
|
+
}
|
277
297
|
|
278
298
|
const config = {
|
279
299
|
...this.config,
|
280
300
|
data: {
|
281
|
-
|
282
|
-
|
301
|
+
datasets: [dataset]
|
302
|
+
},
|
303
|
+
options: {
|
304
|
+
...options,
|
305
|
+
scales: {
|
306
|
+
...scales,
|
307
|
+
yAxes: [yAxis]
|
308
|
+
}
|
283
309
|
}
|
284
310
|
}
|
285
311
|
|
@@ -287,7 +313,7 @@ export class OxSciChartMultiple extends LitElement {
|
|
287
313
|
var { chart, dataSeries } = (await buildSciChart(
|
288
314
|
config,
|
289
315
|
container,
|
290
|
-
{ fontSize:
|
316
|
+
{ fontSize: 14, fontFamily: 'Roboto', fontColor: undefined },
|
291
317
|
this.containerId
|
292
318
|
))!
|
293
319
|
|
@@ -325,6 +351,8 @@ export class OxSciChartMultiple extends LitElement {
|
|
325
351
|
this.visibleSeries.findIndex((s: any) => s.dataKey == b.dataKey)
|
326
352
|
)
|
327
353
|
}
|
354
|
+
|
355
|
+
async appendData(appendum: { [attr: string]: any }[]) {}
|
328
356
|
}
|
329
357
|
|
330
358
|
declare global {
|
@@ -234,7 +234,7 @@ function createSeries(
|
|
234
234
|
export async function buildSciChart(
|
235
235
|
config: OperatoChart.ChartConfig | undefined | null,
|
236
236
|
container: any,
|
237
|
-
{ fontSize, fontFamily, fontColor }: { fontSize?: number; fontFamily?: string; fontColor?: string },
|
237
|
+
{ fontSize = 14, fontFamily = 'Roboto', fontColor }: { fontSize?: number; fontFamily?: string; fontColor?: string },
|
238
238
|
grouped?: string
|
239
239
|
): Promise<{ chart: any; dataSeries: any[] } | undefined> {
|
240
240
|
if (!config) return
|
@@ -243,16 +243,19 @@ export async function buildSciChart(
|
|
243
243
|
const { datasets = [] } = fromData || {}
|
244
244
|
var {
|
245
245
|
theme,
|
246
|
-
tooltip,
|
247
|
-
animation,
|
248
|
-
legend
|
246
|
+
tooltip = true,
|
247
|
+
animation = true,
|
248
|
+
legend = {
|
249
|
+
display: true,
|
250
|
+
position: 'top'
|
251
|
+
},
|
249
252
|
scales: fromScales,
|
250
|
-
xGridLine,
|
251
|
-
yGridLine,
|
252
|
-
y2ndGridLine,
|
253
|
-
stacked,
|
254
|
-
multiAxis,
|
255
|
-
annotations
|
253
|
+
xGridLine = true,
|
254
|
+
yGridLine = true,
|
255
|
+
y2ndGridLine = false,
|
256
|
+
stacked = false,
|
257
|
+
multiAxis = false,
|
258
|
+
annotations = []
|
256
259
|
} = options || {}
|
257
260
|
|
258
261
|
var baseColor = getBaseColorFromTheme(theme)
|
@@ -326,7 +329,7 @@ export async function buildSciChart(
|
|
326
329
|
|
327
330
|
if (annotations) {
|
328
331
|
annotations.forEach(annotation => {
|
329
|
-
let sciAnnotation
|
332
|
+
let sciAnnotation
|
330
333
|
let horizontalAnchorPoint: EHorizontalAnchorPoint =
|
331
334
|
annotation.horizontalAnchorPoint == 'Right'
|
332
335
|
? EHorizontalAnchorPoint.Right
|
@@ -350,7 +353,9 @@ export async function buildSciChart(
|
|
350
353
|
verticalAnchorPoint,
|
351
354
|
fontSize: annotation.fontSize,
|
352
355
|
fontFamily: annotation.fontFamily,
|
353
|
-
textColor: convertColor(annotation.stroke, fontColor)
|
356
|
+
textColor: convertColor(annotation.stroke, fontColor),
|
357
|
+
xCoordinateMode: (annotation.xCoordinateMode || ECoordinateMode.DataValue) as ECoordinateMode,
|
358
|
+
yCoordinateMode: (annotation.yCoordinateMode || ECoordinateMode.DataValue) as ECoordinateMode
|
354
359
|
})
|
355
360
|
break
|
356
361
|
case 'line':
|
@@ -361,8 +366,8 @@ export async function buildSciChart(
|
|
361
366
|
y2: annotation.y2,
|
362
367
|
stroke: convertColor(annotation.stroke, '#FF0000'),
|
363
368
|
strokeThickness: annotation.strokeThickness,
|
364
|
-
xCoordinateMode: ECoordinateMode.
|
365
|
-
yCoordinateMode: ECoordinateMode.DataValue
|
369
|
+
xCoordinateMode: (annotation.xCoordinateMode || ECoordinateMode.DataValue) as ECoordinateMode,
|
370
|
+
yCoordinateMode: (annotation.yCoordinateMode || ECoordinateMode.DataValue) as ECoordinateMode
|
366
371
|
})
|
367
372
|
break
|
368
373
|
case 'box':
|
@@ -373,21 +378,27 @@ export async function buildSciChart(
|
|
373
378
|
y2: annotation.y2,
|
374
379
|
fill: convertColor(annotation.fill, '#FF0000'),
|
375
380
|
stroke: convertColor(annotation.stroke, '#FF0000'),
|
376
|
-
strokeThickness: annotation.strokeThickness
|
381
|
+
strokeThickness: annotation.strokeThickness,
|
382
|
+
xCoordinateMode: (annotation.xCoordinateMode || ECoordinateMode.DataValue) as ECoordinateMode,
|
383
|
+
yCoordinateMode: (annotation.yCoordinateMode || ECoordinateMode.DataValue) as ECoordinateMode
|
377
384
|
})
|
378
385
|
break
|
379
386
|
case 'horizontalLine':
|
380
387
|
sciAnnotation = new HorizontalLineAnnotation({
|
381
388
|
y1: annotation.y1,
|
382
389
|
stroke: convertColor(annotation.stroke, '#FF0000'),
|
383
|
-
strokeThickness: annotation.strokeThickness
|
390
|
+
strokeThickness: annotation.strokeThickness,
|
391
|
+
xCoordinateMode: (annotation.xCoordinateMode || ECoordinateMode.DataValue) as ECoordinateMode,
|
392
|
+
yCoordinateMode: (annotation.yCoordinateMode || ECoordinateMode.DataValue) as ECoordinateMode
|
384
393
|
})
|
385
394
|
break
|
386
395
|
case 'verticalLine':
|
387
396
|
sciAnnotation = new VerticalLineAnnotation({
|
388
397
|
x1: annotation.x1,
|
389
398
|
stroke: convertColor(annotation.stroke, '#FF0000'),
|
390
|
-
strokeThickness: annotation.strokeThickness
|
399
|
+
strokeThickness: annotation.strokeThickness,
|
400
|
+
xCoordinateMode: (annotation.xCoordinateMode || ECoordinateMode.DataValue) as ECoordinateMode,
|
401
|
+
yCoordinateMode: (annotation.yCoordinateMode || ECoordinateMode.DataValue) as ECoordinateMode
|
391
402
|
})
|
392
403
|
break
|
393
404
|
default:
|
@@ -434,7 +445,7 @@ export async function buildSciChart(
|
|
434
445
|
export async function buildSciChartOverview(
|
435
446
|
config: OperatoChart.ChartConfig | undefined | null,
|
436
447
|
container: any,
|
437
|
-
{ fontSize, fontFamily, fontColor }: { fontSize?: number; fontFamily?: string; fontColor?: string },
|
448
|
+
{ fontSize = 14, fontFamily = 'Roboto', fontColor }: { fontSize?: number; fontFamily?: string; fontColor?: string },
|
438
449
|
axisSynchroniser: AxisSynchroniser
|
439
450
|
): Promise<{ chart: any; dataSeries: any[] } | undefined> {
|
440
451
|
if (!config) return
|