@siemens/ix-echarts 0.0.0-20240419081748 → 0.0.0-pr-2300-20260107140403
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/dist/index.js +242 -612
- package/dist/types/computecss.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/register.d.ts +1 -1
- package/package.json +8 -9
- package/dist/index.esm.js +0 -1480
package/dist/index.js
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
1
|
/*
|
|
6
2
|
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
7
3
|
*
|
|
@@ -10,21 +6,59 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
10
6
|
* This source code is licensed under the MIT license found in the
|
|
11
7
|
* LICENSE file in the root directory of this source tree.
|
|
12
8
|
*/
|
|
13
|
-
const
|
|
14
|
-
|
|
9
|
+
const colors$3 = [
|
|
10
|
+
'#00C1B6' /* theme-chart-3 */,
|
|
11
|
+
'#85E9D2' /* theme-chart-2 */,
|
|
12
|
+
'#3664C6' /* theme-chart-8 */,
|
|
13
|
+
'#00FFB9' /* theme-chart-1 */,
|
|
14
|
+
'#6895F6' /* theme-chart-6 */,
|
|
15
|
+
'#CCF5F5' /* theme-chart-4 */,
|
|
16
|
+
'#805CFF' /* theme-chart-10 */,
|
|
17
|
+
'#BFB0F3' /* theme-chart-9 */,
|
|
18
|
+
'#B95CC9' /* theme-chart-11 */,
|
|
19
|
+
'#BE5925' /* theme-chart-14 */,
|
|
20
|
+
'#FF98C4' /* theme-chart-13 */,
|
|
21
|
+
'#E5659B' /* theme-chart-12 */,
|
|
22
|
+
'#97C7FF' /* theme-chart-7 */,
|
|
23
|
+
'#FFBC66' /* theme-chart-15 */,
|
|
24
|
+
'#FFF7D6' /* theme-chart-16 */,
|
|
25
|
+
'#AAAA96' /* theme-chart-17 */,
|
|
26
|
+
'#7D8099' /* theme-chart-5 */,
|
|
27
|
+
];
|
|
28
|
+
const axisCommon$3 = {
|
|
29
|
+
axisLine: {
|
|
30
|
+
show: true,
|
|
31
|
+
lineStyle: {
|
|
32
|
+
color: 'rgba(255,255,255,0.3)',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
axisTick: {
|
|
36
|
+
show: true,
|
|
37
|
+
lineStyle: {
|
|
38
|
+
color: 'rgba(255,255,255,0.35)',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
axisLabel: {
|
|
42
|
+
show: true,
|
|
43
|
+
color: '#ffffff',
|
|
44
|
+
},
|
|
45
|
+
splitLine: {
|
|
46
|
+
show: true,
|
|
47
|
+
lineStyle: {
|
|
48
|
+
color: ['rgba(255,255,255,0.1)'],
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
splitArea: {
|
|
52
|
+
show: false,
|
|
53
|
+
areaStyle: {
|
|
54
|
+
color: ['rgba(0,0,0,0)', 'rgba(255,255,255,0.1)'],
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
var brandDark = {
|
|
59
|
+
themeName: 'theme-brand-dark',
|
|
15
60
|
theme: {
|
|
16
|
-
color:
|
|
17
|
-
'#00ffb9',
|
|
18
|
-
'#41b7e6',
|
|
19
|
-
'#cd31e7',
|
|
20
|
-
'#b3b3be',
|
|
21
|
-
'#0087be',
|
|
22
|
-
'#86a0f6',
|
|
23
|
-
'#baba9d',
|
|
24
|
-
'#009e78',
|
|
25
|
-
'#ffb180',
|
|
26
|
-
'#b5bd00',
|
|
27
|
-
],
|
|
61
|
+
color: colors$3,
|
|
28
62
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
29
63
|
textStyle: {},
|
|
30
64
|
title: {
|
|
@@ -126,142 +160,15 @@ const brandDarkProject = {
|
|
|
126
160
|
symbolSize: 4,
|
|
127
161
|
symbol: 'emptyCircle',
|
|
128
162
|
smooth: false,
|
|
129
|
-
color:
|
|
130
|
-
'#00ffb9',
|
|
131
|
-
'#41b7e6',
|
|
132
|
-
'#cd31e7',
|
|
133
|
-
'#b3b3be',
|
|
134
|
-
'#0087be',
|
|
135
|
-
'#86a0f6',
|
|
136
|
-
'#baba9d',
|
|
137
|
-
'#009e78',
|
|
138
|
-
'#ffb180',
|
|
139
|
-
'#b5bd00',
|
|
140
|
-
],
|
|
163
|
+
color: colors$3,
|
|
141
164
|
label: {
|
|
142
165
|
color: '#000000',
|
|
143
166
|
},
|
|
144
167
|
},
|
|
145
|
-
categoryAxis:
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
color: 'rgba(255,255,255,0.35)',
|
|
150
|
-
},
|
|
151
|
-
},
|
|
152
|
-
axisTick: {
|
|
153
|
-
show: true,
|
|
154
|
-
lineStyle: {
|
|
155
|
-
color: 'rgba(255,255,255,0.35)',
|
|
156
|
-
},
|
|
157
|
-
},
|
|
158
|
-
axisLabel: {
|
|
159
|
-
show: true,
|
|
160
|
-
color: '#ffffff',
|
|
161
|
-
},
|
|
162
|
-
splitLine: {
|
|
163
|
-
show: true,
|
|
164
|
-
lineStyle: {
|
|
165
|
-
color: ['rgba(255,255,255,0.1)'],
|
|
166
|
-
},
|
|
167
|
-
},
|
|
168
|
-
splitArea: {
|
|
169
|
-
show: false,
|
|
170
|
-
areaStyle: {
|
|
171
|
-
color: ['rgba(0,0,0,0)', 'rgba(255,255,255,0.1)'],
|
|
172
|
-
},
|
|
173
|
-
},
|
|
174
|
-
},
|
|
175
|
-
valueAxis: {
|
|
176
|
-
axisLine: {
|
|
177
|
-
show: true,
|
|
178
|
-
lineStyle: {
|
|
179
|
-
color: 'rgba(255,255,255,0.35)',
|
|
180
|
-
},
|
|
181
|
-
},
|
|
182
|
-
axisTick: {
|
|
183
|
-
show: true,
|
|
184
|
-
lineStyle: {
|
|
185
|
-
color: 'rgba(255,255,255,0.35)',
|
|
186
|
-
},
|
|
187
|
-
},
|
|
188
|
-
axisLabel: {
|
|
189
|
-
show: true,
|
|
190
|
-
color: '#ffffff',
|
|
191
|
-
},
|
|
192
|
-
splitLine: {
|
|
193
|
-
show: true,
|
|
194
|
-
lineStyle: {
|
|
195
|
-
color: ['rgba(255,255,255,0.1)'],
|
|
196
|
-
},
|
|
197
|
-
},
|
|
198
|
-
splitArea: {
|
|
199
|
-
show: false,
|
|
200
|
-
areaStyle: {
|
|
201
|
-
color: ['rgba(0,0,0,0)', 'rgba(255,255,255,0.1)'],
|
|
202
|
-
},
|
|
203
|
-
},
|
|
204
|
-
},
|
|
205
|
-
logAxis: {
|
|
206
|
-
axisLine: {
|
|
207
|
-
show: true,
|
|
208
|
-
lineStyle: {
|
|
209
|
-
color: 'rgba(255,255,255,0.35)',
|
|
210
|
-
},
|
|
211
|
-
},
|
|
212
|
-
axisTick: {
|
|
213
|
-
show: true,
|
|
214
|
-
lineStyle: {
|
|
215
|
-
color: 'rgba(255,255,255,0.35)',
|
|
216
|
-
},
|
|
217
|
-
},
|
|
218
|
-
axisLabel: {
|
|
219
|
-
show: true,
|
|
220
|
-
color: '#ffffff',
|
|
221
|
-
},
|
|
222
|
-
splitLine: {
|
|
223
|
-
show: true,
|
|
224
|
-
lineStyle: {
|
|
225
|
-
color: ['rgba(255,255,255,0.1)'],
|
|
226
|
-
},
|
|
227
|
-
},
|
|
228
|
-
splitArea: {
|
|
229
|
-
show: false,
|
|
230
|
-
areaStyle: {
|
|
231
|
-
color: ['rgba(0,0,0,0)', 'rgba(255,255,255,0.1)'],
|
|
232
|
-
},
|
|
233
|
-
},
|
|
234
|
-
},
|
|
235
|
-
timeAxis: {
|
|
236
|
-
axisLine: {
|
|
237
|
-
show: true,
|
|
238
|
-
lineStyle: {
|
|
239
|
-
color: 'rgba(255,255,255,0.35)',
|
|
240
|
-
},
|
|
241
|
-
},
|
|
242
|
-
axisTick: {
|
|
243
|
-
show: true,
|
|
244
|
-
lineStyle: {
|
|
245
|
-
color: 'rgba(255,255,255,0.35)',
|
|
246
|
-
},
|
|
247
|
-
},
|
|
248
|
-
axisLabel: {
|
|
249
|
-
show: true,
|
|
250
|
-
color: '#ffffff',
|
|
251
|
-
},
|
|
252
|
-
splitLine: {
|
|
253
|
-
show: true,
|
|
254
|
-
lineStyle: {
|
|
255
|
-
color: ['rgba(255,255,255,0.1)'],
|
|
256
|
-
},
|
|
257
|
-
},
|
|
258
|
-
splitArea: {
|
|
259
|
-
show: false,
|
|
260
|
-
areaStyle: {
|
|
261
|
-
color: ['rgba(0,0,0,0)', 'rgba(255,255,255,0.1)'],
|
|
262
|
-
},
|
|
263
|
-
},
|
|
264
|
-
},
|
|
168
|
+
categoryAxis: axisCommon$3,
|
|
169
|
+
valueAxis: axisCommon$3,
|
|
170
|
+
logAxis: axisCommon$3,
|
|
171
|
+
timeAxis: axisCommon$3,
|
|
265
172
|
toolbox: {
|
|
266
173
|
iconStyle: {
|
|
267
174
|
borderColor: '#ffffff',
|
|
@@ -278,8 +185,8 @@ const brandDarkProject = {
|
|
|
278
185
|
},
|
|
279
186
|
},
|
|
280
187
|
tooltip: {
|
|
281
|
-
backgroundColor: '#
|
|
282
|
-
borderColor: '#
|
|
188
|
+
backgroundColor: '#000028cc',
|
|
189
|
+
borderColor: '#ffffff40',
|
|
283
190
|
textStyle: {
|
|
284
191
|
color: '#ffffff',
|
|
285
192
|
},
|
|
@@ -371,21 +278,59 @@ const brandDarkProject = {
|
|
|
371
278
|
* This source code is licensed under the MIT license found in the
|
|
372
279
|
* LICENSE file in the root directory of this source tree.
|
|
373
280
|
*/
|
|
374
|
-
const
|
|
375
|
-
|
|
281
|
+
const colors$2 = [
|
|
282
|
+
'#009999' /* theme-chart-3 */,
|
|
283
|
+
'#005159' /* theme-chart-2 */,
|
|
284
|
+
'#00004A' /* theme-chart-8 */,
|
|
285
|
+
'#1A747D' /* theme-chart-1 */,
|
|
286
|
+
'#3664C6' /* theme-chart-6 */,
|
|
287
|
+
'#002949' /* theme-chart-4 */,
|
|
288
|
+
'#7353E5' /* theme-chart-10 */,
|
|
289
|
+
'#553BA3' /* theme-chart-9 */,
|
|
290
|
+
'#740089' /* theme-chart-11 */,
|
|
291
|
+
'#BE5925' /* theme-chart-14 */,
|
|
292
|
+
'#4F153D' /* theme-chart-13 */,
|
|
293
|
+
'#C04774' /* theme-chart-12 */,
|
|
294
|
+
'#00237A' /* theme-chart-7 */,
|
|
295
|
+
'#801100' /* theme-chart-15 */,
|
|
296
|
+
'#805800' /* theme-chart-16 */,
|
|
297
|
+
'#5E5E4A' /* theme-chart-17 */,
|
|
298
|
+
'#4C4C68' /* theme-chart-5 */,
|
|
299
|
+
];
|
|
300
|
+
const axisCommon$2 = {
|
|
301
|
+
axisLine: {
|
|
302
|
+
show: true,
|
|
303
|
+
lineStyle: {
|
|
304
|
+
color: 'rgba(0,0,40,0.3)',
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
axisTick: {
|
|
308
|
+
show: true,
|
|
309
|
+
lineStyle: {
|
|
310
|
+
color: 'rgba(0,0,40,0.3)',
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
axisLabel: {
|
|
314
|
+
show: true,
|
|
315
|
+
color: '#000028',
|
|
316
|
+
},
|
|
317
|
+
splitLine: {
|
|
318
|
+
show: true,
|
|
319
|
+
lineStyle: {
|
|
320
|
+
color: ['rgba(0,0,40,0.1)'],
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
splitArea: {
|
|
324
|
+
show: false,
|
|
325
|
+
areaStyle: {
|
|
326
|
+
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
};
|
|
330
|
+
var brandLight = {
|
|
331
|
+
themeName: 'theme-brand-light',
|
|
376
332
|
theme: {
|
|
377
|
-
color:
|
|
378
|
-
'#00af8e',
|
|
379
|
-
'#0087be',
|
|
380
|
-
'#aa32be',
|
|
381
|
-
'#71758f',
|
|
382
|
-
'#00557c',
|
|
383
|
-
'#4660b4',
|
|
384
|
-
'#94947b',
|
|
385
|
-
'#007362',
|
|
386
|
-
'#dd886a',
|
|
387
|
-
'#909700',
|
|
388
|
-
],
|
|
333
|
+
color: colors$2,
|
|
389
334
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
390
335
|
textStyle: {},
|
|
391
336
|
title: {
|
|
@@ -487,142 +432,15 @@ const brandLightProject = {
|
|
|
487
432
|
symbolSize: 4,
|
|
488
433
|
symbol: 'circle',
|
|
489
434
|
smooth: false,
|
|
490
|
-
color:
|
|
491
|
-
'#00af8e',
|
|
492
|
-
'#0087be',
|
|
493
|
-
'#aa32be',
|
|
494
|
-
'#71758f',
|
|
495
|
-
'#00557c',
|
|
496
|
-
'#4660b4',
|
|
497
|
-
'#94947b',
|
|
498
|
-
'#007362',
|
|
499
|
-
'#dd886a',
|
|
500
|
-
'#909700',
|
|
501
|
-
],
|
|
435
|
+
color: colors$2,
|
|
502
436
|
label: {
|
|
503
437
|
color: '#ffffff',
|
|
504
438
|
},
|
|
505
439
|
},
|
|
506
|
-
categoryAxis:
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
color: 'rgba(0,0,40,0.3)',
|
|
511
|
-
},
|
|
512
|
-
},
|
|
513
|
-
axisTick: {
|
|
514
|
-
show: true,
|
|
515
|
-
lineStyle: {
|
|
516
|
-
color: 'rgba(0,0,40,0.3)',
|
|
517
|
-
},
|
|
518
|
-
},
|
|
519
|
-
axisLabel: {
|
|
520
|
-
show: true,
|
|
521
|
-
color: '#000028',
|
|
522
|
-
},
|
|
523
|
-
splitLine: {
|
|
524
|
-
show: true,
|
|
525
|
-
lineStyle: {
|
|
526
|
-
color: ['rgba(0,0,40,0.1)'],
|
|
527
|
-
},
|
|
528
|
-
},
|
|
529
|
-
splitArea: {
|
|
530
|
-
show: false,
|
|
531
|
-
areaStyle: {
|
|
532
|
-
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
533
|
-
},
|
|
534
|
-
},
|
|
535
|
-
},
|
|
536
|
-
valueAxis: {
|
|
537
|
-
axisLine: {
|
|
538
|
-
show: true,
|
|
539
|
-
lineStyle: {
|
|
540
|
-
color: 'rgba(0,0,40,0.3)',
|
|
541
|
-
},
|
|
542
|
-
},
|
|
543
|
-
axisTick: {
|
|
544
|
-
show: true,
|
|
545
|
-
lineStyle: {
|
|
546
|
-
color: 'rgba(0,0,40,0.3)',
|
|
547
|
-
},
|
|
548
|
-
},
|
|
549
|
-
axisLabel: {
|
|
550
|
-
show: true,
|
|
551
|
-
color: '#000028',
|
|
552
|
-
},
|
|
553
|
-
splitLine: {
|
|
554
|
-
show: true,
|
|
555
|
-
lineStyle: {
|
|
556
|
-
color: ['rgba(0,0,40,0.1)'],
|
|
557
|
-
},
|
|
558
|
-
},
|
|
559
|
-
splitArea: {
|
|
560
|
-
show: false,
|
|
561
|
-
areaStyle: {
|
|
562
|
-
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
563
|
-
},
|
|
564
|
-
},
|
|
565
|
-
},
|
|
566
|
-
logAxis: {
|
|
567
|
-
axisLine: {
|
|
568
|
-
show: true,
|
|
569
|
-
lineStyle: {
|
|
570
|
-
color: 'rgba(0,0,40,0.3)',
|
|
571
|
-
},
|
|
572
|
-
},
|
|
573
|
-
axisTick: {
|
|
574
|
-
show: true,
|
|
575
|
-
lineStyle: {
|
|
576
|
-
color: 'rgba(0,0,40,0.3)',
|
|
577
|
-
},
|
|
578
|
-
},
|
|
579
|
-
axisLabel: {
|
|
580
|
-
show: true,
|
|
581
|
-
color: '#000028',
|
|
582
|
-
},
|
|
583
|
-
splitLine: {
|
|
584
|
-
show: true,
|
|
585
|
-
lineStyle: {
|
|
586
|
-
color: ['rgba(0,0,40,0.1)'],
|
|
587
|
-
},
|
|
588
|
-
},
|
|
589
|
-
splitArea: {
|
|
590
|
-
show: false,
|
|
591
|
-
areaStyle: {
|
|
592
|
-
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
593
|
-
},
|
|
594
|
-
},
|
|
595
|
-
},
|
|
596
|
-
timeAxis: {
|
|
597
|
-
axisLine: {
|
|
598
|
-
show: true,
|
|
599
|
-
lineStyle: {
|
|
600
|
-
color: 'rgba(0,0,40,0.3)',
|
|
601
|
-
},
|
|
602
|
-
},
|
|
603
|
-
axisTick: {
|
|
604
|
-
show: true,
|
|
605
|
-
lineStyle: {
|
|
606
|
-
color: 'rgba(0,0,40,0.3)',
|
|
607
|
-
},
|
|
608
|
-
},
|
|
609
|
-
axisLabel: {
|
|
610
|
-
show: true,
|
|
611
|
-
color: '#000028',
|
|
612
|
-
},
|
|
613
|
-
splitLine: {
|
|
614
|
-
show: true,
|
|
615
|
-
lineStyle: {
|
|
616
|
-
color: ['rgba(0,0,40,0.1)'],
|
|
617
|
-
},
|
|
618
|
-
},
|
|
619
|
-
splitArea: {
|
|
620
|
-
show: false,
|
|
621
|
-
areaStyle: {
|
|
622
|
-
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
623
|
-
},
|
|
624
|
-
},
|
|
625
|
-
},
|
|
440
|
+
categoryAxis: axisCommon$2,
|
|
441
|
+
valueAxis: axisCommon$2,
|
|
442
|
+
logAxis: axisCommon$2,
|
|
443
|
+
timeAxis: axisCommon$2,
|
|
626
444
|
toolbox: {
|
|
627
445
|
iconStyle: {
|
|
628
446
|
borderColor: '#000028',
|
|
@@ -639,8 +457,8 @@ const brandLightProject = {
|
|
|
639
457
|
},
|
|
640
458
|
},
|
|
641
459
|
tooltip: {
|
|
642
|
-
backgroundColor: '#
|
|
643
|
-
borderColor: '#
|
|
460
|
+
backgroundColor: '#ffffffcc',
|
|
461
|
+
borderColor: '#00002833',
|
|
644
462
|
textStyle: {
|
|
645
463
|
color: '#000028',
|
|
646
464
|
},
|
|
@@ -732,21 +550,59 @@ const brandLightProject = {
|
|
|
732
550
|
* This source code is licensed under the MIT license found in the
|
|
733
551
|
* LICENSE file in the root directory of this source tree.
|
|
734
552
|
*/
|
|
735
|
-
const
|
|
736
|
-
|
|
553
|
+
const colors$1 = [
|
|
554
|
+
'#00C2CC' /* theme-chart-3 */,
|
|
555
|
+
'#94FFC9' /* theme-chart-2 */,
|
|
556
|
+
'#9EBBFF' /* theme-chart-8 */,
|
|
557
|
+
'#00FFE7' /* theme-chart-1 */,
|
|
558
|
+
'#42C6FF' /* theme-chart-6 */,
|
|
559
|
+
'#A3EEFF' /* theme-chart-4 */,
|
|
560
|
+
'#B999FF' /* theme-chart-10 */,
|
|
561
|
+
'#9EA3FF' /* theme-chart-9 */,
|
|
562
|
+
'#D08FFF' /* theme-chart-11 */,
|
|
563
|
+
'#EF9A9A' /* theme-chart-14 */,
|
|
564
|
+
'#F38FC2' /* theme-chart-13 */,
|
|
565
|
+
'#ED85FF' /* theme-chart-12 */,
|
|
566
|
+
'#7AAAFF' /* theme-chart-7 */,
|
|
567
|
+
'#FFB180' /* theme-chart-15 */,
|
|
568
|
+
'#CACAB4' /* theme-chart-16 */,
|
|
569
|
+
'#B5BD00' /* theme-chart-17 */,
|
|
570
|
+
'#90B4C5' /* theme-chart-5 */,
|
|
571
|
+
];
|
|
572
|
+
const axisCommon$1 = {
|
|
573
|
+
axisLine: {
|
|
574
|
+
show: true,
|
|
575
|
+
lineStyle: {
|
|
576
|
+
color: 'rgba(255,255,255,0.3)',
|
|
577
|
+
},
|
|
578
|
+
},
|
|
579
|
+
axisTick: {
|
|
580
|
+
show: true,
|
|
581
|
+
lineStyle: {
|
|
582
|
+
color: 'rgba(255,255,255,0.35)',
|
|
583
|
+
},
|
|
584
|
+
},
|
|
585
|
+
axisLabel: {
|
|
586
|
+
show: true,
|
|
587
|
+
color: 'rgba(255,255,255,0.85)',
|
|
588
|
+
},
|
|
589
|
+
splitLine: {
|
|
590
|
+
show: true,
|
|
591
|
+
lineStyle: {
|
|
592
|
+
color: ['rgba(255,255,255,0.1)'],
|
|
593
|
+
},
|
|
594
|
+
},
|
|
595
|
+
splitArea: {
|
|
596
|
+
show: false,
|
|
597
|
+
areaStyle: {
|
|
598
|
+
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
599
|
+
},
|
|
600
|
+
},
|
|
601
|
+
};
|
|
602
|
+
var classicDark = {
|
|
603
|
+
themeName: 'theme-classic-dark',
|
|
737
604
|
theme: {
|
|
738
|
-
color:
|
|
739
|
-
'#00ebd5',
|
|
740
|
-
'#42b3ff',
|
|
741
|
-
'#dd65b5',
|
|
742
|
-
'#86acc0',
|
|
743
|
-
'#2473ff',
|
|
744
|
-
'#757eff',
|
|
745
|
-
'#baba9d',
|
|
746
|
-
'#009e78',
|
|
747
|
-
'#ffb180',
|
|
748
|
-
'#b5bd00',
|
|
749
|
-
],
|
|
605
|
+
color: colors$1,
|
|
750
606
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
751
607
|
textStyle: {},
|
|
752
608
|
title: {
|
|
@@ -848,142 +704,15 @@ const classicDarkProject = {
|
|
|
848
704
|
symbolSize: 4,
|
|
849
705
|
symbol: 'circle',
|
|
850
706
|
smooth: false,
|
|
851
|
-
color:
|
|
852
|
-
'#00ebd5',
|
|
853
|
-
'#42b3ff',
|
|
854
|
-
'#dd65b5',
|
|
855
|
-
'#86acc0',
|
|
856
|
-
'#2473ff',
|
|
857
|
-
'#757eff',
|
|
858
|
-
'#baba9d',
|
|
859
|
-
'#009e78',
|
|
860
|
-
'#ffb180',
|
|
861
|
-
'#b5bd00',
|
|
862
|
-
],
|
|
707
|
+
color: colors$1,
|
|
863
708
|
label: {
|
|
864
709
|
color: '#000000',
|
|
865
710
|
},
|
|
866
711
|
},
|
|
867
|
-
categoryAxis:
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
color: 'rgba(255,255,255,0.3)',
|
|
872
|
-
},
|
|
873
|
-
},
|
|
874
|
-
axisTick: {
|
|
875
|
-
show: true,
|
|
876
|
-
lineStyle: {
|
|
877
|
-
color: 'rgba(255,255,255,0.3)',
|
|
878
|
-
},
|
|
879
|
-
},
|
|
880
|
-
axisLabel: {
|
|
881
|
-
show: true,
|
|
882
|
-
color: 'rgba(255,255,255,0.85)',
|
|
883
|
-
},
|
|
884
|
-
splitLine: {
|
|
885
|
-
show: true,
|
|
886
|
-
lineStyle: {
|
|
887
|
-
color: ['rgba(255,255,255,0.1)'],
|
|
888
|
-
},
|
|
889
|
-
},
|
|
890
|
-
splitArea: {
|
|
891
|
-
show: false,
|
|
892
|
-
areaStyle: {
|
|
893
|
-
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
894
|
-
},
|
|
895
|
-
},
|
|
896
|
-
},
|
|
897
|
-
valueAxis: {
|
|
898
|
-
axisLine: {
|
|
899
|
-
show: true,
|
|
900
|
-
lineStyle: {
|
|
901
|
-
color: 'rgba(255,255,255,0.3)',
|
|
902
|
-
},
|
|
903
|
-
},
|
|
904
|
-
axisTick: {
|
|
905
|
-
show: true,
|
|
906
|
-
lineStyle: {
|
|
907
|
-
color: 'rgba(255,255,255,0.3)',
|
|
908
|
-
},
|
|
909
|
-
},
|
|
910
|
-
axisLabel: {
|
|
911
|
-
show: true,
|
|
912
|
-
color: 'rgba(255,255,255,0.85)',
|
|
913
|
-
},
|
|
914
|
-
splitLine: {
|
|
915
|
-
show: true,
|
|
916
|
-
lineStyle: {
|
|
917
|
-
color: ['rgba(255,255,255,0.1)'],
|
|
918
|
-
},
|
|
919
|
-
},
|
|
920
|
-
splitArea: {
|
|
921
|
-
show: false,
|
|
922
|
-
areaStyle: {
|
|
923
|
-
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
924
|
-
},
|
|
925
|
-
},
|
|
926
|
-
},
|
|
927
|
-
logAxis: {
|
|
928
|
-
axisLine: {
|
|
929
|
-
show: true,
|
|
930
|
-
lineStyle: {
|
|
931
|
-
color: 'rgba(255,255,255,0.3)',
|
|
932
|
-
},
|
|
933
|
-
},
|
|
934
|
-
axisTick: {
|
|
935
|
-
show: true,
|
|
936
|
-
lineStyle: {
|
|
937
|
-
color: 'rgba(255,255,255,0.3)',
|
|
938
|
-
},
|
|
939
|
-
},
|
|
940
|
-
axisLabel: {
|
|
941
|
-
show: true,
|
|
942
|
-
color: 'rgba(255,255,255,0.85)',
|
|
943
|
-
},
|
|
944
|
-
splitLine: {
|
|
945
|
-
show: true,
|
|
946
|
-
lineStyle: {
|
|
947
|
-
color: ['rgba(255,255,255,0.1)'],
|
|
948
|
-
},
|
|
949
|
-
},
|
|
950
|
-
splitArea: {
|
|
951
|
-
show: false,
|
|
952
|
-
areaStyle: {
|
|
953
|
-
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
954
|
-
},
|
|
955
|
-
},
|
|
956
|
-
},
|
|
957
|
-
timeAxis: {
|
|
958
|
-
axisLine: {
|
|
959
|
-
show: true,
|
|
960
|
-
lineStyle: {
|
|
961
|
-
color: 'rgba(255,255,255,0.3)',
|
|
962
|
-
},
|
|
963
|
-
},
|
|
964
|
-
axisTick: {
|
|
965
|
-
show: true,
|
|
966
|
-
lineStyle: {
|
|
967
|
-
color: 'rgba(255,255,255,0.3)',
|
|
968
|
-
},
|
|
969
|
-
},
|
|
970
|
-
axisLabel: {
|
|
971
|
-
show: true,
|
|
972
|
-
color: 'rgba(255,255,255,0.85)',
|
|
973
|
-
},
|
|
974
|
-
splitLine: {
|
|
975
|
-
show: true,
|
|
976
|
-
lineStyle: {
|
|
977
|
-
color: ['rgba(255,255,255,0.1)'],
|
|
978
|
-
},
|
|
979
|
-
},
|
|
980
|
-
splitArea: {
|
|
981
|
-
show: false,
|
|
982
|
-
areaStyle: {
|
|
983
|
-
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
984
|
-
},
|
|
985
|
-
},
|
|
986
|
-
},
|
|
712
|
+
categoryAxis: axisCommon$1,
|
|
713
|
+
valueAxis: axisCommon$1,
|
|
714
|
+
logAxis: axisCommon$1,
|
|
715
|
+
timeAxis: axisCommon$1,
|
|
987
716
|
toolbox: {
|
|
988
717
|
iconStyle: {
|
|
989
718
|
borderColor: '#ffffff',
|
|
@@ -1000,8 +729,8 @@ const classicDarkProject = {
|
|
|
1000
729
|
},
|
|
1001
730
|
},
|
|
1002
731
|
tooltip: {
|
|
1003
|
-
backgroundColor: '#
|
|
1004
|
-
borderColor: '#
|
|
732
|
+
backgroundColor: '#0f1619cc',
|
|
733
|
+
borderColor: '#ffffff40',
|
|
1005
734
|
textStyle: {
|
|
1006
735
|
color: 'rgba(245, 252, 255, .93)',
|
|
1007
736
|
},
|
|
@@ -1093,21 +822,59 @@ const classicDarkProject = {
|
|
|
1093
822
|
* This source code is licensed under the MIT license found in the
|
|
1094
823
|
* LICENSE file in the root directory of this source tree.
|
|
1095
824
|
*/
|
|
1096
|
-
const
|
|
1097
|
-
|
|
825
|
+
const colors = [
|
|
826
|
+
'#00838F' /* theme-chart-3 */,
|
|
827
|
+
'#00572B' /* theme-chart-2 */,
|
|
828
|
+
'#0041D6' /* theme-chart-8 */,
|
|
829
|
+
'#008A7C' /* theme-chart-1 */,
|
|
830
|
+
'#0076A8' /* theme-chart-6 */,
|
|
831
|
+
'#003C61' /* theme-chart-4 */,
|
|
832
|
+
'#7C40FF' /* theme-chart-10 */,
|
|
833
|
+
'#4A52F2' /* theme-chart-9 */,
|
|
834
|
+
'#900EEC' /* theme-chart-11 */,
|
|
835
|
+
'#9E5833' /* theme-chart-14 */,
|
|
836
|
+
'#6F2542' /* theme-chart-13 */,
|
|
837
|
+
'#AA32BE' /* theme-chart-12 */,
|
|
838
|
+
'#182171' /* theme-chart-7 */,
|
|
839
|
+
'#B74E2A' /* theme-chart-15 */,
|
|
840
|
+
'#73735E' /* theme-chart-16 */,
|
|
841
|
+
'#7A8000' /* theme-chart-17 */,
|
|
842
|
+
'#61778C' /* theme-chart-5 */,
|
|
843
|
+
];
|
|
844
|
+
const axisCommon = {
|
|
845
|
+
axisLine: {
|
|
846
|
+
show: true,
|
|
847
|
+
lineStyle: {
|
|
848
|
+
color: 'rgba(0,0,0,0.3)',
|
|
849
|
+
},
|
|
850
|
+
},
|
|
851
|
+
axisTick: {
|
|
852
|
+
show: true,
|
|
853
|
+
lineStyle: {
|
|
854
|
+
color: 'rgba(0,0,0,0.3)',
|
|
855
|
+
},
|
|
856
|
+
},
|
|
857
|
+
axisLabel: {
|
|
858
|
+
show: true,
|
|
859
|
+
color: 'rgba(0,0,0,0.75)',
|
|
860
|
+
},
|
|
861
|
+
splitLine: {
|
|
862
|
+
show: true,
|
|
863
|
+
lineStyle: {
|
|
864
|
+
color: ['rgba(0,0,0,0.1)'],
|
|
865
|
+
},
|
|
866
|
+
},
|
|
867
|
+
splitArea: {
|
|
868
|
+
show: false,
|
|
869
|
+
areaStyle: {
|
|
870
|
+
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
871
|
+
},
|
|
872
|
+
},
|
|
873
|
+
};
|
|
874
|
+
var classicLight = {
|
|
875
|
+
themeName: 'theme-classic-light',
|
|
1098
876
|
theme: {
|
|
1099
|
-
color:
|
|
1100
|
-
'#00b8a6',
|
|
1101
|
-
'#0094f0',
|
|
1102
|
-
'#b63b8c',
|
|
1103
|
-
'#617d8c',
|
|
1104
|
-
'#2351a4',
|
|
1105
|
-
'#5560ff',
|
|
1106
|
-
'#94947b',
|
|
1107
|
-
'#007362',
|
|
1108
|
-
'#dd886a',
|
|
1109
|
-
'#909700',
|
|
1110
|
-
],
|
|
877
|
+
color: colors,
|
|
1111
878
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
1112
879
|
textStyle: {},
|
|
1113
880
|
title: {
|
|
@@ -1209,142 +976,15 @@ const classicLightProject = {
|
|
|
1209
976
|
symbolSize: 4,
|
|
1210
977
|
symbol: 'circle',
|
|
1211
978
|
smooth: false,
|
|
1212
|
-
color:
|
|
1213
|
-
'#00b8a6',
|
|
1214
|
-
'#0094f0',
|
|
1215
|
-
'#b63b8c',
|
|
1216
|
-
'#617d8c',
|
|
1217
|
-
'#2351a4',
|
|
1218
|
-
'#5560ff',
|
|
1219
|
-
'#94947b',
|
|
1220
|
-
'#007362',
|
|
1221
|
-
'#dd886a',
|
|
1222
|
-
'#909700',
|
|
1223
|
-
],
|
|
979
|
+
color: colors,
|
|
1224
980
|
label: {
|
|
1225
981
|
color: '#ffffff',
|
|
1226
982
|
},
|
|
1227
983
|
},
|
|
1228
|
-
categoryAxis:
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
color: 'rgba(0,0,0,0.3)',
|
|
1233
|
-
},
|
|
1234
|
-
},
|
|
1235
|
-
axisTick: {
|
|
1236
|
-
show: true,
|
|
1237
|
-
lineStyle: {
|
|
1238
|
-
color: 'rgba(0,0,0,0.3)',
|
|
1239
|
-
},
|
|
1240
|
-
},
|
|
1241
|
-
axisLabel: {
|
|
1242
|
-
show: true,
|
|
1243
|
-
color: 'rgba(0,0,0,0.75)',
|
|
1244
|
-
},
|
|
1245
|
-
splitLine: {
|
|
1246
|
-
show: true,
|
|
1247
|
-
lineStyle: {
|
|
1248
|
-
color: ['rgba(0,0,0,0.1)'],
|
|
1249
|
-
},
|
|
1250
|
-
},
|
|
1251
|
-
splitArea: {
|
|
1252
|
-
show: false,
|
|
1253
|
-
areaStyle: {
|
|
1254
|
-
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
1255
|
-
},
|
|
1256
|
-
},
|
|
1257
|
-
},
|
|
1258
|
-
valueAxis: {
|
|
1259
|
-
axisLine: {
|
|
1260
|
-
show: true,
|
|
1261
|
-
lineStyle: {
|
|
1262
|
-
color: 'rgba(0,0,0,0.3)',
|
|
1263
|
-
},
|
|
1264
|
-
},
|
|
1265
|
-
axisTick: {
|
|
1266
|
-
show: true,
|
|
1267
|
-
lineStyle: {
|
|
1268
|
-
color: 'rgba(0,0,0,0.3)',
|
|
1269
|
-
},
|
|
1270
|
-
},
|
|
1271
|
-
axisLabel: {
|
|
1272
|
-
show: true,
|
|
1273
|
-
color: 'rgba(0,0,0,0.75)',
|
|
1274
|
-
},
|
|
1275
|
-
splitLine: {
|
|
1276
|
-
show: true,
|
|
1277
|
-
lineStyle: {
|
|
1278
|
-
color: ['rgba(0,0,0,0.1)'],
|
|
1279
|
-
},
|
|
1280
|
-
},
|
|
1281
|
-
splitArea: {
|
|
1282
|
-
show: false,
|
|
1283
|
-
areaStyle: {
|
|
1284
|
-
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
1285
|
-
},
|
|
1286
|
-
},
|
|
1287
|
-
},
|
|
1288
|
-
logAxis: {
|
|
1289
|
-
axisLine: {
|
|
1290
|
-
show: true,
|
|
1291
|
-
lineStyle: {
|
|
1292
|
-
color: 'rgba(0,0,0,0.3)',
|
|
1293
|
-
},
|
|
1294
|
-
},
|
|
1295
|
-
axisTick: {
|
|
1296
|
-
show: true,
|
|
1297
|
-
lineStyle: {
|
|
1298
|
-
color: 'rgba(0,0,0,0.3)',
|
|
1299
|
-
},
|
|
1300
|
-
},
|
|
1301
|
-
axisLabel: {
|
|
1302
|
-
show: true,
|
|
1303
|
-
color: 'rgba(0,0,0,0.75)',
|
|
1304
|
-
},
|
|
1305
|
-
splitLine: {
|
|
1306
|
-
show: true,
|
|
1307
|
-
lineStyle: {
|
|
1308
|
-
color: ['rgba(0,0,0,0.1)'],
|
|
1309
|
-
},
|
|
1310
|
-
},
|
|
1311
|
-
splitArea: {
|
|
1312
|
-
show: false,
|
|
1313
|
-
areaStyle: {
|
|
1314
|
-
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
1315
|
-
},
|
|
1316
|
-
},
|
|
1317
|
-
},
|
|
1318
|
-
timeAxis: {
|
|
1319
|
-
axisLine: {
|
|
1320
|
-
show: true,
|
|
1321
|
-
lineStyle: {
|
|
1322
|
-
color: 'rgba(0,0,0,0.3)',
|
|
1323
|
-
},
|
|
1324
|
-
},
|
|
1325
|
-
axisTick: {
|
|
1326
|
-
show: true,
|
|
1327
|
-
lineStyle: {
|
|
1328
|
-
color: 'rgba(0,0,0,0.3)',
|
|
1329
|
-
},
|
|
1330
|
-
},
|
|
1331
|
-
axisLabel: {
|
|
1332
|
-
show: true,
|
|
1333
|
-
color: 'rgba(0,0,0,0.75)',
|
|
1334
|
-
},
|
|
1335
|
-
splitLine: {
|
|
1336
|
-
show: true,
|
|
1337
|
-
lineStyle: {
|
|
1338
|
-
color: ['rgba(0,0,0,0.1)'],
|
|
1339
|
-
},
|
|
1340
|
-
},
|
|
1341
|
-
splitArea: {
|
|
1342
|
-
show: false,
|
|
1343
|
-
areaStyle: {
|
|
1344
|
-
color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'],
|
|
1345
|
-
},
|
|
1346
|
-
},
|
|
1347
|
-
},
|
|
984
|
+
categoryAxis: axisCommon,
|
|
985
|
+
valueAxis: axisCommon,
|
|
986
|
+
logAxis: axisCommon,
|
|
987
|
+
timeAxis: axisCommon,
|
|
1348
988
|
toolbox: {
|
|
1349
989
|
iconStyle: {
|
|
1350
990
|
borderColor: '#000000',
|
|
@@ -1361,8 +1001,8 @@ const classicLightProject = {
|
|
|
1361
1001
|
},
|
|
1362
1002
|
},
|
|
1363
1003
|
tooltip: {
|
|
1364
|
-
backgroundColor: '#
|
|
1365
|
-
borderColor: '#
|
|
1004
|
+
backgroundColor: '#ffffffcc',
|
|
1005
|
+
borderColor: '#00000033',
|
|
1366
1006
|
textStyle: {
|
|
1367
1007
|
color: 'rgba(0, 10, 20, .9)',
|
|
1368
1008
|
},
|
|
@@ -1454,36 +1094,26 @@ const classicLightProject = {
|
|
|
1454
1094
|
* This source code is licensed under the MIT license found in the
|
|
1455
1095
|
* LICENSE file in the root directory of this source tree.
|
|
1456
1096
|
*/
|
|
1457
|
-
function
|
|
1097
|
+
function registerTheme(echartsInstance) {
|
|
1458
1098
|
const echarts = echartsInstance !== null && echartsInstance !== void 0 ? echartsInstance : window.echarts;
|
|
1459
1099
|
if (!echarts) {
|
|
1460
1100
|
throw Error('echarts not found');
|
|
1461
1101
|
}
|
|
1462
|
-
[
|
|
1463
|
-
classicDarkProject,
|
|
1464
|
-
classicLightProject,
|
|
1465
|
-
brandDarkProject,
|
|
1466
|
-
brandLightProject,
|
|
1467
|
-
].forEach((themeBundle) => {
|
|
1102
|
+
[classicDark, classicLight, brandDark, brandLight].forEach((themeBundle) => {
|
|
1468
1103
|
echarts.registerTheme(themeBundle.themeName, themeBundle.theme);
|
|
1469
1104
|
});
|
|
1470
1105
|
}
|
|
1471
1106
|
|
|
1472
1107
|
/*
|
|
1473
|
-
* SPDX-FileCopyrightText:
|
|
1108
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
1474
1109
|
*
|
|
1475
1110
|
* SPDX-License-Identifier: MIT
|
|
1476
1111
|
*
|
|
1477
1112
|
* This source code is licensed under the MIT license found in the
|
|
1478
1113
|
* LICENSE file in the root directory of this source tree.
|
|
1479
1114
|
*/
|
|
1480
|
-
function
|
|
1481
|
-
return
|
|
1115
|
+
function getComputedCSSProperty(cssProperty) {
|
|
1116
|
+
return getComputedStyle(document.body).getPropertyValue(`--theme-${cssProperty}`);
|
|
1482
1117
|
}
|
|
1483
1118
|
|
|
1484
|
-
|
|
1485
|
-
exports.brandLight = brandLightProject;
|
|
1486
|
-
exports.classicDark = classicDarkProject;
|
|
1487
|
-
exports.classicLight = classicLightProject;
|
|
1488
|
-
exports.convertThemeName = convertThemeName;
|
|
1489
|
-
exports.registerTheme = registerEChartsThemes;
|
|
1119
|
+
export { brandDark, brandLight, classicDark, classicLight, getComputedCSSProperty, registerTheme };
|