@operato/scene-chartjs 1.0.2 → 1.0.7
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 +19 -0
- package/assets/favicon.ico +0 -0
- package/assets/images/spinner.png +0 -0
- package/dist/chartjs.js +2 -1
- package/dist/chartjs.js.map +1 -1
- package/dist/config-converter.js +7 -6
- package/dist/config-converter.js.map +1 -1
- package/dist/editors/property-editor-chartjs-abstract.d.ts +4 -0
- package/dist/editors/property-editor-chartjs-abstract.js +24 -3
- package/dist/editors/property-editor-chartjs-abstract.js.map +1 -1
- package/dist/editors/property-editor-chartjs-hbar.js.map +1 -1
- package/dist/editors/property-editor-chartjs-mixed.js.map +1 -1
- package/dist/editors/property-editor-chartjs-pie.js.map +1 -1
- package/dist/editors/property-editor-chartjs-radar.js.map +1 -1
- package/dist/editors/property-editor-chartjs.js.map +1 -1
- package/dist/ox-chart.js.map +1 -1
- package/dist/templates/horizontal-bar-chart.d.ts +1 -0
- package/dist/templates/horizontal-bar-chart.js +4 -2
- package/dist/templates/horizontal-bar-chart.js.map +1 -1
- package/dist/templates/index.d.ts +1 -0
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +25 -0
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +25 -0
- package/logs/application-2022-10-17-18.log +18 -0
- package/logs/application-2022-10-17-19.log +16 -0
- package/logs/application-2022-10-17-22.log +7 -0
- package/logs/connections-2022-10-17-18.log +105 -0
- package/logs/connections-2022-10-17-19.log +70 -0
- package/logs/connections-2022-10-17-22.log +35 -0
- package/package.json +4 -4
- package/src/chartjs.ts +2 -1
- package/src/config-converter.ts +7 -7
- package/src/editors/property-editor-chartjs-abstract.ts +29 -3
- package/src/scene-chart.d.ts +1 -0
- package/src/templates/horizontal-bar-chart.ts +4 -2
- package/translations/en.json +5 -2
- package/translations/ko.json +4 -1
- package/translations/ms.json +5 -2
- package/translations/zh.json +5 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -22,7 +22,8 @@ export default {
|
|
|
22
22
|
backgroundColor: 'rgb(66, 110, 164)',
|
|
23
23
|
borderColor: 'rgb(66, 110, 164)',
|
|
24
24
|
borderWidth: 0,
|
|
25
|
-
dataKey: 'value1'
|
|
25
|
+
dataKey: 'value1',
|
|
26
|
+
yAxisID: 'left'
|
|
26
27
|
},
|
|
27
28
|
{
|
|
28
29
|
label: 'series 2',
|
|
@@ -30,7 +31,8 @@ export default {
|
|
|
30
31
|
backgroundColor: 'rgb(62, 196, 221)',
|
|
31
32
|
borderColor: 'rgb(62, 196, 221)',
|
|
32
33
|
borderWidth: 0,
|
|
33
|
-
dataKey: 'value2'
|
|
34
|
+
dataKey: 'value2',
|
|
35
|
+
yAxisID: 'left'
|
|
34
36
|
}
|
|
35
37
|
],
|
|
36
38
|
labelDataKey: 'color'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"horizontal-bar-chart.js","sourceRoot":"","sources":["../../src/templates/horizontal-bar-chart.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,sCAAsC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAElF,eAAe;IACb,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,+BAA+B;IAC5C,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,eAAe;IACtB,gGAAgG;IAChG,KAAK,EAAE;QACL,IAAI,EAAE,SAAS;QACf,GAAG,EAAE,GAAG;QACR,IAAI,EAAE,GAAG;QACT,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;QACX,KAAK,EAAE;YACL,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE;gBACJ,MAAM,EAAE,EAAE;gBACV,QAAQ,EAAE;oBACR;wBACE,KAAK,EAAE,UAAU;wBACjB,IAAI,EAAE,EAAE;wBACR,eAAe,EAAE,mBAAmB;wBACpC,WAAW,EAAE,mBAAmB;wBAChC,WAAW,EAAE,CAAC;wBACd,OAAO,EAAE,QAAQ;
|
|
1
|
+
{"version":3,"file":"horizontal-bar-chart.js","sourceRoot":"","sources":["../../src/templates/horizontal-bar-chart.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,sCAAsC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAElF,eAAe;IACb,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,+BAA+B;IAC5C,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,eAAe;IACtB,gGAAgG;IAChG,KAAK,EAAE;QACL,IAAI,EAAE,SAAS;QACf,GAAG,EAAE,GAAG;QACR,IAAI,EAAE,GAAG;QACT,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;QACX,KAAK,EAAE;YACL,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE;gBACJ,MAAM,EAAE,EAAE;gBACV,QAAQ,EAAE;oBACR;wBACE,KAAK,EAAE,UAAU;wBACjB,IAAI,EAAE,EAAE;wBACR,eAAe,EAAE,mBAAmB;wBACpC,WAAW,EAAE,mBAAmB;wBAChC,WAAW,EAAE,CAAC;wBACd,OAAO,EAAE,QAAQ;wBACjB,OAAO,EAAE,MAAM;qBAChB;oBACD;wBACE,KAAK,EAAE,UAAU;wBACjB,IAAI,EAAE,EAAE;wBACR,eAAe,EAAE,mBAAmB;wBACpC,WAAW,EAAE,mBAAmB;wBAChC,WAAW,EAAE,CAAC;wBACd,OAAO,EAAE,QAAQ;wBACjB,OAAO,EAAE,MAAM;qBAChB;iBACF;gBACD,YAAY,EAAE,OAAO;aACtB;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,MAAM;gBACb,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,KAAK;gBAChB,MAAM,EAAE;oBACN,OAAO,EAAE,IAAI;oBACb,QAAQ,EAAE,KAAK;iBAChB;gBACD,MAAM,EAAE;oBACN,KAAK,EAAE;wBACL;4BACE,SAAS,EAAE;gCACT,OAAO,EAAE,IAAI;6BACd;4BACD,UAAU,EAAE;gCACV,WAAW,EAAE,EAAE;gCACf,OAAO,EAAE,KAAK;6BACf;4BACD,KAAK,EAAE;gCACL,OAAO,EAAE,IAAI;gCACb,OAAO,EAAE,IAAI;gCACb,OAAO,EAAE,IAAI;6BACd;yBACF;qBACF;oBACD,KAAK,EAAE;wBACL;4BACE,EAAE,EAAE,MAAM;4BACV,QAAQ,EAAE,MAAM;4BAChB,SAAS,EAAE;gCACT,OAAO,EAAE,KAAK;6BACf;4BACD,UAAU,EAAE;gCACV,WAAW,EAAE,EAAE;gCACf,OAAO,EAAE,KAAK;6BACf;4BACD,KAAK,EAAE;gCACL,OAAO,EAAE,IAAI;gCACb,OAAO,EAAE,IAAI;gCACb,OAAO,EAAE,IAAI;6BACd;yBACF;qBACF;iBACF;aACF;SACF;QACD,IAAI,EAAE;YACJ;gBACE,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,EAAE;gBACV,MAAM,EAAE,EAAE;aACX;YACD;gBACE,KAAK,EAAE,MAAM;gBACb,MAAM,EAAE,EAAE;gBACV,MAAM,EAAE,CAAC;aACV;YACD;gBACE,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;YACD;gBACE,KAAK,EAAE,OAAO;gBACd,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;YACD;gBACE,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;YACD;gBACE,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;KACF;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/horizontal-bar-chart.png', import.meta.url).href\n\nexport default {\n type: 'horizontal bar chart',\n description: 'ChartJS - horizontal barchart',\n icon: icon,\n group: 'chartAndGauge',\n /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */\n model: {\n type: 'chartjs',\n top: 200,\n left: 300,\n width: 200,\n height: 200,\n chart: {\n type: 'horizontalBar',\n data: {\n labels: [],\n datasets: [\n {\n label: 'series 1',\n data: [],\n backgroundColor: 'rgb(66, 110, 164)',\n borderColor: 'rgb(66, 110, 164)',\n borderWidth: 0,\n dataKey: 'value1',\n yAxisID: 'left'\n },\n {\n label: 'series 2',\n data: [],\n backgroundColor: 'rgb(62, 196, 221)',\n borderColor: 'rgb(62, 196, 221)',\n borderWidth: 0,\n dataKey: 'value2',\n yAxisID: 'left'\n }\n ],\n labelDataKey: 'color'\n },\n options: {\n theme: 'dark',\n xGridLine: true,\n yGridLine: false,\n legend: {\n display: true,\n position: 'top'\n },\n scales: {\n xAxes: [\n {\n gridLines: {\n display: true\n },\n scaleLabel: {\n labelString: '',\n display: false\n },\n ticks: {\n autoMin: true,\n autoMax: true,\n display: true\n }\n }\n ],\n yAxes: [\n {\n id: 'left',\n position: 'left',\n gridLines: {\n display: false\n },\n scaleLabel: {\n labelString: '',\n display: false\n },\n ticks: {\n autoMin: true,\n autoMax: true,\n display: true\n }\n }\n ]\n }\n }\n },\n data: [\n {\n color: 'Red',\n value1: 12,\n value2: 24\n },\n {\n color: 'Blue',\n value1: 19,\n value2: 9\n },\n {\n color: 'Yellow',\n value1: 3,\n value2: 6\n },\n {\n color: 'Green',\n value1: 5,\n value2: 2\n },\n {\n color: 'Purple',\n value1: 2,\n value2: 4\n },\n {\n color: 'Orange',\n value1: 3,\n value2: 1\n }\n ]\n }\n}\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"keep": {
|
|
3
|
+
"days": true,
|
|
4
|
+
"amount": 2
|
|
5
|
+
},
|
|
6
|
+
"auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
|
|
7
|
+
"files": [
|
|
8
|
+
{
|
|
9
|
+
"date": 1665998044215,
|
|
10
|
+
"name": "logs/application-2022-10-17-18.log",
|
|
11
|
+
"hash": "807556904b4561bd43c6ce37bd2c801f8b13ac449dd4e9b0c438aab10b87650f"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"date": 1666002009645,
|
|
15
|
+
"name": "logs/application-2022-10-17-19.log",
|
|
16
|
+
"hash": "6e7e9a3f86aa025510e67497b87856dd2fe1425e43ef28a3a178fb651158b4e2"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"date": 1666014316904,
|
|
20
|
+
"name": "logs/application-2022-10-17-22.log",
|
|
21
|
+
"hash": "34310c782e881da01bab2ff5e574194516a99111610ecf830d6c06e461bd165f"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"hashType": "sha256"
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"keep": {
|
|
3
|
+
"days": true,
|
|
4
|
+
"amount": 14
|
|
5
|
+
},
|
|
6
|
+
"auditLog": "logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json",
|
|
7
|
+
"files": [
|
|
8
|
+
{
|
|
9
|
+
"date": 1665998045583,
|
|
10
|
+
"name": "logs/connections-2022-10-17-18.log",
|
|
11
|
+
"hash": "85b62835e16a563e59c1b29a8df01e871c87e23a5681da4a85b87a9dd2f777c7"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"date": 1666002010567,
|
|
15
|
+
"name": "logs/connections-2022-10-17-19.log",
|
|
16
|
+
"hash": "9536ea7611311709a3a43ef206595717aae4ad47156c7a52dcce577a9f845622"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"date": 1666014317941,
|
|
20
|
+
"name": "logs/connections-2022-10-17-22.log",
|
|
21
|
+
"hash": "8d7dabfa84723ed3c4724a0a7aa2d2f96e8fc5781015ad42a579e3247fd3ce16"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"hashType": "sha256"
|
|
25
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
2022-10-17T18:14:04+09:00 info: File Storage is Ready.
|
|
2
|
+
2022-10-17T18:14:06+09:00 error: oracledb module loading failed
|
|
3
|
+
2022-10-17T18:14:06+09:00 info: Default DataSource established
|
|
4
|
+
2022-10-17T18:14:06+09:00 info: Transaction DataSource established
|
|
5
|
+
2022-10-17T18:14:07+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
6
|
+
2022-10-17T18:14:07+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
7
|
+
2022-10-17T18:14:56+09:00 info: File Storage is Ready.
|
|
8
|
+
2022-10-17T18:14:57+09:00 error: oracledb module loading failed
|
|
9
|
+
2022-10-17T18:14:57+09:00 info: Default DataSource established
|
|
10
|
+
2022-10-17T18:14:57+09:00 info: Transaction DataSource established
|
|
11
|
+
2022-10-17T18:14:58+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
12
|
+
2022-10-17T18:14:58+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
13
|
+
2022-10-17T18:29:02+09:00 info: File Storage is Ready.
|
|
14
|
+
2022-10-17T18:29:03+09:00 error: oracledb module loading failed
|
|
15
|
+
2022-10-17T18:29:04+09:00 info: Default DataSource established
|
|
16
|
+
2022-10-17T18:29:04+09:00 info: Transaction DataSource established
|
|
17
|
+
2022-10-17T18:29:04+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
18
|
+
2022-10-17T18:29:04+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
2022-10-17T19:20:10+09:00 info: File Storage is Ready.
|
|
2
|
+
2022-10-17T19:20:10+09:00 error: oracledb module loading failed
|
|
3
|
+
2022-10-17T19:20:11+09:00 info: Default DataSource established
|
|
4
|
+
2022-10-17T19:20:11+09:00 info: Transaction DataSource established
|
|
5
|
+
2022-10-17T19:20:12+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
6
|
+
2022-10-17T19:20:12+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
7
|
+
2022-10-17T19:23:37+09:00 info: File Storage is Ready.
|
|
8
|
+
2022-10-17T19:23:38+09:00 error: oracledb module loading failed
|
|
9
|
+
2022-10-17T19:23:43+09:00 info: File Storage is Ready.
|
|
10
|
+
2022-10-17T19:23:43+09:00 error: oracledb module loading failed
|
|
11
|
+
2022-10-17T19:23:44+09:00 info: Default DataSource established
|
|
12
|
+
2022-10-17T19:23:44+09:00 info: Transaction DataSource established
|
|
13
|
+
2022-10-17T19:23:45+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
14
|
+
2022-10-17T19:23:45+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
15
|
+
2022-10-17T19:25:36+09:00 error: Your license due date is 2022.10.22, please renewal your license!
|
|
16
|
+
2022-10-17T19:25:36+09:00 error: Your license due date is 2022.10.22, please renewal your license!
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
2022-10-17T22:45:17+09:00 info: File Storage is Ready.
|
|
2
|
+
2022-10-17T22:45:18+09:00 error: oracledb module loading failed
|
|
3
|
+
2022-10-17T22:45:19+09:00 info: Default DataSource established
|
|
4
|
+
2022-10-17T22:45:19+09:00 info: Transaction DataSource established
|
|
5
|
+
2022-10-17T22:45:19+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
6
|
+
2022-10-17T22:45:19+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
7
|
+
2022-10-17T22:46:39+09:00 error: Your license due date is 2022.10.22, please renewal your license!
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
2022-10-17T18:14:07+09:00 info: Initializing ConnectionManager...
|
|
2
|
+
2022-10-17T18:14:07+09:00 info: Connector 'echo-back-server' started to ready
|
|
3
|
+
2022-10-17T18:14:07+09:00 info: Connector 'echo-back' started to ready
|
|
4
|
+
2022-10-17T18:14:07+09:00 info: Connector 'http-connector' started to ready
|
|
5
|
+
2022-10-17T18:14:07+09:00 info: Connector 'graphql-connector' started to ready
|
|
6
|
+
2022-10-17T18:14:07+09:00 info: Connector 'sqlite-connector' started to ready
|
|
7
|
+
2022-10-17T18:14:07+09:00 info: Connector 'postgresql-connector' started to ready
|
|
8
|
+
2022-10-17T18:14:07+09:00 info: Connector 'mqtt-connector' started to ready
|
|
9
|
+
2022-10-17T18:14:07+09:00 info: Connector 'mssql-connector' started to ready
|
|
10
|
+
2022-10-17T18:14:07+09:00 info: Connector 'oracle-connector' started to ready
|
|
11
|
+
2022-10-17T18:14:07+09:00 info: Connector 'mysql-connector' started to ready
|
|
12
|
+
2022-10-17T18:14:07+09:00 info: Connector 'socket-server' started to ready
|
|
13
|
+
2022-10-17T18:14:07+09:00 info: echo-back-servers are ready
|
|
14
|
+
2022-10-17T18:14:07+09:00 info: echo-back connections are ready
|
|
15
|
+
2022-10-17T18:14:07+09:00 info: http-connector connections are ready
|
|
16
|
+
2022-10-17T18:14:07+09:00 info: graphql-connector connections are ready
|
|
17
|
+
2022-10-17T18:14:07+09:00 info: sqlite-connector connections are ready
|
|
18
|
+
2022-10-17T18:14:07+09:00 info: postgresql-connector connections are ready
|
|
19
|
+
2022-10-17T18:14:07+09:00 info: mqtt-connector connections are ready
|
|
20
|
+
2022-10-17T18:14:07+09:00 info: mssql-connector connections are ready
|
|
21
|
+
2022-10-17T18:14:07+09:00 info: oracle-connector connections are ready
|
|
22
|
+
2022-10-17T18:14:07+09:00 info: mysql-connector connections are ready
|
|
23
|
+
2022-10-17T18:14:07+09:00 info: socket servers are ready
|
|
24
|
+
2022-10-17T18:14:07+09:00 info: All connector for 'echo-back-server' ready
|
|
25
|
+
2022-10-17T18:14:07+09:00 info: All connector for 'echo-back' ready
|
|
26
|
+
2022-10-17T18:14:07+09:00 info: All connector for 'http-connector' ready
|
|
27
|
+
2022-10-17T18:14:07+09:00 info: All connector for 'graphql-connector' ready
|
|
28
|
+
2022-10-17T18:14:07+09:00 info: All connector for 'sqlite-connector' ready
|
|
29
|
+
2022-10-17T18:14:07+09:00 info: All connector for 'postgresql-connector' ready
|
|
30
|
+
2022-10-17T18:14:07+09:00 info: All connector for 'mqtt-connector' ready
|
|
31
|
+
2022-10-17T18:14:07+09:00 info: All connector for 'mssql-connector' ready
|
|
32
|
+
2022-10-17T18:14:07+09:00 info: All connector for 'oracle-connector' ready
|
|
33
|
+
2022-10-17T18:14:07+09:00 info: All connector for 'mysql-connector' ready
|
|
34
|
+
2022-10-17T18:14:07+09:00 info: All connector for 'socket-server' ready
|
|
35
|
+
2022-10-17T18:14:07+09:00 info: ConnectionManager initialization done:
|
|
36
|
+
2022-10-17T18:14:58+09:00 info: Initializing ConnectionManager...
|
|
37
|
+
2022-10-17T18:14:58+09:00 info: Connector 'echo-back-server' started to ready
|
|
38
|
+
2022-10-17T18:14:58+09:00 info: Connector 'echo-back' started to ready
|
|
39
|
+
2022-10-17T18:14:58+09:00 info: Connector 'http-connector' started to ready
|
|
40
|
+
2022-10-17T18:14:58+09:00 info: Connector 'graphql-connector' started to ready
|
|
41
|
+
2022-10-17T18:14:58+09:00 info: Connector 'sqlite-connector' started to ready
|
|
42
|
+
2022-10-17T18:14:58+09:00 info: Connector 'postgresql-connector' started to ready
|
|
43
|
+
2022-10-17T18:14:58+09:00 info: Connector 'mqtt-connector' started to ready
|
|
44
|
+
2022-10-17T18:14:58+09:00 info: Connector 'mssql-connector' started to ready
|
|
45
|
+
2022-10-17T18:14:58+09:00 info: Connector 'oracle-connector' started to ready
|
|
46
|
+
2022-10-17T18:14:58+09:00 info: Connector 'mysql-connector' started to ready
|
|
47
|
+
2022-10-17T18:14:58+09:00 info: Connector 'socket-server' started to ready
|
|
48
|
+
2022-10-17T18:14:58+09:00 info: echo-back-servers are ready
|
|
49
|
+
2022-10-17T18:14:58+09:00 info: echo-back connections are ready
|
|
50
|
+
2022-10-17T18:14:58+09:00 info: http-connector connections are ready
|
|
51
|
+
2022-10-17T18:14:58+09:00 info: graphql-connector connections are ready
|
|
52
|
+
2022-10-17T18:14:58+09:00 info: sqlite-connector connections are ready
|
|
53
|
+
2022-10-17T18:14:58+09:00 info: postgresql-connector connections are ready
|
|
54
|
+
2022-10-17T18:14:58+09:00 info: mqtt-connector connections are ready
|
|
55
|
+
2022-10-17T18:14:58+09:00 info: mssql-connector connections are ready
|
|
56
|
+
2022-10-17T18:14:58+09:00 info: oracle-connector connections are ready
|
|
57
|
+
2022-10-17T18:14:58+09:00 info: mysql-connector connections are ready
|
|
58
|
+
2022-10-17T18:14:58+09:00 info: socket servers are ready
|
|
59
|
+
2022-10-17T18:14:58+09:00 info: All connector for 'echo-back-server' ready
|
|
60
|
+
2022-10-17T18:14:58+09:00 info: All connector for 'echo-back' ready
|
|
61
|
+
2022-10-17T18:14:58+09:00 info: All connector for 'http-connector' ready
|
|
62
|
+
2022-10-17T18:14:58+09:00 info: All connector for 'graphql-connector' ready
|
|
63
|
+
2022-10-17T18:14:58+09:00 info: All connector for 'sqlite-connector' ready
|
|
64
|
+
2022-10-17T18:14:58+09:00 info: All connector for 'postgresql-connector' ready
|
|
65
|
+
2022-10-17T18:14:58+09:00 info: All connector for 'mqtt-connector' ready
|
|
66
|
+
2022-10-17T18:14:58+09:00 info: All connector for 'mssql-connector' ready
|
|
67
|
+
2022-10-17T18:14:58+09:00 info: All connector for 'oracle-connector' ready
|
|
68
|
+
2022-10-17T18:14:58+09:00 info: All connector for 'mysql-connector' ready
|
|
69
|
+
2022-10-17T18:14:58+09:00 info: All connector for 'socket-server' ready
|
|
70
|
+
2022-10-17T18:14:58+09:00 info: ConnectionManager initialization done:
|
|
71
|
+
2022-10-17T18:29:04+09:00 info: Initializing ConnectionManager...
|
|
72
|
+
2022-10-17T18:29:04+09:00 info: Connector 'echo-back-server' started to ready
|
|
73
|
+
2022-10-17T18:29:04+09:00 info: Connector 'echo-back' started to ready
|
|
74
|
+
2022-10-17T18:29:04+09:00 info: Connector 'http-connector' started to ready
|
|
75
|
+
2022-10-17T18:29:04+09:00 info: Connector 'graphql-connector' started to ready
|
|
76
|
+
2022-10-17T18:29:04+09:00 info: Connector 'sqlite-connector' started to ready
|
|
77
|
+
2022-10-17T18:29:04+09:00 info: Connector 'postgresql-connector' started to ready
|
|
78
|
+
2022-10-17T18:29:04+09:00 info: Connector 'mqtt-connector' started to ready
|
|
79
|
+
2022-10-17T18:29:04+09:00 info: Connector 'mssql-connector' started to ready
|
|
80
|
+
2022-10-17T18:29:04+09:00 info: Connector 'oracle-connector' started to ready
|
|
81
|
+
2022-10-17T18:29:04+09:00 info: Connector 'mysql-connector' started to ready
|
|
82
|
+
2022-10-17T18:29:04+09:00 info: Connector 'socket-server' started to ready
|
|
83
|
+
2022-10-17T18:29:04+09:00 info: echo-back-servers are ready
|
|
84
|
+
2022-10-17T18:29:04+09:00 info: echo-back connections are ready
|
|
85
|
+
2022-10-17T18:29:04+09:00 info: http-connector connections are ready
|
|
86
|
+
2022-10-17T18:29:04+09:00 info: graphql-connector connections are ready
|
|
87
|
+
2022-10-17T18:29:04+09:00 info: sqlite-connector connections are ready
|
|
88
|
+
2022-10-17T18:29:04+09:00 info: postgresql-connector connections are ready
|
|
89
|
+
2022-10-17T18:29:04+09:00 info: mqtt-connector connections are ready
|
|
90
|
+
2022-10-17T18:29:04+09:00 info: mssql-connector connections are ready
|
|
91
|
+
2022-10-17T18:29:04+09:00 info: oracle-connector connections are ready
|
|
92
|
+
2022-10-17T18:29:04+09:00 info: mysql-connector connections are ready
|
|
93
|
+
2022-10-17T18:29:04+09:00 info: socket servers are ready
|
|
94
|
+
2022-10-17T18:29:04+09:00 info: All connector for 'echo-back-server' ready
|
|
95
|
+
2022-10-17T18:29:04+09:00 info: All connector for 'echo-back' ready
|
|
96
|
+
2022-10-17T18:29:04+09:00 info: All connector for 'http-connector' ready
|
|
97
|
+
2022-10-17T18:29:04+09:00 info: All connector for 'graphql-connector' ready
|
|
98
|
+
2022-10-17T18:29:04+09:00 info: All connector for 'sqlite-connector' ready
|
|
99
|
+
2022-10-17T18:29:04+09:00 info: All connector for 'postgresql-connector' ready
|
|
100
|
+
2022-10-17T18:29:04+09:00 info: All connector for 'mqtt-connector' ready
|
|
101
|
+
2022-10-17T18:29:04+09:00 info: All connector for 'mssql-connector' ready
|
|
102
|
+
2022-10-17T18:29:04+09:00 info: All connector for 'oracle-connector' ready
|
|
103
|
+
2022-10-17T18:29:04+09:00 info: All connector for 'mysql-connector' ready
|
|
104
|
+
2022-10-17T18:29:04+09:00 info: All connector for 'socket-server' ready
|
|
105
|
+
2022-10-17T18:29:04+09:00 info: ConnectionManager initialization done:
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
2022-10-17T19:20:12+09:00 info: Initializing ConnectionManager...
|
|
2
|
+
2022-10-17T19:20:12+09:00 info: Connector 'echo-back-server' started to ready
|
|
3
|
+
2022-10-17T19:20:12+09:00 info: Connector 'echo-back' started to ready
|
|
4
|
+
2022-10-17T19:20:12+09:00 info: Connector 'http-connector' started to ready
|
|
5
|
+
2022-10-17T19:20:12+09:00 info: Connector 'graphql-connector' started to ready
|
|
6
|
+
2022-10-17T19:20:12+09:00 info: Connector 'sqlite-connector' started to ready
|
|
7
|
+
2022-10-17T19:20:12+09:00 info: Connector 'postgresql-connector' started to ready
|
|
8
|
+
2022-10-17T19:20:12+09:00 info: Connector 'mqtt-connector' started to ready
|
|
9
|
+
2022-10-17T19:20:12+09:00 info: Connector 'mssql-connector' started to ready
|
|
10
|
+
2022-10-17T19:20:12+09:00 info: Connector 'oracle-connector' started to ready
|
|
11
|
+
2022-10-17T19:20:12+09:00 info: Connector 'mysql-connector' started to ready
|
|
12
|
+
2022-10-17T19:20:12+09:00 info: Connector 'socket-server' started to ready
|
|
13
|
+
2022-10-17T19:20:12+09:00 info: echo-back-servers are ready
|
|
14
|
+
2022-10-17T19:20:12+09:00 info: echo-back connections are ready
|
|
15
|
+
2022-10-17T19:20:12+09:00 info: http-connector connections are ready
|
|
16
|
+
2022-10-17T19:20:12+09:00 info: graphql-connector connections are ready
|
|
17
|
+
2022-10-17T19:20:12+09:00 info: sqlite-connector connections are ready
|
|
18
|
+
2022-10-17T19:20:12+09:00 info: postgresql-connector connections are ready
|
|
19
|
+
2022-10-17T19:20:12+09:00 info: mqtt-connector connections are ready
|
|
20
|
+
2022-10-17T19:20:12+09:00 info: mssql-connector connections are ready
|
|
21
|
+
2022-10-17T19:20:12+09:00 info: oracle-connector connections are ready
|
|
22
|
+
2022-10-17T19:20:12+09:00 info: mysql-connector connections are ready
|
|
23
|
+
2022-10-17T19:20:12+09:00 info: socket servers are ready
|
|
24
|
+
2022-10-17T19:20:12+09:00 info: All connector for 'echo-back-server' ready
|
|
25
|
+
2022-10-17T19:20:12+09:00 info: All connector for 'echo-back' ready
|
|
26
|
+
2022-10-17T19:20:12+09:00 info: All connector for 'http-connector' ready
|
|
27
|
+
2022-10-17T19:20:12+09:00 info: All connector for 'graphql-connector' ready
|
|
28
|
+
2022-10-17T19:20:12+09:00 info: All connector for 'sqlite-connector' ready
|
|
29
|
+
2022-10-17T19:20:12+09:00 info: All connector for 'postgresql-connector' ready
|
|
30
|
+
2022-10-17T19:20:12+09:00 info: All connector for 'mqtt-connector' ready
|
|
31
|
+
2022-10-17T19:20:12+09:00 info: All connector for 'mssql-connector' ready
|
|
32
|
+
2022-10-17T19:20:12+09:00 info: All connector for 'oracle-connector' ready
|
|
33
|
+
2022-10-17T19:20:12+09:00 info: All connector for 'mysql-connector' ready
|
|
34
|
+
2022-10-17T19:20:12+09:00 info: All connector for 'socket-server' ready
|
|
35
|
+
2022-10-17T19:20:12+09:00 info: ConnectionManager initialization done:
|
|
36
|
+
2022-10-17T19:23:45+09:00 info: Initializing ConnectionManager...
|
|
37
|
+
2022-10-17T19:23:45+09:00 info: Connector 'echo-back-server' started to ready
|
|
38
|
+
2022-10-17T19:23:45+09:00 info: Connector 'echo-back' started to ready
|
|
39
|
+
2022-10-17T19:23:45+09:00 info: Connector 'http-connector' started to ready
|
|
40
|
+
2022-10-17T19:23:45+09:00 info: Connector 'graphql-connector' started to ready
|
|
41
|
+
2022-10-17T19:23:45+09:00 info: Connector 'sqlite-connector' started to ready
|
|
42
|
+
2022-10-17T19:23:45+09:00 info: Connector 'postgresql-connector' started to ready
|
|
43
|
+
2022-10-17T19:23:45+09:00 info: Connector 'mqtt-connector' started to ready
|
|
44
|
+
2022-10-17T19:23:45+09:00 info: Connector 'mssql-connector' started to ready
|
|
45
|
+
2022-10-17T19:23:45+09:00 info: Connector 'oracle-connector' started to ready
|
|
46
|
+
2022-10-17T19:23:45+09:00 info: Connector 'mysql-connector' started to ready
|
|
47
|
+
2022-10-17T19:23:45+09:00 info: Connector 'socket-server' started to ready
|
|
48
|
+
2022-10-17T19:23:45+09:00 info: echo-back-servers are ready
|
|
49
|
+
2022-10-17T19:23:45+09:00 info: echo-back connections are ready
|
|
50
|
+
2022-10-17T19:23:45+09:00 info: http-connector connections are ready
|
|
51
|
+
2022-10-17T19:23:45+09:00 info: graphql-connector connections are ready
|
|
52
|
+
2022-10-17T19:23:45+09:00 info: sqlite-connector connections are ready
|
|
53
|
+
2022-10-17T19:23:45+09:00 info: postgresql-connector connections are ready
|
|
54
|
+
2022-10-17T19:23:45+09:00 info: mqtt-connector connections are ready
|
|
55
|
+
2022-10-17T19:23:45+09:00 info: mssql-connector connections are ready
|
|
56
|
+
2022-10-17T19:23:45+09:00 info: oracle-connector connections are ready
|
|
57
|
+
2022-10-17T19:23:45+09:00 info: mysql-connector connections are ready
|
|
58
|
+
2022-10-17T19:23:45+09:00 info: socket servers are ready
|
|
59
|
+
2022-10-17T19:23:45+09:00 info: All connector for 'echo-back-server' ready
|
|
60
|
+
2022-10-17T19:23:45+09:00 info: All connector for 'echo-back' ready
|
|
61
|
+
2022-10-17T19:23:45+09:00 info: All connector for 'http-connector' ready
|
|
62
|
+
2022-10-17T19:23:45+09:00 info: All connector for 'graphql-connector' ready
|
|
63
|
+
2022-10-17T19:23:45+09:00 info: All connector for 'sqlite-connector' ready
|
|
64
|
+
2022-10-17T19:23:45+09:00 info: All connector for 'postgresql-connector' ready
|
|
65
|
+
2022-10-17T19:23:45+09:00 info: All connector for 'mqtt-connector' ready
|
|
66
|
+
2022-10-17T19:23:45+09:00 info: All connector for 'mssql-connector' ready
|
|
67
|
+
2022-10-17T19:23:45+09:00 info: All connector for 'oracle-connector' ready
|
|
68
|
+
2022-10-17T19:23:45+09:00 info: All connector for 'mysql-connector' ready
|
|
69
|
+
2022-10-17T19:23:45+09:00 info: All connector for 'socket-server' ready
|
|
70
|
+
2022-10-17T19:23:45+09:00 info: ConnectionManager initialization done:
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
2022-10-17T22:45:19+09:00 info: Initializing ConnectionManager...
|
|
2
|
+
2022-10-17T22:45:19+09:00 info: Connector 'echo-back-server' started to ready
|
|
3
|
+
2022-10-17T22:45:19+09:00 info: Connector 'echo-back' started to ready
|
|
4
|
+
2022-10-17T22:45:19+09:00 info: Connector 'http-connector' started to ready
|
|
5
|
+
2022-10-17T22:45:19+09:00 info: Connector 'graphql-connector' started to ready
|
|
6
|
+
2022-10-17T22:45:19+09:00 info: Connector 'sqlite-connector' started to ready
|
|
7
|
+
2022-10-17T22:45:19+09:00 info: Connector 'postgresql-connector' started to ready
|
|
8
|
+
2022-10-17T22:45:19+09:00 info: Connector 'mqtt-connector' started to ready
|
|
9
|
+
2022-10-17T22:45:19+09:00 info: Connector 'mssql-connector' started to ready
|
|
10
|
+
2022-10-17T22:45:19+09:00 info: Connector 'oracle-connector' started to ready
|
|
11
|
+
2022-10-17T22:45:19+09:00 info: Connector 'mysql-connector' started to ready
|
|
12
|
+
2022-10-17T22:45:19+09:00 info: Connector 'socket-server' started to ready
|
|
13
|
+
2022-10-17T22:45:19+09:00 info: echo-back-servers are ready
|
|
14
|
+
2022-10-17T22:45:19+09:00 info: echo-back connections are ready
|
|
15
|
+
2022-10-17T22:45:19+09:00 info: http-connector connections are ready
|
|
16
|
+
2022-10-17T22:45:19+09:00 info: graphql-connector connections are ready
|
|
17
|
+
2022-10-17T22:45:19+09:00 info: sqlite-connector connections are ready
|
|
18
|
+
2022-10-17T22:45:19+09:00 info: postgresql-connector connections are ready
|
|
19
|
+
2022-10-17T22:45:19+09:00 info: mqtt-connector connections are ready
|
|
20
|
+
2022-10-17T22:45:19+09:00 info: mssql-connector connections are ready
|
|
21
|
+
2022-10-17T22:45:19+09:00 info: oracle-connector connections are ready
|
|
22
|
+
2022-10-17T22:45:19+09:00 info: mysql-connector connections are ready
|
|
23
|
+
2022-10-17T22:45:19+09:00 info: socket servers are ready
|
|
24
|
+
2022-10-17T22:45:19+09:00 info: All connector for 'echo-back-server' ready
|
|
25
|
+
2022-10-17T22:45:19+09:00 info: All connector for 'echo-back' ready
|
|
26
|
+
2022-10-17T22:45:19+09:00 info: All connector for 'http-connector' ready
|
|
27
|
+
2022-10-17T22:45:19+09:00 info: All connector for 'graphql-connector' ready
|
|
28
|
+
2022-10-17T22:45:19+09:00 info: All connector for 'sqlite-connector' ready
|
|
29
|
+
2022-10-17T22:45:19+09:00 info: All connector for 'postgresql-connector' ready
|
|
30
|
+
2022-10-17T22:45:19+09:00 info: All connector for 'mqtt-connector' ready
|
|
31
|
+
2022-10-17T22:45:19+09:00 info: All connector for 'mssql-connector' ready
|
|
32
|
+
2022-10-17T22:45:19+09:00 info: All connector for 'oracle-connector' ready
|
|
33
|
+
2022-10-17T22:45:19+09:00 info: All connector for 'mysql-connector' ready
|
|
34
|
+
2022-10-17T22:45:19+09:00 info: All connector for 'socket-server' ready
|
|
35
|
+
2022-10-17T22:45:19+09:00 info: ConnectionManager initialization done:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/scene-chartjs",
|
|
3
3
|
"description": "Things Scene ChartJS Component",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.7",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "heartyoh",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@hatiolab/prettier-config": "^1.0.0",
|
|
47
|
-
"@things-factory/builder": "^
|
|
48
|
-
"@things-factory/operato-board": "^
|
|
47
|
+
"@things-factory/builder": "^6.0.0-alpha.0",
|
|
48
|
+
"@things-factory/operato-board": "^6.0.0-alpha.0",
|
|
49
49
|
"@types/chart.js": "2.9.34",
|
|
50
50
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
51
51
|
"@typescript-eslint/parser": "^4.33.0",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"prettier --write"
|
|
72
72
|
]
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "e84c7ee56e501462fa6446afb56e389686e0403f"
|
|
75
75
|
}
|
package/src/chartjs.ts
CHANGED
|
@@ -102,7 +102,8 @@ export default class ChartJS extends HTMLOverlayElement {
|
|
|
102
102
|
|
|
103
103
|
cloneChartConf.options = {
|
|
104
104
|
...cloneChartConf.options,
|
|
105
|
-
...fontOption
|
|
105
|
+
...fontOption,
|
|
106
|
+
tooltips: false
|
|
106
107
|
}
|
|
107
108
|
|
|
108
109
|
cloneChartConf.data.datasets = cloneChartConf.data.datasets.map((dataset: any) => {
|
package/src/config-converter.ts
CHANGED
|
@@ -11,8 +11,7 @@ export function convertConfigure(chart: SceneChart.ChartConfig) {
|
|
|
11
11
|
var yAxes: Array<SceneChart.ChartYAxe>
|
|
12
12
|
var scale
|
|
13
13
|
var legend = options.legend || {}
|
|
14
|
-
var tooltips = (options.tooltips = options.tooltips || {})
|
|
15
|
-
|
|
14
|
+
var tooltips = options.tooltip === false ? undefined : (options.tooltips = options.tooltips || {})
|
|
16
15
|
var multiAxis = options.multiAxis
|
|
17
16
|
var stacked = false
|
|
18
17
|
var yStacked = [false, false]
|
|
@@ -158,11 +157,12 @@ export function convertConfigure(chart: SceneChart.ChartConfig) {
|
|
|
158
157
|
_setLegendTheme(legend, theme, fontColor)
|
|
159
158
|
|
|
160
159
|
// 3. setup tooltips
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
160
|
+
options.tooltip &&
|
|
161
|
+
_setTooltipFont(tooltips!, {
|
|
162
|
+
fontSize,
|
|
163
|
+
fontFamily
|
|
164
|
+
})
|
|
165
|
+
options.tooltip && _setTooltipCallback(tooltips!)
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
function _configureBackwardsCompatible(type: string, options: SceneChart.ChartOptions) {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { html, LitElement } from 'lit'
|
|
2
|
+
import { property } from 'lit/decorators.js'
|
|
3
3
|
|
|
4
|
+
import { random as randomColor, TinyColor } from '@ctrl/tinycolor'
|
|
4
5
|
import { Properties } from '@hatiolab/things-scene'
|
|
6
|
+
|
|
5
7
|
import { PropertyEditorChartJSStyles } from './property-editor-chartjs-styles'
|
|
6
|
-
import { property } from 'lit/decorators.js'
|
|
7
8
|
|
|
8
9
|
export default class PropertyEditorChartJSAbstract extends LitElement {
|
|
9
10
|
static styles = [PropertyEditorChartJSStyles]
|
|
@@ -21,9 +22,18 @@ export default class PropertyEditorChartJSAbstract extends LitElement {
|
|
|
21
22
|
<option value="light">light</option>
|
|
22
23
|
</select>
|
|
23
24
|
|
|
25
|
+
<input type="checkbox" value-key="tooltip" .checked=${this.tooltip} />
|
|
26
|
+
<label> <i18n-msg msgid="label.tooltip">Tooltip</i18n-msg> </label>
|
|
27
|
+
|
|
28
|
+
<input type="checkbox" value-key="animation" .checked=${this.animation} />
|
|
29
|
+
<label> <i18n-msg msgid="label.animation">Animation</i18n-msg> </label>
|
|
30
|
+
|
|
24
31
|
<input type="checkbox" value-key="display" .checked=${this.display} />
|
|
25
32
|
<label> <i18n-msg msgid="label.legend">Legend</i18n-msg> </label>
|
|
26
33
|
|
|
34
|
+
<input type="checkbox" value-key="stacked" .checked=${this.stacked} />
|
|
35
|
+
<label> <i18n-msg msgid="label.stacked">Stacked</i18n-msg> </label>
|
|
36
|
+
|
|
27
37
|
${this.display
|
|
28
38
|
? html`
|
|
29
39
|
<label> <i18n-msg msgid="label.position">Position</i18n-msg> </label>
|
|
@@ -131,6 +141,22 @@ export default class PropertyEditorChartJSAbstract extends LitElement {
|
|
|
131
141
|
this.value.options.theme = theme
|
|
132
142
|
}
|
|
133
143
|
|
|
144
|
+
get tooltip() {
|
|
145
|
+
return !this.value.options || this.value.options.tooltip !== false /* default true */
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
set tooltip(tooltip) {
|
|
149
|
+
this.value.options.tooltip = tooltip
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
get animation() {
|
|
153
|
+
return !this.value.options || this.value.options.animation !== false /* default true */
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
set animation(animation) {
|
|
157
|
+
this.value.options.animation = animation
|
|
158
|
+
}
|
|
159
|
+
|
|
134
160
|
get scales() {
|
|
135
161
|
return this.value.options.scales
|
|
136
162
|
}
|
package/src/scene-chart.d.ts
CHANGED
|
@@ -109,6 +109,7 @@ declare namespace SceneChart {
|
|
|
109
109
|
scales: ChartScales
|
|
110
110
|
scale: RadialLinearScale
|
|
111
111
|
legend: ChartLegendOptions
|
|
112
|
+
tooltip: boolean /* show or hide tooltip */
|
|
112
113
|
tooltips: ChartTooltipOptions
|
|
113
114
|
multiAxis: boolean
|
|
114
115
|
defaultFontSize: number | string
|
|
@@ -23,7 +23,8 @@ export default {
|
|
|
23
23
|
backgroundColor: 'rgb(66, 110, 164)',
|
|
24
24
|
borderColor: 'rgb(66, 110, 164)',
|
|
25
25
|
borderWidth: 0,
|
|
26
|
-
dataKey: 'value1'
|
|
26
|
+
dataKey: 'value1',
|
|
27
|
+
yAxisID: 'left'
|
|
27
28
|
},
|
|
28
29
|
{
|
|
29
30
|
label: 'series 2',
|
|
@@ -31,7 +32,8 @@ export default {
|
|
|
31
32
|
backgroundColor: 'rgb(62, 196, 221)',
|
|
32
33
|
borderColor: 'rgb(62, 196, 221)',
|
|
33
34
|
borderWidth: 0,
|
|
34
|
-
dataKey: 'value2'
|
|
35
|
+
dataKey: 'value2',
|
|
36
|
+
yAxisID: 'left'
|
|
35
37
|
}
|
|
36
38
|
],
|
|
37
39
|
labelDataKey: 'color'
|
package/translations/en.json
CHANGED
package/translations/ko.json
CHANGED
package/translations/ms.json
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"label.stack-group": "[ms] stack group",
|
|
3
3
|
"label.bar-spacing": "[ms] bar spacing",
|
|
4
|
-
"label.
|
|
5
|
-
|
|
4
|
+
"label.stacked": "bertindan",
|
|
5
|
+
"label.tick-spacing": "[ms] tick spacing",
|
|
6
|
+
"label.tooltip": "[ms] tooltip",
|
|
7
|
+
"label.animation": "[ms] animation"
|
|
8
|
+
}
|