@orbcharts/presets-basic 3.0.0-beta.12 → 3.0.0-beta.14

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.
Files changed (113) hide show
  1. package/LICENSE +200 -200
  2. package/dist/orbcharts-presets-basic.es.js +1565 -198
  3. package/dist/orbcharts-presets-basic.umd.js +1 -1
  4. package/dist/src/multiValue/PRESET_RACING_BARS_LOOP.d.ts +4 -0
  5. package/dist/src/multiValue/index.d.ts +1 -0
  6. package/lib/core-types.ts +7 -7
  7. package/lib/plugins-basic-types.ts +6 -6
  8. package/package.json +42 -42
  9. package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +74 -60
  10. package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +75 -61
  11. package/src/grid/PRESET_BARS_ROUND.ts +70 -56
  12. package/src/grid/PRESET_BARS_THIN.ts +67 -53
  13. package/src/grid/PRESET_GRID_BASIC.ts +58 -44
  14. package/src/grid/PRESET_GRID_HORIZONTAL.ts +75 -61
  15. package/src/grid/PRESET_GRID_PN_SCALE.ts +66 -52
  16. package/src/grid/PRESET_GRID_PN_SCALE_SIMPLE.ts +63 -49
  17. package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +66 -52
  18. package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +71 -57
  19. package/src/grid/PRESET_GRID_SIMPLE.ts +58 -44
  20. package/src/grid/PRESET_LINES_BASIC.ts +62 -48
  21. package/src/grid/PRESET_LINES_CURVE.ts +65 -51
  22. package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +64 -50
  23. package/src/grid/PRESET_LINES_HORIZONTAL.ts +70 -56
  24. package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +64 -50
  25. package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +67 -53
  26. package/src/grid/PRESET_LINES_SIMPLE.ts +67 -53
  27. package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +66 -52
  28. package/src/grid/PRESET_LINE_AREAS_BASIC.ts +68 -60
  29. package/src/grid/PRESET_LINE_AREAS_CURVE.ts +79 -65
  30. package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +72 -58
  31. package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +72 -58
  32. package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +70 -56
  33. package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +73 -59
  34. package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +74 -60
  35. package/src/grid/PRESET_LINE_AREAS_SIMPLE.ts +71 -57
  36. package/src/grid/index.ts +26 -26
  37. package/src/index.ts +6 -6
  38. package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +64 -50
  39. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +112 -98
  40. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING_SIMPLE.ts +115 -101
  41. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +85 -71
  42. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE.ts +95 -81
  43. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +87 -73
  44. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE.ts +98 -84
  45. package/src/multiGrid/PRESET_MULTI_GRID_SIMPLE.ts +74 -60
  46. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +115 -101
  47. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE.ts +124 -110
  48. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +133 -119
  49. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE.ts +127 -113
  50. package/src/multiGrid/index.ts +12 -12
  51. package/src/multiValue/PRESET_MULTI_VALUE_BASIC.ts +53 -39
  52. package/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.ts +64 -50
  53. package/src/multiValue/PRESET_MULTI_VALUE_SIMPLE.ts +53 -39
  54. package/src/multiValue/PRESET_RACING_BARS_ALL_ITEMS.ts +58 -44
  55. package/src/multiValue/PRESET_RACING_BARS_BASIC.ts +57 -43
  56. package/src/multiValue/PRESET_RACING_BARS_FAST.ts +57 -43
  57. package/src/multiValue/PRESET_RACING_BARS_FASTER.ts +57 -43
  58. package/src/multiValue/PRESET_RACING_BARS_LOOP.ts +58 -0
  59. package/src/multiValue/PRESET_RACING_BARS_OUTSIDE_LABELS.ts +61 -47
  60. package/src/multiValue/PRESET_RACING_BARS_SEPARATE_CATEGORY.ts +74 -60
  61. package/src/multiValue/PRESET_RACING_BARS_SIMPLE.ts +57 -43
  62. package/src/multiValue/PRESET_RACING_BARS_STOP.ts +56 -42
  63. package/src/multiValue/PRESET_SCATTER_BASIC.ts +54 -40
  64. package/src/multiValue/PRESET_SCATTER_BUBBLES_BASIC.ts +54 -40
  65. package/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.ts +57 -43
  66. package/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.ts +57 -43
  67. package/src/multiValue/PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY.ts +57 -43
  68. package/src/multiValue/PRESET_SCATTER_BUBBLES_SIMPLE.ts +54 -40
  69. package/src/multiValue/PRESET_SCATTER_SEPARATE_CATEGORY.ts +65 -51
  70. package/src/multiValue/PRESET_SCATTER_SIMPLE.ts +54 -40
  71. package/src/multiValue/index.ts +20 -19
  72. package/src/params.ts +83 -83
  73. package/src/relationship/PRESET_FORCE_DIRECTED_BASIC.ts +47 -33
  74. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.ts +47 -33
  75. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.ts +52 -38
  76. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.ts +52 -38
  77. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.ts +49 -35
  78. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE.ts +48 -34
  79. package/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.ts +54 -40
  80. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.ts +52 -38
  81. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.ts +49 -35
  82. package/src/relationship/PRESET_FORCE_DIRECTED_SIMPLE.ts +48 -34
  83. package/src/relationship/index.ts +9 -9
  84. package/src/series/PRESET_BUBBLES_BASIC.ts +46 -32
  85. package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +49 -35
  86. package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +58 -44
  87. package/src/series/PRESET_BUBBLES_SIMPLE.ts +53 -39
  88. package/src/series/PRESET_BUBBLES_SUM_SERIES.ts +48 -34
  89. package/src/series/PRESET_PIE_BASIC.ts +49 -35
  90. package/src/series/PRESET_PIE_DONUT.ts +54 -40
  91. package/src/series/PRESET_PIE_HALF_DONUT.ts +66 -52
  92. package/src/series/PRESET_PIE_SEPARATE_SERIES.ts +47 -33
  93. package/src/series/PRESET_PIE_SIMPLE.ts +56 -42
  94. package/src/series/PRESET_PIE_SUM_SERIES.ts +48 -34
  95. package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +55 -41
  96. package/src/series/PRESET_ROSE_BASIC.ts +55 -41
  97. package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +61 -47
  98. package/src/series/PRESET_ROSE_SEPARATE_SERIES.ts +55 -41
  99. package/src/series/PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES.ts +56 -42
  100. package/src/series/PRESET_ROSE_SIMPLE.ts +56 -42
  101. package/src/series/PRESET_ROSE_SUM_SERIES.ts +54 -40
  102. package/src/series/PRESET_SERIES_BASIC.ts +46 -32
  103. package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +47 -15
  104. package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +48 -16
  105. package/src/series/PRESET_SERIES_SUM_SERIES.ts +49 -17
  106. package/src/series/index.ts +23 -23
  107. package/src/tree/PRESET_TREE_MAP_BASIC.ts +58 -44
  108. package/src/tree/PRESET_TREE_MAP_SIMPLE.ts +54 -44
  109. package/src/tree/index.ts +1 -1
  110. package/src/types.ts +368 -368
  111. package/tsconfig.base.json +13 -13
  112. package/tsconfig.json +2 -2
  113. package/vite.config.js +22 -22
@@ -1,4 +1,4 @@
1
- const u = {
1
+ const S = {
2
2
  name: "PRESET_BUBBLES_BASIC",
3
3
  description: "Basic bubble chart",
4
4
  descriptionZh: "基本泡泡圖",
@@ -17,6 +17,20 @@ const u = {
17
17
  "#EF76FF",
18
18
  "#C4C4C4"
19
19
  ]
20
+ },
21
+ dark: {
22
+ label: [
23
+ "#6CBAFF",
24
+ "#FF6C6C",
25
+ "#F9B052",
26
+ "#7DD3C4",
27
+ "#AA93D2",
28
+ "#0088FF",
29
+ "#FFBABA",
30
+ "#86DC72",
31
+ "#EF76FF",
32
+ "#C4C4C4"
33
+ ]
20
34
  }
21
35
  }
22
36
  },
@@ -26,7 +40,7 @@ const u = {
26
40
  // 圓型圖例列點
27
41
  }
28
42
  }
29
- }, _ = {
43
+ }, R = {
30
44
  name: "PRESET_BUBBLES_SCALING_BY_RADIUS",
31
45
  description: "Bubble chart scaled by radius size",
32
46
  descriptionZh: "以半徑尺寸為比例的泡泡圖",
@@ -45,6 +59,20 @@ const u = {
45
59
  "#EF76FF",
46
60
  "#C4C4C4"
47
61
  ]
62
+ },
63
+ dark: {
64
+ label: [
65
+ "#6CBAFF",
66
+ "#FF6C6C",
67
+ "#F9B052",
68
+ "#7DD3C4",
69
+ "#AA93D2",
70
+ "#0088FF",
71
+ "#FFBABA",
72
+ "#86DC72",
73
+ "#EF76FF",
74
+ "#C4C4C4"
75
+ ]
48
76
  }
49
77
  }
50
78
  },
@@ -57,7 +85,7 @@ const u = {
57
85
  // 圓型圖例列點
58
86
  }
59
87
  }
60
- }, C = {
88
+ }, u = {
61
89
  name: "PRESET_BUBBLES_SEPARATE_SERIES",
62
90
  description: "Bubble chart showing series separately",
63
91
  descriptionZh: "分開顯示Series的泡泡圖",
@@ -76,6 +104,20 @@ const u = {
76
104
  "#EF76FF",
77
105
  "#C4C4C4"
78
106
  ]
107
+ },
108
+ dark: {
109
+ label: [
110
+ "#6CBAFF",
111
+ "#FF6C6C",
112
+ "#F9B052",
113
+ "#7DD3C4",
114
+ "#AA93D2",
115
+ "#0088FF",
116
+ "#FFBABA",
117
+ "#86DC72",
118
+ "#EF76FF",
119
+ "#C4C4C4"
120
+ ]
79
121
  }
80
122
  },
81
123
  // 加長留空
@@ -97,7 +139,7 @@ const u = {
97
139
  },
98
140
  SeriesTooltip: {}
99
141
  }
100
- }, m = {
142
+ }, _ = {
101
143
  name: "PRESET_BUBBLES_SIMPLE",
102
144
  description: "Simple bubble chart",
103
145
  descriptionZh: "簡單泡泡圖",
@@ -122,6 +164,20 @@ const u = {
122
164
  "#EF76FF",
123
165
  "#C4C4C4"
124
166
  ]
167
+ },
168
+ dark: {
169
+ label: [
170
+ "#6CBAFF",
171
+ "#FF6C6C",
172
+ "#F9B052",
173
+ "#7DD3C4",
174
+ "#AA93D2",
175
+ "#0088FF",
176
+ "#FFBABA",
177
+ "#86DC72",
178
+ "#EF76FF",
179
+ "#C4C4C4"
180
+ ]
125
181
  }
126
182
  }
127
183
  },
@@ -132,7 +188,7 @@ const u = {
132
188
  padding: 7
133
189
  }
134
190
  }
135
- }, i = {
191
+ }, a = {
136
192
  name: "PRESET_BUBBLES_SUM_SERIES",
137
193
  description: "Bubble chart of combined Series data",
138
194
  descriptionZh: "合併Series資料的泡泡圖",
@@ -151,6 +207,20 @@ const u = {
151
207
  "#EF76FF",
152
208
  "#C4C4C4"
153
209
  ]
210
+ },
211
+ dark: {
212
+ label: [
213
+ "#6CBAFF",
214
+ "#FF6C6C",
215
+ "#F9B052",
216
+ "#7DD3C4",
217
+ "#AA93D2",
218
+ "#0088FF",
219
+ "#FFBABA",
220
+ "#86DC72",
221
+ "#EF76FF",
222
+ "#C4C4C4"
223
+ ]
154
224
  }
155
225
  }
156
226
  },
@@ -160,8 +230,8 @@ const u = {
160
230
  },
161
231
  pluginParams: {}
162
232
  };
163
- i.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
164
- const a = {
233
+ a.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
234
+ const i = {
165
235
  name: "PRESET_PIE_BASIC",
166
236
  description: "Basic pie chart",
167
237
  descriptionZh: "基本圓餅圖",
@@ -180,6 +250,20 @@ const a = {
180
250
  "#904026",
181
251
  "#C4C4C4"
182
252
  ]
253
+ },
254
+ dark: {
255
+ label: [
256
+ "#7DD3C4",
257
+ "#FFA0A0",
258
+ "#6CBAFF",
259
+ "#55D339",
260
+ "#F9B052",
261
+ "#FF6C6C",
262
+ "#8E6BC9",
263
+ "#0088FF",
264
+ "#904026",
265
+ "#C4C4C4"
266
+ ]
183
267
  }
184
268
  }
185
269
  },
@@ -193,7 +277,7 @@ const a = {
193
277
  }
194
278
  }
195
279
  };
196
- a.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
280
+ i.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
197
281
  const r = {
198
282
  name: "PRESET_PIE_DONUT",
199
283
  description: "Donut chart",
@@ -213,6 +297,20 @@ const r = {
213
297
  "#904026",
214
298
  "#C4C4C4"
215
299
  ]
300
+ },
301
+ dark: {
302
+ label: [
303
+ "#7DD3C4",
304
+ "#FFA0A0",
305
+ "#6CBAFF",
306
+ "#55D339",
307
+ "#F9B052",
308
+ "#FF6C6C",
309
+ "#8E6BC9",
310
+ "#0088FF",
311
+ "#904026",
312
+ "#C4C4C4"
313
+ ]
216
314
  }
217
315
  }
218
316
  },
@@ -232,7 +330,7 @@ const r = {
232
330
  }
233
331
  };
234
332
  r.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
235
- const s = {
333
+ const F = {
236
334
  name: "PRESET_PIE_HALF_DONUT",
237
335
  description: "Half donut chart",
238
336
  descriptionZh: "半圓甜甜圈圖",
@@ -251,6 +349,20 @@ const s = {
251
349
  "#904026",
252
350
  "#C4C4C4"
253
351
  ]
352
+ },
353
+ dark: {
354
+ label: [
355
+ "#7DD3C4",
356
+ "#FFA0A0",
357
+ "#6CBAFF",
358
+ "#55D339",
359
+ "#F9B052",
360
+ "#FF6C6C",
361
+ "#8E6BC9",
362
+ "#0088FF",
363
+ "#904026",
364
+ "#C4C4C4"
365
+ ]
254
366
  }
255
367
  },
256
368
  padding: {
@@ -281,8 +393,8 @@ const s = {
281
393
  }
282
394
  }
283
395
  };
284
- s.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
285
- const o = {
396
+ F.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
397
+ const l = {
286
398
  name: "PRESET_PIE_WITH_INNER_LABELS",
287
399
  description: "Pie chart with inner data labels",
288
400
  descriptionZh: "圓餅圖及內部資料標籤",
@@ -301,6 +413,20 @@ const o = {
301
413
  "#904026",
302
414
  "#C4C4C4"
303
415
  ]
416
+ },
417
+ dark: {
418
+ label: [
419
+ "#7DD3C4",
420
+ "#FFA0A0",
421
+ "#6CBAFF",
422
+ "#55D339",
423
+ "#F9B052",
424
+ "#FF6C6C",
425
+ "#8E6BC9",
426
+ "#0088FF",
427
+ "#904026",
428
+ "#C4C4C4"
429
+ ]
304
430
  }
305
431
  }
306
432
  },
@@ -321,8 +447,8 @@ const o = {
321
447
  }
322
448
  }
323
449
  };
324
- o.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
325
- const l = {
450
+ l.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
451
+ const s = {
326
452
  name: "PRESET_PIE_SEPARATE_SERIES",
327
453
  description: "Separate pie chart of Series",
328
454
  descriptionZh: "分開顯示Series的圓餅圖",
@@ -341,6 +467,20 @@ const l = {
341
467
  "#904026",
342
468
  "#C4C4C4"
343
469
  ]
470
+ },
471
+ dark: {
472
+ label: [
473
+ "#7DD3C4",
474
+ "#FFA0A0",
475
+ "#6CBAFF",
476
+ "#55D339",
477
+ "#F9B052",
478
+ "#FF6C6C",
479
+ "#8E6BC9",
480
+ "#0088FF",
481
+ "#904026",
482
+ "#C4C4C4"
483
+ ]
344
484
  }
345
485
  }
346
486
  },
@@ -350,8 +490,8 @@ const l = {
350
490
  },
351
491
  pluginParams: {}
352
492
  };
353
- l.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
354
- const n = {
493
+ s.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
494
+ const B = {
355
495
  name: "PRESET_PIE_SIMPLE",
356
496
  description: "Simple pie chart",
357
497
  descriptionZh: "簡單圓餅圖",
@@ -376,6 +516,20 @@ const n = {
376
516
  "#904026",
377
517
  "#C4C4C4"
378
518
  ]
519
+ },
520
+ dark: {
521
+ label: [
522
+ "#7DD3C4",
523
+ "#FFA0A0",
524
+ "#6CBAFF",
525
+ "#55D339",
526
+ "#F9B052",
527
+ "#FF6C6C",
528
+ "#8E6BC9",
529
+ "#0088FF",
530
+ "#904026",
531
+ "#C4C4C4"
532
+ ]
379
533
  }
380
534
  }
381
535
  },
@@ -390,8 +544,8 @@ const n = {
390
544
  }
391
545
  }
392
546
  };
393
- n.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
394
- const d = {
547
+ B.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
548
+ const o = {
395
549
  name: "PRESET_PIE_SUM_SERIES",
396
550
  description: "Pie chart of combined Series data",
397
551
  descriptionZh: "合併Series資料的圓餅圖",
@@ -410,6 +564,20 @@ const d = {
410
564
  "#904026",
411
565
  "#C4C4C4"
412
566
  ]
567
+ },
568
+ dark: {
569
+ label: [
570
+ "#7DD3C4",
571
+ "#FFA0A0",
572
+ "#6CBAFF",
573
+ "#55D339",
574
+ "#F9B052",
575
+ "#FF6C6C",
576
+ "#8E6BC9",
577
+ "#0088FF",
578
+ "#904026",
579
+ "#C4C4C4"
580
+ ]
413
581
  }
414
582
  }
415
583
  },
@@ -419,8 +587,8 @@ const d = {
419
587
  },
420
588
  pluginParams: {}
421
589
  };
422
- d.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
423
- const E = {
590
+ o.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
591
+ const d = {
424
592
  name: "PRESET_ROSE_BASIC",
425
593
  description: "Basic Rose chart",
426
594
  descriptionZh: "基本Rose參數",
@@ -445,6 +613,20 @@ const E = {
445
613
  "#FF6C6C",
446
614
  "#C4C4C4"
447
615
  ]
616
+ },
617
+ dark: {
618
+ label: [
619
+ "#8BC8FF",
620
+ "#4BABFF",
621
+ "#0088FF",
622
+ "#55D339",
623
+ "#29AB0C",
624
+ "#16B59B",
625
+ "#FCDCAD",
626
+ "#F9B052",
627
+ "#FF6C6C",
628
+ "#C4C4C4"
629
+ ]
448
630
  }
449
631
  }
450
632
  },
@@ -458,8 +640,8 @@ const E = {
458
640
  }
459
641
  }
460
642
  };
461
- E.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
462
- const F = {
643
+ d.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
644
+ const n = {
463
645
  name: "PRESET_ROSE_SCALING_BY_RADIUS",
464
646
  description: "Rose chart with radius scaling",
465
647
  descriptionZh: "以半徑尺寸為比例的玫瑰圖",
@@ -484,6 +666,20 @@ const F = {
484
666
  "#FF6C6C",
485
667
  "#C4C4C4"
486
668
  ]
669
+ },
670
+ dark: {
671
+ label: [
672
+ "#8BC8FF",
673
+ "#4BABFF",
674
+ "#0088FF",
675
+ "#55D339",
676
+ "#29AB0C",
677
+ "#16B59B",
678
+ "#FCDCAD",
679
+ "#F9B052",
680
+ "#FF6C6C",
681
+ "#C4C4C4"
682
+ ]
487
683
  }
488
684
  }
489
685
  },
@@ -503,8 +699,8 @@ const F = {
503
699
  }
504
700
  }
505
701
  };
506
- F.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
507
- const c = {
702
+ n.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
703
+ const C = {
508
704
  name: "PRESET_ROSE_SEPARATE_SERIES",
509
705
  description: "Separate rose chart of Series",
510
706
  descriptionZh: "分開顯示Series的玫瑰圖",
@@ -529,6 +725,20 @@ const c = {
529
725
  "#FF6C6C",
530
726
  "#C4C4C4"
531
727
  ]
728
+ },
729
+ dark: {
730
+ label: [
731
+ "#8BC8FF",
732
+ "#4BABFF",
733
+ "#0088FF",
734
+ "#55D339",
735
+ "#29AB0C",
736
+ "#16B59B",
737
+ "#FCDCAD",
738
+ "#F9B052",
739
+ "#FF6C6C",
740
+ "#C4C4C4"
741
+ ]
532
742
  }
533
743
  }
534
744
  },
@@ -541,8 +751,8 @@ const c = {
541
751
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
542
752
  }
543
753
  };
544
- c.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
545
- const g = {
754
+ C.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
755
+ const A = {
546
756
  name: "PRESET_ROSE_SIMPLE",
547
757
  description: "Simple Rose chart",
548
758
  descriptionZh: "簡單Rose參數",
@@ -567,6 +777,20 @@ const g = {
567
777
  "#FF6C6C",
568
778
  "#C4C4C4"
569
779
  ]
780
+ },
781
+ dark: {
782
+ label: [
783
+ "#8BC8FF",
784
+ "#4BABFF",
785
+ "#0088FF",
786
+ "#55D339",
787
+ "#29AB0C",
788
+ "#16B59B",
789
+ "#FCDCAD",
790
+ "#F9B052",
791
+ "#FF6C6C",
792
+ "#C4C4C4"
793
+ ]
570
794
  }
571
795
  }
572
796
  },
@@ -581,8 +805,8 @@ const g = {
581
805
  }
582
806
  }
583
807
  };
584
- g.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
585
- const B = {
808
+ A.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
809
+ const E = {
586
810
  name: "PRESET_ROSE_SUM_SERIES",
587
811
  description: "Rose chart of combined Series data",
588
812
  descriptionZh: "合併Series資料的玫瑰圖",
@@ -607,6 +831,20 @@ const B = {
607
831
  "#FF6C6C",
608
832
  "#C4C4C4"
609
833
  ]
834
+ },
835
+ dark: {
836
+ label: [
837
+ "#8BC8FF",
838
+ "#4BABFF",
839
+ "#0088FF",
840
+ "#55D339",
841
+ "#29AB0C",
842
+ "#16B59B",
843
+ "#FCDCAD",
844
+ "#F9B052",
845
+ "#FF6C6C",
846
+ "#C4C4C4"
847
+ ]
610
848
  }
611
849
  }
612
850
  },
@@ -616,8 +854,8 @@ const B = {
616
854
  },
617
855
  pluginParams: {}
618
856
  };
619
- B.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
620
- const p = {
857
+ E.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
858
+ const c = {
621
859
  name: "PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES",
622
860
  description: "Separate and sum Series data",
623
861
  descriptionZh: "分開顯示Series並合併Series資料",
@@ -642,6 +880,20 @@ const p = {
642
880
  "#FF6C6C",
643
881
  "#C4C4C4"
644
882
  ]
883
+ },
884
+ dark: {
885
+ label: [
886
+ "#8BC8FF",
887
+ "#4BABFF",
888
+ "#0088FF",
889
+ "#55D339",
890
+ "#29AB0C",
891
+ "#16B59B",
892
+ "#FCDCAD",
893
+ "#F9B052",
894
+ "#FF6C6C",
895
+ "#C4C4C4"
896
+ ]
645
897
  }
646
898
  }
647
899
  },
@@ -655,8 +907,8 @@ const p = {
655
907
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
656
908
  }
657
909
  };
658
- p.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
659
- const h = {
910
+ c.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
911
+ const m = {
660
912
  name: "PRESET_SERIES_BASIC",
661
913
  description: "Basic Series parameters",
662
914
  descriptionZh: "基本Series參數",
@@ -675,6 +927,20 @@ const h = {
675
927
  "#EF76FF",
676
928
  "#C4C4C4"
677
929
  ]
930
+ },
931
+ dark: {
932
+ label: [
933
+ "#6CBAFF",
934
+ "#FF6C6C",
935
+ "#F9B052",
936
+ "#7DD3C4",
937
+ "#AA93D2",
938
+ "#0088FF",
939
+ "#FFBABA",
940
+ "#86DC72",
941
+ "#EF76FF",
942
+ "#C4C4C4"
943
+ ]
678
944
  }
679
945
  }
680
946
  },
@@ -684,10 +950,42 @@ const h = {
684
950
  // 圓型圖例列點
685
951
  }
686
952
  }
687
- }, A = {
953
+ }, g = {
688
954
  name: "PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES",
689
955
  description: "Separate and sum Series data",
690
956
  descriptionZh: "分開顯示Series並合併Series資料",
957
+ chartParams: {
958
+ colors: {
959
+ light: {
960
+ label: [
961
+ "#6CBAFF",
962
+ "#FF6C6C",
963
+ "#F9B052",
964
+ "#7DD3C4",
965
+ "#AA93D2",
966
+ "#0088FF",
967
+ "#FFBABA",
968
+ "#86DC72",
969
+ "#EF76FF",
970
+ "#C4C4C4"
971
+ ]
972
+ },
973
+ dark: {
974
+ label: [
975
+ "#6CBAFF",
976
+ "#FF6C6C",
977
+ "#F9B052",
978
+ "#7DD3C4",
979
+ "#AA93D2",
980
+ "#0088FF",
981
+ "#FFBABA",
982
+ "#86DC72",
983
+ "#EF76FF",
984
+ "#C4C4C4"
985
+ ]
986
+ }
987
+ }
988
+ },
691
989
  dataFormatter: {
692
990
  sort: (t, e) => e.value - t.value,
693
991
  separateSeries: !0,
@@ -695,30 +993,94 @@ const h = {
695
993
  },
696
994
  pluginParams: {}
697
995
  };
698
- A.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
699
- const S = {
996
+ g.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
997
+ const D = {
700
998
  name: "PRESET_SERIES_SEPARATE_SERIES",
701
999
  description: "Separate Series",
702
1000
  descriptionZh: "分開顯示Series",
1001
+ chartParams: {
1002
+ colors: {
1003
+ light: {
1004
+ label: [
1005
+ "#6CBAFF",
1006
+ "#FF6C6C",
1007
+ "#F9B052",
1008
+ "#7DD3C4",
1009
+ "#AA93D2",
1010
+ "#0088FF",
1011
+ "#FFBABA",
1012
+ "#86DC72",
1013
+ "#EF76FF",
1014
+ "#C4C4C4"
1015
+ ]
1016
+ },
1017
+ dark: {
1018
+ label: [
1019
+ "#6CBAFF",
1020
+ "#FF6C6C",
1021
+ "#F9B052",
1022
+ "#7DD3C4",
1023
+ "#AA93D2",
1024
+ "#0088FF",
1025
+ "#FFBABA",
1026
+ "#86DC72",
1027
+ "#EF76FF",
1028
+ "#C4C4C4"
1029
+ ]
1030
+ }
1031
+ }
1032
+ },
703
1033
  dataFormatter: {
704
1034
  sort: (t, e) => e.value - t.value,
705
1035
  separateSeries: !0
706
1036
  },
707
1037
  pluginParams: {}
708
1038
  };
709
- S.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
710
- const R = {
1039
+ D.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
1040
+ const p = {
711
1041
  name: "PRESET_SERIES_SUM_SERIES",
712
1042
  description: "Combine Series data",
713
1043
  descriptionZh: "合併Series資料",
1044
+ chartParams: {
1045
+ colors: {
1046
+ light: {
1047
+ label: [
1048
+ "#6CBAFF",
1049
+ "#FF6C6C",
1050
+ "#F9B052",
1051
+ "#7DD3C4",
1052
+ "#AA93D2",
1053
+ "#0088FF",
1054
+ "#FFBABA",
1055
+ "#86DC72",
1056
+ "#EF76FF",
1057
+ "#C4C4C4"
1058
+ ]
1059
+ },
1060
+ dark: {
1061
+ label: [
1062
+ "#6CBAFF",
1063
+ "#FF6C6C",
1064
+ "#F9B052",
1065
+ "#7DD3C4",
1066
+ "#AA93D2",
1067
+ "#0088FF",
1068
+ "#FFBABA",
1069
+ "#86DC72",
1070
+ "#EF76FF",
1071
+ "#C4C4C4"
1072
+ ]
1073
+ }
1074
+ }
1075
+ },
714
1076
  dataFormatter: {
715
1077
  sort: (t, e) => e.value - t.value,
716
1078
  sumSeries: !0
717
1079
  },
718
1080
  pluginParams: {}
719
1081
  };
720
- R.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
721
- const P = {
1082
+ p.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
1083
+ const h = {
722
1084
  name: "PRESET_BARS_HORIZONTAL_AND_ROUND",
723
1085
  description: "Horizontal bars with round corners",
724
1086
  descriptionZh: "橫向圓角長條圖",
@@ -737,6 +1099,20 @@ const P = {
737
1099
  "#4B25B3",
738
1100
  "#C50669"
739
1101
  ]
1102
+ },
1103
+ dark: {
1104
+ label: [
1105
+ "#4BABFF",
1106
+ "#FFA0A0",
1107
+ "#7DD3C4",
1108
+ "#F9B052",
1109
+ "#8454D4",
1110
+ "#42C724",
1111
+ "#FF4B4B",
1112
+ "#904026",
1113
+ "#4B25B3",
1114
+ "#C50669"
1115
+ ]
740
1116
  }
741
1117
  },
742
1118
  padding: {
@@ -770,7 +1146,7 @@ const P = {
770
1146
  listRectRadius: 7
771
1147
  }
772
1148
  }
773
- }, D = {
1149
+ }, P = {
774
1150
  name: "PRESET_BARS_HORIZONTAL_AND_THIN",
775
1151
  description: "Horizontal thin bars",
776
1152
  descriptionZh: "橫向細長長條圖",
@@ -789,6 +1165,20 @@ const P = {
789
1165
  "#4B25B3",
790
1166
  "#C50669"
791
1167
  ]
1168
+ },
1169
+ dark: {
1170
+ label: [
1171
+ "#4BABFF",
1172
+ "#FFA0A0",
1173
+ "#7DD3C4",
1174
+ "#F9B052",
1175
+ "#8454D4",
1176
+ "#42C724",
1177
+ "#FF4B4B",
1178
+ "#904026",
1179
+ "#4B25B3",
1180
+ "#C50669"
1181
+ ]
792
1182
  }
793
1183
  },
794
1184
  padding: {
@@ -823,7 +1213,7 @@ const P = {
823
1213
  padding: 14
824
1214
  }
825
1215
  }
826
- }, T = {
1216
+ }, b = {
827
1217
  name: "PRESET_BARS_ROUND",
828
1218
  description: "Rounded bars",
829
1219
  descriptionZh: "圓角長條圖",
@@ -842,6 +1232,20 @@ const P = {
842
1232
  "#4B25B3",
843
1233
  "#C50669"
844
1234
  ]
1235
+ },
1236
+ dark: {
1237
+ label: [
1238
+ "#4BABFF",
1239
+ "#FFA0A0",
1240
+ "#7DD3C4",
1241
+ "#F9B052",
1242
+ "#8454D4",
1243
+ "#42C724",
1244
+ "#FF4B4B",
1245
+ "#904026",
1246
+ "#4B25B3",
1247
+ "#C50669"
1248
+ ]
845
1249
  }
846
1250
  },
847
1251
  padding: {
@@ -871,7 +1275,7 @@ const P = {
871
1275
  listRectRadius: 7
872
1276
  }
873
1277
  }
874
- }, I = {
1278
+ }, T = {
875
1279
  name: "PRESET_BARS_THIN",
876
1280
  description: "Thin bars",
877
1281
  descriptionZh: "細長條圖",
@@ -890,6 +1294,20 @@ const P = {
890
1294
  "#4B25B3",
891
1295
  "#C50669"
892
1296
  ]
1297
+ },
1298
+ dark: {
1299
+ label: [
1300
+ "#4BABFF",
1301
+ "#FFA0A0",
1302
+ "#7DD3C4",
1303
+ "#F9B052",
1304
+ "#8454D4",
1305
+ "#42C724",
1306
+ "#FF4B4B",
1307
+ "#904026",
1308
+ "#4B25B3",
1309
+ "#C50669"
1310
+ ]
893
1311
  }
894
1312
  },
895
1313
  padding: {
@@ -916,10 +1334,10 @@ const P = {
916
1334
  padding: 14
917
1335
  }
918
1336
  }
919
- }, L = {
1337
+ }, I = {
920
1338
  name: "PRESET_GRID_BASIC",
921
1339
  description: "Basic Grid",
922
- descriptionZh: "基本Grid參數",
1340
+ descriptionZh: "基本Grid",
923
1341
  chartParams: {
924
1342
  colors: {
925
1343
  light: {
@@ -935,6 +1353,20 @@ const P = {
935
1353
  "#4B25B3",
936
1354
  "#C50669"
937
1355
  ]
1356
+ },
1357
+ dark: {
1358
+ label: [
1359
+ "#4BABFF",
1360
+ "#FFA0A0",
1361
+ "#7DD3C4",
1362
+ "#F9B052",
1363
+ "#8454D4",
1364
+ "#42C724",
1365
+ "#FF4B4B",
1366
+ "#904026",
1367
+ "#4B25B3",
1368
+ "#C50669"
1369
+ ]
938
1370
  }
939
1371
  },
940
1372
  padding: {
@@ -954,7 +1386,7 @@ const P = {
954
1386
  padding: 14
955
1387
  }
956
1388
  }
957
- }, b = {
1389
+ }, L = {
958
1390
  name: "PRESET_GRID_HORIZONTAL",
959
1391
  description: "Horizontal Grid",
960
1392
  descriptionZh: "橫向圖",
@@ -973,6 +1405,20 @@ const P = {
973
1405
  "#4B25B3",
974
1406
  "#C50669"
975
1407
  ]
1408
+ },
1409
+ dark: {
1410
+ label: [
1411
+ "#4BABFF",
1412
+ "#FFA0A0",
1413
+ "#7DD3C4",
1414
+ "#F9B052",
1415
+ "#8454D4",
1416
+ "#42C724",
1417
+ "#FF4B4B",
1418
+ "#904026",
1419
+ "#4B25B3",
1420
+ "#C50669"
1421
+ ]
976
1422
  }
977
1423
  },
978
1424
  // 間距下面及左邊留空
@@ -1028,6 +1474,20 @@ const P = {
1028
1474
  "#4B25B3",
1029
1475
  "#C50669"
1030
1476
  ]
1477
+ },
1478
+ dark: {
1479
+ label: [
1480
+ "#4BABFF",
1481
+ "#FFA0A0",
1482
+ "#7DD3C4",
1483
+ "#F9B052",
1484
+ "#8454D4",
1485
+ "#42C724",
1486
+ "#FF4B4B",
1487
+ "#904026",
1488
+ "#4B25B3",
1489
+ "#C50669"
1490
+ ]
1031
1491
  }
1032
1492
  },
1033
1493
  padding: {
@@ -1072,6 +1532,20 @@ const P = {
1072
1532
  "#4B25B3",
1073
1533
  "#C50669"
1074
1534
  ]
1535
+ },
1536
+ dark: {
1537
+ label: [
1538
+ "#4BABFF",
1539
+ "#FFA0A0",
1540
+ "#7DD3C4",
1541
+ "#F9B052",
1542
+ "#8454D4",
1543
+ "#42C724",
1544
+ "#FF4B4B",
1545
+ "#904026",
1546
+ "#4B25B3",
1547
+ "#C50669"
1548
+ ]
1075
1549
  }
1076
1550
  },
1077
1551
  padding: {
@@ -1118,6 +1592,20 @@ const P = {
1118
1592
  "#4B25B3",
1119
1593
  "#C50669"
1120
1594
  ]
1595
+ },
1596
+ dark: {
1597
+ label: [
1598
+ "#4BABFF",
1599
+ "#FFA0A0",
1600
+ "#7DD3C4",
1601
+ "#F9B052",
1602
+ "#8454D4",
1603
+ "#42C724",
1604
+ "#FF4B4B",
1605
+ "#904026",
1606
+ "#4B25B3",
1607
+ "#C50669"
1608
+ ]
1121
1609
  }
1122
1610
  },
1123
1611
  // 間距下面加長留空
@@ -1145,7 +1633,7 @@ const P = {
1145
1633
  padding: 14
1146
1634
  }
1147
1635
  }
1148
- }, O = {
1636
+ }, k = {
1149
1637
  name: "PRESET_GRID_SEPARATE_SERIES",
1150
1638
  description: "Separate Series",
1151
1639
  descriptionZh: "分開顯示Series",
@@ -1164,6 +1652,20 @@ const P = {
1164
1652
  "#4B25B3",
1165
1653
  "#C50669"
1166
1654
  ]
1655
+ },
1656
+ dark: {
1657
+ label: [
1658
+ "#4BABFF",
1659
+ "#FFA0A0",
1660
+ "#7DD3C4",
1661
+ "#F9B052",
1662
+ "#8454D4",
1663
+ "#42C724",
1664
+ "#FF4B4B",
1665
+ "#904026",
1666
+ "#4B25B3",
1667
+ "#C50669"
1668
+ ]
1167
1669
  }
1168
1670
  },
1169
1671
  padding: {
@@ -1196,10 +1698,10 @@ const P = {
1196
1698
  padding: 14
1197
1699
  }
1198
1700
  }
1199
- }, N = {
1701
+ }, O = {
1200
1702
  name: "PRESET_GRID_SIMPLE",
1201
1703
  description: "Simple Grid",
1202
- descriptionZh: "簡單Grid參數",
1704
+ descriptionZh: "簡單Grid",
1203
1705
  chartParams: {
1204
1706
  colors: {
1205
1707
  light: {
@@ -1215,6 +1717,20 @@ const P = {
1215
1717
  "#4B25B3",
1216
1718
  "#C50669"
1217
1719
  ]
1720
+ },
1721
+ dark: {
1722
+ label: [
1723
+ "#4BABFF",
1724
+ "#FFA0A0",
1725
+ "#7DD3C4",
1726
+ "#F9B052",
1727
+ "#8454D4",
1728
+ "#42C724",
1729
+ "#FF4B4B",
1730
+ "#904026",
1731
+ "#4B25B3",
1732
+ "#C50669"
1733
+ ]
1218
1734
  }
1219
1735
  },
1220
1736
  padding: {
@@ -1235,7 +1751,7 @@ const P = {
1235
1751
  padding: 7
1236
1752
  }
1237
1753
  }
1238
- }, v = {
1754
+ }, N = {
1239
1755
  name: "PRESET_LINE_AREAS_BASIC",
1240
1756
  description: "Basic LineArea",
1241
1757
  descriptionZh: "基本折線區域圖",
@@ -1254,25 +1770,37 @@ const P = {
1254
1770
  "#4B25B3",
1255
1771
  "#C50669"
1256
1772
  ]
1773
+ },
1774
+ dark: {
1775
+ label: [
1776
+ "#4BABFF",
1777
+ "#FFA0A0",
1778
+ "#7DD3C4",
1779
+ "#F9B052",
1780
+ "#8454D4",
1781
+ "#42C724",
1782
+ "#FF4B4B",
1783
+ "#904026",
1784
+ "#4B25B3",
1785
+ "#C50669"
1786
+ ]
1257
1787
  }
1258
1788
  },
1259
1789
  padding: {
1260
1790
  top: 40,
1261
- right: 40,
1791
+ right: 80,
1792
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
1262
1793
  bottom: 100,
1263
1794
  left: 80
1264
1795
  },
1265
1796
  highlightTarget: "series"
1266
1797
  },
1267
1798
  dataFormatter: {
1268
- // grid: {
1269
1799
  groupAxis: {
1270
1800
  scalePadding: 0
1271
1801
  }
1272
- // }
1273
1802
  },
1274
1803
  pluginParams: {
1275
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1276
1804
  Lines: {},
1277
1805
  LineAreas: {},
1278
1806
  Dots: {},
@@ -1280,14 +1808,12 @@ const P = {
1280
1808
  ValueAxis: {},
1281
1809
  GroupAux: {},
1282
1810
  GridLegend: {
1283
- // position: 'bottom',
1284
- // justify: 'center',
1285
1811
  placement: "bottom",
1286
1812
  padding: 14,
1287
1813
  listRectHeight: 2
1288
1814
  }
1289
1815
  }
1290
- }, Z = {
1816
+ }, v = {
1291
1817
  name: "PRESET_LINE_AREAS_CURVE",
1292
1818
  description: "Curve LineArea",
1293
1819
  descriptionZh: "弧線的折線區域圖",
@@ -1306,11 +1832,26 @@ const P = {
1306
1832
  "#4B25B3",
1307
1833
  "#C50669"
1308
1834
  ]
1835
+ },
1836
+ dark: {
1837
+ label: [
1838
+ "#4BABFF",
1839
+ "#FFA0A0",
1840
+ "#7DD3C4",
1841
+ "#F9B052",
1842
+ "#8454D4",
1843
+ "#42C724",
1844
+ "#FF4B4B",
1845
+ "#904026",
1846
+ "#4B25B3",
1847
+ "#C50669"
1848
+ ]
1309
1849
  }
1310
1850
  },
1311
1851
  padding: {
1312
1852
  top: 40,
1313
- right: 40,
1853
+ right: 80,
1854
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
1314
1855
  bottom: 100,
1315
1856
  left: 80
1316
1857
  },
@@ -1344,7 +1885,7 @@ const P = {
1344
1885
  listRectHeight: 2
1345
1886
  }
1346
1887
  }
1347
- }, U = {
1888
+ }, Z = {
1348
1889
  name: "PRESET_LINE_AREAS_HORIZONTAL",
1349
1890
  description: "Horizontal LineArea",
1350
1891
  descriptionZh: "橫向折線區域圖",
@@ -1363,6 +1904,20 @@ const P = {
1363
1904
  "#4B25B3",
1364
1905
  "#C50669"
1365
1906
  ]
1907
+ },
1908
+ dark: {
1909
+ label: [
1910
+ "#4BABFF",
1911
+ "#FFA0A0",
1912
+ "#7DD3C4",
1913
+ "#F9B052",
1914
+ "#8454D4",
1915
+ "#42C724",
1916
+ "#FF4B4B",
1917
+ "#904026",
1918
+ "#4B25B3",
1919
+ "#C50669"
1920
+ ]
1366
1921
  }
1367
1922
  },
1368
1923
  padding: {
@@ -1395,7 +1950,7 @@ const P = {
1395
1950
  listRectHeight: 2
1396
1951
  }
1397
1952
  }
1398
- }, f = {
1953
+ }, U = {
1399
1954
  name: "PRESET_LINE_AREAS_LOOSE_TICKS",
1400
1955
  description: "Loose Ticks LineArea",
1401
1956
  descriptionZh: "寬鬆標籤的折線區域圖",
@@ -1414,11 +1969,26 @@ const P = {
1414
1969
  "#4B25B3",
1415
1970
  "#C50669"
1416
1971
  ]
1972
+ },
1973
+ dark: {
1974
+ label: [
1975
+ "#4BABFF",
1976
+ "#FFA0A0",
1977
+ "#7DD3C4",
1978
+ "#F9B052",
1979
+ "#8454D4",
1980
+ "#42C724",
1981
+ "#FF4B4B",
1982
+ "#904026",
1983
+ "#4B25B3",
1984
+ "#C50669"
1985
+ ]
1417
1986
  }
1418
1987
  },
1419
1988
  padding: {
1420
1989
  top: 40,
1421
- right: 40,
1990
+ right: 80,
1991
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
1422
1992
  bottom: 100,
1423
1993
  left: 80
1424
1994
  },
@@ -1444,7 +2014,7 @@ const P = {
1444
2014
  listRectHeight: 2
1445
2015
  }
1446
2016
  }
1447
- }, V = {
2017
+ }, f = {
1448
2018
  name: "PRESET_LINE_AREAS_ROTATE_AXIS_LABEL",
1449
2019
  description: "Rotate Axis Label LineArea",
1450
2020
  descriptionZh: "傾斜標籤的折線區域圖",
@@ -1463,6 +2033,20 @@ const P = {
1463
2033
  "#4B25B3",
1464
2034
  "#C50669"
1465
2035
  ]
2036
+ },
2037
+ dark: {
2038
+ label: [
2039
+ "#4BABFF",
2040
+ "#FFA0A0",
2041
+ "#7DD3C4",
2042
+ "#F9B052",
2043
+ "#8454D4",
2044
+ "#42C724",
2045
+ "#FF4B4B",
2046
+ "#904026",
2047
+ "#4B25B3",
2048
+ "#C50669"
2049
+ ]
1466
2050
  }
1467
2051
  },
1468
2052
  padding: {
@@ -1496,7 +2080,7 @@ const P = {
1496
2080
  listRectHeight: 2
1497
2081
  }
1498
2082
  }
1499
- }, H = {
2083
+ }, V = {
1500
2084
  name: "PRESET_LINE_AREAS_SEPARATE_SERIES",
1501
2085
  description: "Separate Series LineArea",
1502
2086
  descriptionZh: "分開顯示Series的折線區域圖",
@@ -1515,6 +2099,20 @@ const P = {
1515
2099
  "#4B25B3",
1516
2100
  "#C50669"
1517
2101
  ]
2102
+ },
2103
+ dark: {
2104
+ label: [
2105
+ "#4BABFF",
2106
+ "#FFA0A0",
2107
+ "#7DD3C4",
2108
+ "#F9B052",
2109
+ "#8454D4",
2110
+ "#42C724",
2111
+ "#FF4B4B",
2112
+ "#904026",
2113
+ "#4B25B3",
2114
+ "#C50669"
2115
+ ]
1518
2116
  }
1519
2117
  },
1520
2118
  padding: {
@@ -1549,7 +2147,7 @@ const P = {
1549
2147
  listRectHeight: 2
1550
2148
  }
1551
2149
  }
1552
- }, k = {
2150
+ }, H = {
1553
2151
  name: "PRESET_LINE_AREAS_SIMPLE",
1554
2152
  description: "Simple LineArea",
1555
2153
  descriptionZh: "簡單折線區域圖",
@@ -1568,13 +2166,29 @@ const P = {
1568
2166
  "#4B25B3",
1569
2167
  "#C50669"
1570
2168
  ]
2169
+ },
2170
+ dark: {
2171
+ label: [
2172
+ "#4BABFF",
2173
+ "#FFA0A0",
2174
+ "#7DD3C4",
2175
+ "#F9B052",
2176
+ "#8454D4",
2177
+ "#42C724",
2178
+ "#FF4B4B",
2179
+ "#904026",
2180
+ "#4B25B3",
2181
+ "#C50669"
2182
+ ]
1571
2183
  }
1572
2184
  },
1573
2185
  padding: {
1574
2186
  top: 40,
1575
- right: 40,
2187
+ right: 80,
2188
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
1576
2189
  bottom: 80,
1577
- left: 40
2190
+ left: 80
2191
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
1578
2192
  },
1579
2193
  highlightTarget: "series"
1580
2194
  },
@@ -1618,6 +2232,20 @@ const P = {
1618
2232
  "#4B25B3",
1619
2233
  "#C50669"
1620
2234
  ]
2235
+ },
2236
+ dark: {
2237
+ label: [
2238
+ "#4BABFF",
2239
+ "#FFA0A0",
2240
+ "#7DD3C4",
2241
+ "#F9B052",
2242
+ "#8454D4",
2243
+ "#42C724",
2244
+ "#FF4B4B",
2245
+ "#904026",
2246
+ "#4B25B3",
2247
+ "#C50669"
2248
+ ]
1621
2249
  }
1622
2250
  },
1623
2251
  padding: {
@@ -1659,6 +2287,20 @@ const P = {
1659
2287
  "#4B25B3",
1660
2288
  "#C50669"
1661
2289
  ]
2290
+ },
2291
+ dark: {
2292
+ label: [
2293
+ "#4BABFF",
2294
+ "#FFA0A0",
2295
+ "#7DD3C4",
2296
+ "#F9B052",
2297
+ "#8454D4",
2298
+ "#42C724",
2299
+ "#FF4B4B",
2300
+ "#904026",
2301
+ "#4B25B3",
2302
+ "#C50669"
2303
+ ]
1662
2304
  }
1663
2305
  },
1664
2306
  padding: {
@@ -1703,6 +2345,20 @@ const P = {
1703
2345
  "#4B25B3",
1704
2346
  "#C50669"
1705
2347
  ]
2348
+ },
2349
+ dark: {
2350
+ label: [
2351
+ "#4BABFF",
2352
+ "#FFA0A0",
2353
+ "#7DD3C4",
2354
+ "#F9B052",
2355
+ "#8454D4",
2356
+ "#42C724",
2357
+ "#FF4B4B",
2358
+ "#904026",
2359
+ "#4B25B3",
2360
+ "#C50669"
2361
+ ]
1706
2362
  }
1707
2363
  },
1708
2364
  padding: {
@@ -1752,6 +2408,20 @@ const P = {
1752
2408
  "#4B25B3",
1753
2409
  "#C50669"
1754
2410
  ]
2411
+ },
2412
+ dark: {
2413
+ label: [
2414
+ "#4BABFF",
2415
+ "#FFA0A0",
2416
+ "#7DD3C4",
2417
+ "#F9B052",
2418
+ "#8454D4",
2419
+ "#42C724",
2420
+ "#FF4B4B",
2421
+ "#904026",
2422
+ "#4B25B3",
2423
+ "#C50669"
2424
+ ]
1755
2425
  }
1756
2426
  },
1757
2427
  padding: {
@@ -1795,6 +2465,20 @@ const P = {
1795
2465
  "#4B25B3",
1796
2466
  "#C50669"
1797
2467
  ]
2468
+ },
2469
+ dark: {
2470
+ label: [
2471
+ "#4BABFF",
2472
+ "#FFA0A0",
2473
+ "#7DD3C4",
2474
+ "#F9B052",
2475
+ "#8454D4",
2476
+ "#42C724",
2477
+ "#FF4B4B",
2478
+ "#904026",
2479
+ "#4B25B3",
2480
+ "#C50669"
2481
+ ]
1798
2482
  }
1799
2483
  },
1800
2484
  padding: {
@@ -1841,6 +2525,20 @@ const P = {
1841
2525
  "#4B25B3",
1842
2526
  "#C50669"
1843
2527
  ]
2528
+ },
2529
+ dark: {
2530
+ label: [
2531
+ "#4BABFF",
2532
+ "#FFA0A0",
2533
+ "#7DD3C4",
2534
+ "#F9B052",
2535
+ "#8454D4",
2536
+ "#42C724",
2537
+ "#FF4B4B",
2538
+ "#904026",
2539
+ "#4B25B3",
2540
+ "#C50669"
2541
+ ]
1844
2542
  }
1845
2543
  },
1846
2544
  padding: {
@@ -1887,6 +2585,20 @@ const P = {
1887
2585
  "#4B25B3",
1888
2586
  "#C50669"
1889
2587
  ]
2588
+ },
2589
+ dark: {
2590
+ label: [
2591
+ "#4BABFF",
2592
+ "#FFA0A0",
2593
+ "#7DD3C4",
2594
+ "#F9B052",
2595
+ "#8454D4",
2596
+ "#42C724",
2597
+ "#FF4B4B",
2598
+ "#904026",
2599
+ "#4B25B3",
2600
+ "#C50669"
2601
+ ]
1890
2602
  }
1891
2603
  },
1892
2604
  padding: {
@@ -1916,7 +2628,7 @@ const P = {
1916
2628
  }, j = {
1917
2629
  name: "PRESET_MULTI_GRID_BASIC",
1918
2630
  description: "Basic MultiGrid",
1919
- descriptionZh: "基本MultiGrid參數",
2631
+ descriptionZh: "基本MultiGrid",
1920
2632
  chartParams: {
1921
2633
  colors: {
1922
2634
  light: {
@@ -1932,6 +2644,20 @@ const P = {
1932
2644
  "#C50669",
1933
2645
  "#4B25B3"
1934
2646
  ]
2647
+ },
2648
+ dark: {
2649
+ label: [
2650
+ "#4BABFF",
2651
+ "#94D6CB",
2652
+ "#F9B052",
2653
+ "#8454D4",
2654
+ "#D58C75",
2655
+ "#42C724",
2656
+ "#FF8B8B",
2657
+ "#904026",
2658
+ "#C50669",
2659
+ "#4B25B3"
2660
+ ]
1935
2661
  }
1936
2662
  },
1937
2663
  padding: {
@@ -1973,6 +2699,20 @@ const P = {
1973
2699
  "#C50669",
1974
2700
  "#4B25B3"
1975
2701
  ]
2702
+ },
2703
+ dark: {
2704
+ label: [
2705
+ "#4BABFF",
2706
+ "#94D6CB",
2707
+ "#F9B052",
2708
+ "#8454D4",
2709
+ "#D58C75",
2710
+ "#42C724",
2711
+ "#FF8B8B",
2712
+ "#904026",
2713
+ "#C50669",
2714
+ "#4B25B3"
2715
+ ]
1976
2716
  }
1977
2717
  },
1978
2718
  padding: {
@@ -2007,7 +2747,7 @@ const P = {
2007
2747
  ],
2008
2748
  // 設定排版方式
2009
2749
  container: {
2010
- gap: 100,
2750
+ gap: 140,
2011
2751
  rowAmount: 1,
2012
2752
  columnAmount: 2
2013
2753
  },
@@ -2068,6 +2808,20 @@ const P = {
2068
2808
  "#C50669",
2069
2809
  "#4B25B3"
2070
2810
  ]
2811
+ },
2812
+ dark: {
2813
+ label: [
2814
+ "#4BABFF",
2815
+ "#94D6CB",
2816
+ "#F9B052",
2817
+ "#8454D4",
2818
+ "#D58C75",
2819
+ "#42C724",
2820
+ "#FF8B8B",
2821
+ "#904026",
2822
+ "#C50669",
2823
+ "#4B25B3"
2824
+ ]
2071
2825
  }
2072
2826
  },
2073
2827
  padding: {
@@ -2160,6 +2914,20 @@ const P = {
2160
2914
  "#C50669",
2161
2915
  "#4B25B3"
2162
2916
  ]
2917
+ },
2918
+ dark: {
2919
+ label: [
2920
+ "#4BABFF",
2921
+ "#94D6CB",
2922
+ "#F9B052",
2923
+ "#8454D4",
2924
+ "#D58C75",
2925
+ "#42C724",
2926
+ "#FF8B8B",
2927
+ "#904026",
2928
+ "#C50669",
2929
+ "#4B25B3"
2930
+ ]
2163
2931
  }
2164
2932
  },
2165
2933
  padding: {
@@ -2231,6 +2999,20 @@ const P = {
2231
2999
  "#C50669",
2232
3000
  "#4B25B3"
2233
3001
  ]
3002
+ },
3003
+ dark: {
3004
+ label: [
3005
+ "#4BABFF",
3006
+ "#94D6CB",
3007
+ "#F9B052",
3008
+ "#8454D4",
3009
+ "#D58C75",
3010
+ "#42C724",
3011
+ "#FF8B8B",
3012
+ "#904026",
3013
+ "#C50669",
3014
+ "#4B25B3"
3015
+ ]
2234
3016
  }
2235
3017
  },
2236
3018
  padding: {
@@ -2275,8 +3057,8 @@ const P = {
2275
3057
  }
2276
3058
  }, tt = {
2277
3059
  name: "PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE",
2278
- description: "Simple 2 groups of Grid chart",
2279
- descriptionZh: "簡單2組Grid圖表",
3060
+ description: "Simple separate grid",
3061
+ descriptionZh: "簡單的分開顯示Grid圖表",
2280
3062
  chartParams: {
2281
3063
  colors: {
2282
3064
  light: {
@@ -2292,6 +3074,20 @@ const P = {
2292
3074
  "#C50669",
2293
3075
  "#4B25B3"
2294
3076
  ]
3077
+ },
3078
+ dark: {
3079
+ label: [
3080
+ "#4BABFF",
3081
+ "#94D6CB",
3082
+ "#F9B052",
3083
+ "#8454D4",
3084
+ "#D58C75",
3085
+ "#42C724",
3086
+ "#FF8B8B",
3087
+ "#904026",
3088
+ "#C50669",
3089
+ "#4B25B3"
3090
+ ]
2295
3091
  }
2296
3092
  },
2297
3093
  padding: {
@@ -2351,8 +3147,8 @@ const P = {
2351
3147
  }
2352
3148
  }, et = {
2353
3149
  name: "PRESET_MULTI_GRID_SEPARATE_GRID",
2354
- description: "2 groups of Grid chart",
2355
- descriptionZh: "2組Grid圖表",
3150
+ description: "Separate Grid",
3151
+ descriptionZh: "分開顯示Grid圖表",
2356
3152
  chartParams: {
2357
3153
  colors: {
2358
3154
  light: {
@@ -2368,6 +3164,20 @@ const P = {
2368
3164
  "#C50669",
2369
3165
  "#4B25B3"
2370
3166
  ]
3167
+ },
3168
+ dark: {
3169
+ label: [
3170
+ "#4BABFF",
3171
+ "#94D6CB",
3172
+ "#F9B052",
3173
+ "#8454D4",
3174
+ "#D58C75",
3175
+ "#42C724",
3176
+ "#FF8B8B",
3177
+ "#904026",
3178
+ "#C50669",
3179
+ "#4B25B3"
3180
+ ]
2371
3181
  }
2372
3182
  },
2373
3183
  padding: {
@@ -2414,7 +3224,7 @@ const P = {
2414
3224
  padding: 14
2415
3225
  }
2416
3226
  }
2417
- }, it = {
3227
+ }, at = {
2418
3228
  name: "PRESET_MULTI_GRID_SIMPLE",
2419
3229
  description: "Simple MultiGrid",
2420
3230
  descriptionZh: "簡單MultiGrid",
@@ -2433,6 +3243,20 @@ const P = {
2433
3243
  "#C50669",
2434
3244
  "#4B25B3"
2435
3245
  ]
3246
+ },
3247
+ dark: {
3248
+ label: [
3249
+ "#4BABFF",
3250
+ "#94D6CB",
3251
+ "#F9B052",
3252
+ "#8454D4",
3253
+ "#D58C75",
3254
+ "#42C724",
3255
+ "#FF8B8B",
3256
+ "#904026",
3257
+ "#C50669",
3258
+ "#4B25B3"
3259
+ ]
2436
3260
  }
2437
3261
  },
2438
3262
  padding: {
@@ -2465,10 +3289,10 @@ const P = {
2465
3289
  ]
2466
3290
  }
2467
3291
  }
2468
- }, at = {
3292
+ }, it = {
2469
3293
  name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE",
2470
- description: "Simple 2 groups of Line Area chart",
2471
- descriptionZh: "簡單2組區域折線圖",
3294
+ description: "Simple separate grid line areas",
3295
+ descriptionZh: "簡單的分開顯示Grid的折線區域圖",
2472
3296
  chartParams: {
2473
3297
  colors: {
2474
3298
  light: {
@@ -2484,13 +3308,29 @@ const P = {
2484
3308
  "#C50669",
2485
3309
  "#4B25B3"
2486
3310
  ]
3311
+ },
3312
+ dark: {
3313
+ label: [
3314
+ "#4BABFF",
3315
+ "#94D6CB",
3316
+ "#F9B052",
3317
+ "#8454D4",
3318
+ "#D58C75",
3319
+ "#42C724",
3320
+ "#FF8B8B",
3321
+ "#904026",
3322
+ "#C50669",
3323
+ "#4B25B3"
3324
+ ]
2487
3325
  }
2488
3326
  },
2489
3327
  padding: {
2490
3328
  top: 40,
2491
- right: 60,
3329
+ right: 80,
3330
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
2492
3331
  bottom: 80,
2493
- left: 60
3332
+ left: 80
3333
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
2494
3334
  }
2495
3335
  },
2496
3336
  dataFormatter: {
@@ -2505,10 +3345,10 @@ const P = {
2505
3345
  }
2506
3346
  }
2507
3347
  ],
2508
- separateGrid: !0
2509
- // container: {
2510
- // gap: 40
2511
- // }
3348
+ separateGrid: !0,
3349
+ container: {
3350
+ gap: 160
3351
+ }
2512
3352
  },
2513
3353
  pluginParams: {
2514
3354
  MultiGroupAxis: {
@@ -2572,8 +3412,8 @@ const P = {
2572
3412
  }
2573
3413
  }, rt = {
2574
3414
  name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID",
2575
- description: "2 groups of Line Area chart",
2576
- descriptionZh: "2組區域折線圖",
3415
+ description: "Separate Grid line areas",
3416
+ descriptionZh: "分開顯示Grid的折線區域圖",
2577
3417
  chartParams: {
2578
3418
  colors: {
2579
3419
  light: {
@@ -2589,6 +3429,20 @@ const P = {
2589
3429
  "#C50669",
2590
3430
  "#4B25B3"
2591
3431
  ]
3432
+ },
3433
+ dark: {
3434
+ label: [
3435
+ "#4BABFF",
3436
+ "#94D6CB",
3437
+ "#F9B052",
3438
+ "#8454D4",
3439
+ "#D58C75",
3440
+ "#42C724",
3441
+ "#FF8B8B",
3442
+ "#904026",
3443
+ "#C50669",
3444
+ "#4B25B3"
3445
+ ]
2592
3446
  }
2593
3447
  },
2594
3448
  padding: {
@@ -2681,10 +3535,10 @@ const P = {
2681
3535
  ]
2682
3536
  }
2683
3537
  }
2684
- }, st = {
3538
+ }, Ft = {
2685
3539
  name: "PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE",
2686
- description: "Simple Multiple groups of Line chart",
2687
- descriptionZh: "簡單多組分開折線圖表",
3540
+ description: "Simple separate grid line",
3541
+ descriptionZh: "簡單的分開顯示Grid的折線圖",
2688
3542
  chartParams: {
2689
3543
  colors: {
2690
3544
  light: {
@@ -2700,6 +3554,20 @@ const P = {
2700
3554
  "#C50669",
2701
3555
  "#4B25B3"
2702
3556
  ]
3557
+ },
3558
+ dark: {
3559
+ label: [
3560
+ "#4BABFF",
3561
+ "#94D6CB",
3562
+ "#F9B052",
3563
+ "#8454D4",
3564
+ "#D58C75",
3565
+ "#42C724",
3566
+ "#FF8B8B",
3567
+ "#904026",
3568
+ "#C50669",
3569
+ "#4B25B3"
3570
+ ]
2703
3571
  }
2704
3572
  },
2705
3573
  padding: {
@@ -2783,10 +3651,10 @@ const P = {
2783
3651
  ]
2784
3652
  }
2785
3653
  }
2786
- }, ot = {
3654
+ }, lt = {
2787
3655
  name: "PRESET_MULTI_LINES_SEPARATE_GRID",
2788
- description: "Multiple groups of Line chart",
2789
- descriptionZh: "多組分開折線圖表",
3656
+ description: "Separate Grid line",
3657
+ descriptionZh: "分開顯示Grid的折線圖",
2790
3658
  chartParams: {
2791
3659
  colors: {
2792
3660
  light: {
@@ -2802,6 +3670,20 @@ const P = {
2802
3670
  "#C50669",
2803
3671
  "#4B25B3"
2804
3672
  ]
3673
+ },
3674
+ dark: {
3675
+ label: [
3676
+ "#4BABFF",
3677
+ "#94D6CB",
3678
+ "#F9B052",
3679
+ "#8454D4",
3680
+ "#D58C75",
3681
+ "#42C724",
3682
+ "#FF8B8B",
3683
+ "#904026",
3684
+ "#C50669",
3685
+ "#4B25B3"
3686
+ ]
2805
3687
  }
2806
3688
  },
2807
3689
  padding: {
@@ -2876,7 +3758,7 @@ const P = {
2876
3758
  ]
2877
3759
  }
2878
3760
  }
2879
- }, lt = {
3761
+ }, st = {
2880
3762
  name: "PRESET_MULTI_VALUE_BASIC",
2881
3763
  description: "Basic MultiValue",
2882
3764
  descriptionZh: "基本MultiValue參數",
@@ -2895,6 +3777,20 @@ const P = {
2895
3777
  "#904026",
2896
3778
  "#C4C4C4"
2897
3779
  ]
3780
+ },
3781
+ dark: {
3782
+ label: [
3783
+ "#7DD3C4",
3784
+ "#FFA0A0",
3785
+ "#6CBAFF",
3786
+ "#55D339",
3787
+ "#F9B052",
3788
+ "#FF6C6C",
3789
+ "#8E6BC9",
3790
+ "#0088FF",
3791
+ "#904026",
3792
+ "#C4C4C4"
3793
+ ]
2898
3794
  }
2899
3795
  },
2900
3796
  padding: {
@@ -2910,7 +3806,7 @@ const P = {
2910
3806
  padding: 14
2911
3807
  }
2912
3808
  }
2913
- }, nt = {
3809
+ }, Bt = {
2914
3810
  name: "PRESET_MULTI_VALUE_SEPARATE_CATEGORY",
2915
3811
  description: "MultiValue separate category",
2916
3812
  descriptionZh: "MultiValue 分開顯示category",
@@ -2929,6 +3825,20 @@ const P = {
2929
3825
  "#904026",
2930
3826
  "#C4C4C4"
2931
3827
  ]
3828
+ },
3829
+ dark: {
3830
+ label: [
3831
+ "#7DD3C4",
3832
+ "#FFA0A0",
3833
+ "#6CBAFF",
3834
+ "#55D339",
3835
+ "#F9B052",
3836
+ "#FF6C6C",
3837
+ "#8E6BC9",
3838
+ "#0088FF",
3839
+ "#904026",
3840
+ "#C4C4C4"
3841
+ ]
2932
3842
  }
2933
3843
  },
2934
3844
  padding: {
@@ -2955,7 +3865,7 @@ const P = {
2955
3865
  padding: 14
2956
3866
  }
2957
3867
  }
2958
- }, dt = {
3868
+ }, ot = {
2959
3869
  name: "PRESET_MULTI_VALUE_SIMPLE",
2960
3870
  description: "Simple MultiValue",
2961
3871
  descriptionZh: "簡單MultiValue參數",
@@ -2974,6 +3884,20 @@ const P = {
2974
3884
  "#904026",
2975
3885
  "#C4C4C4"
2976
3886
  ]
3887
+ },
3888
+ dark: {
3889
+ label: [
3890
+ "#7DD3C4",
3891
+ "#FFA0A0",
3892
+ "#6CBAFF",
3893
+ "#55D339",
3894
+ "#F9B052",
3895
+ "#FF6C6C",
3896
+ "#8E6BC9",
3897
+ "#0088FF",
3898
+ "#904026",
3899
+ "#C4C4C4"
3900
+ ]
2977
3901
  }
2978
3902
  },
2979
3903
  padding: {
@@ -2989,9 +3913,9 @@ const P = {
2989
3913
  padding: 7
2990
3914
  }
2991
3915
  }
2992
- }, Et = {
3916
+ }, dt = {
2993
3917
  name: "PRESET_RACING_BARS_ALL_ITEMS",
2994
- description: "Racing Bars for all items",
3918
+ description: "Racing bars for all items",
2995
3919
  descriptionZh: "顯示全部項目的賽跑長條圖",
2996
3920
  chartParams: {
2997
3921
  colors: {
@@ -3008,6 +3932,20 @@ const P = {
3008
3932
  "#4B25B3",
3009
3933
  "#C50669"
3010
3934
  ]
3935
+ },
3936
+ dark: {
3937
+ label: [
3938
+ "#4BABFF",
3939
+ "#FFA0A0",
3940
+ "#7DD3C4",
3941
+ "#F9B052",
3942
+ "#8454D4",
3943
+ "#42C724",
3944
+ "#FF4B4B",
3945
+ "#904026",
3946
+ "#4B25B3",
3947
+ "#C50669"
3948
+ ]
3011
3949
  }
3012
3950
  },
3013
3951
  padding: {
@@ -3028,9 +3966,9 @@ const P = {
3028
3966
  padding: 14
3029
3967
  }
3030
3968
  }
3031
- }, Ft = {
3969
+ }, nt = {
3032
3970
  name: "PRESET_RACING_BARS_BASIC",
3033
- description: "Basic Racing Bars",
3971
+ description: "Basic racing bars",
3034
3972
  descriptionZh: "基本賽跑長條圖",
3035
3973
  chartParams: {
3036
3974
  colors: {
@@ -3047,6 +3985,20 @@ const P = {
3047
3985
  "#4B25B3",
3048
3986
  "#C50669"
3049
3987
  ]
3988
+ },
3989
+ dark: {
3990
+ label: [
3991
+ "#4BABFF",
3992
+ "#FFA0A0",
3993
+ "#7DD3C4",
3994
+ "#F9B052",
3995
+ "#8454D4",
3996
+ "#42C724",
3997
+ "#FF4B4B",
3998
+ "#904026",
3999
+ "#4B25B3",
4000
+ "#C50669"
4001
+ ]
3050
4002
  }
3051
4003
  },
3052
4004
  padding: {
@@ -3066,9 +4018,9 @@ const P = {
3066
4018
  padding: 14
3067
4019
  }
3068
4020
  }
3069
- }, ct = {
4021
+ }, Ct = {
3070
4022
  name: "PRESET_RACING_BARS_FAST",
3071
- description: "Fast Racing Bars",
4023
+ description: "Fast racing bars",
3072
4024
  descriptionZh: "快速的賽跑長條圖",
3073
4025
  chartParams: {
3074
4026
  colors: {
@@ -3085,6 +4037,20 @@ const P = {
3085
4037
  "#4B25B3",
3086
4038
  "#C50669"
3087
4039
  ]
4040
+ },
4041
+ dark: {
4042
+ label: [
4043
+ "#4BABFF",
4044
+ "#FFA0A0",
4045
+ "#7DD3C4",
4046
+ "#F9B052",
4047
+ "#8454D4",
4048
+ "#42C724",
4049
+ "#FF4B4B",
4050
+ "#904026",
4051
+ "#4B25B3",
4052
+ "#C50669"
4053
+ ]
3088
4054
  }
3089
4055
  },
3090
4056
  padding: {
@@ -3104,9 +4070,9 @@ const P = {
3104
4070
  padding: 14
3105
4071
  }
3106
4072
  }
3107
- }, gt = {
4073
+ }, At = {
3108
4074
  name: "PRESET_RACING_BARS_FASTER",
3109
- description: "Faster Racing Bars",
4075
+ description: "Faster racing bars",
3110
4076
  descriptionZh: "更快速的賽跑長條圖",
3111
4077
  chartParams: {
3112
4078
  colors: {
@@ -3123,6 +4089,20 @@ const P = {
3123
4089
  "#4B25B3",
3124
4090
  "#C50669"
3125
4091
  ]
4092
+ },
4093
+ dark: {
4094
+ label: [
4095
+ "#4BABFF",
4096
+ "#FFA0A0",
4097
+ "#7DD3C4",
4098
+ "#F9B052",
4099
+ "#8454D4",
4100
+ "#42C724",
4101
+ "#FF4B4B",
4102
+ "#904026",
4103
+ "#4B25B3",
4104
+ "#C50669"
4105
+ ]
3126
4106
  }
3127
4107
  },
3128
4108
  padding: {
@@ -3142,9 +4122,62 @@ const P = {
3142
4122
  padding: 14
3143
4123
  }
3144
4124
  }
3145
- }, Bt = {
4125
+ }, Et = {
4126
+ name: "PRESET_RACING_BARS_LOOP",
4127
+ description: "Looping racing bars",
4128
+ descriptionZh: "循環的賽跑長條圖",
4129
+ chartParams: {
4130
+ colors: {
4131
+ light: {
4132
+ label: [
4133
+ "#4BABFF",
4134
+ "#FFA0A0",
4135
+ "#7DD3C4",
4136
+ "#F9B052",
4137
+ "#8454D4",
4138
+ "#42C724",
4139
+ "#FF4B4B",
4140
+ "#904026",
4141
+ "#4B25B3",
4142
+ "#C50669"
4143
+ ]
4144
+ },
4145
+ dark: {
4146
+ label: [
4147
+ "#4BABFF",
4148
+ "#FFA0A0",
4149
+ "#7DD3C4",
4150
+ "#F9B052",
4151
+ "#8454D4",
4152
+ "#42C724",
4153
+ "#FF4B4B",
4154
+ "#904026",
4155
+ "#4B25B3",
4156
+ "#C50669"
4157
+ ]
4158
+ }
4159
+ },
4160
+ padding: {
4161
+ top: 60,
4162
+ right: 60,
4163
+ bottom: 100,
4164
+ left: 60
4165
+ },
4166
+ transitionDuration: 500
4167
+ },
4168
+ pluginParams: {
4169
+ RacingBars: {
4170
+ autorun: !0,
4171
+ loop: !0
4172
+ },
4173
+ MultiValueLegend: {
4174
+ placement: "bottom",
4175
+ padding: 14
4176
+ }
4177
+ }
4178
+ }, ct = {
3146
4179
  name: "PRESET_RACING_BARS_OUTSIDE_LABELS",
3147
- description: "Racing Bars with labels outside",
4180
+ description: "Racing bars with labels outside",
3148
4181
  descriptionZh: "標籤在外面的賽跑長條圖",
3149
4182
  chartParams: {
3150
4183
  colors: {
@@ -3161,6 +4194,20 @@ const P = {
3161
4194
  "#4B25B3",
3162
4195
  "#C50669"
3163
4196
  ]
4197
+ },
4198
+ dark: {
4199
+ label: [
4200
+ "#4BABFF",
4201
+ "#FFA0A0",
4202
+ "#7DD3C4",
4203
+ "#F9B052",
4204
+ "#8454D4",
4205
+ "#42C724",
4206
+ "#FF4B4B",
4207
+ "#904026",
4208
+ "#4B25B3",
4209
+ "#C50669"
4210
+ ]
3164
4211
  }
3165
4212
  },
3166
4213
  padding: {
@@ -3184,9 +4231,9 @@ const P = {
3184
4231
  padding: 14
3185
4232
  }
3186
4233
  }
3187
- }, pt = {
4234
+ }, gt = {
3188
4235
  name: "PRESET_RACING_BARS_SEPARATE_CATEGORY",
3189
- description: "Racing Bars with separate category",
4236
+ description: "Racing bars with separate category",
3190
4237
  descriptionZh: "分開顯示category的賽跑長條圖",
3191
4238
  chartParams: {
3192
4239
  colors: {
@@ -3203,6 +4250,20 @@ const P = {
3203
4250
  "#4B25B3",
3204
4251
  "#C50669"
3205
4252
  ]
4253
+ },
4254
+ dark: {
4255
+ label: [
4256
+ "#4BABFF",
4257
+ "#FFA0A0",
4258
+ "#7DD3C4",
4259
+ "#F9B052",
4260
+ "#8454D4",
4261
+ "#42C724",
4262
+ "#FF4B4B",
4263
+ "#904026",
4264
+ "#4B25B3",
4265
+ "#C50669"
4266
+ ]
3206
4267
  }
3207
4268
  },
3208
4269
  padding: {
@@ -3239,9 +4300,9 @@ const P = {
3239
4300
  padding: 14
3240
4301
  }
3241
4302
  }
3242
- }, At = {
4303
+ }, Dt = {
3243
4304
  name: "PRESET_RACING_BARS_SIMPLE",
3244
- description: "Simple Racing Bars",
4305
+ description: "Simple racing bars",
3245
4306
  descriptionZh: "簡單賽跑長條圖",
3246
4307
  chartParams: {
3247
4308
  colors: {
@@ -3258,6 +4319,20 @@ const P = {
3258
4319
  "#4B25B3",
3259
4320
  "#C50669"
3260
4321
  ]
4322
+ },
4323
+ dark: {
4324
+ label: [
4325
+ "#4BABFF",
4326
+ "#FFA0A0",
4327
+ "#7DD3C4",
4328
+ "#F9B052",
4329
+ "#8454D4",
4330
+ "#42C724",
4331
+ "#FF4B4B",
4332
+ "#904026",
4333
+ "#4B25B3",
4334
+ "#C50669"
4335
+ ]
3261
4336
  }
3262
4337
  },
3263
4338
  padding: {
@@ -3277,9 +4352,9 @@ const P = {
3277
4352
  padding: 7
3278
4353
  }
3279
4354
  }
3280
- }, St = {
4355
+ }, pt = {
3281
4356
  name: "PRESET_RACING_BARS_STOP",
3282
- description: "Stopped Racing Bars",
4357
+ description: "Stopped racing bars",
3283
4358
  descriptionZh: "停止的賽跑長條圖",
3284
4359
  chartParams: {
3285
4360
  colors: {
@@ -3296,6 +4371,20 @@ const P = {
3296
4371
  "#4B25B3",
3297
4372
  "#C50669"
3298
4373
  ]
4374
+ },
4375
+ dark: {
4376
+ label: [
4377
+ "#4BABFF",
4378
+ "#FFA0A0",
4379
+ "#7DD3C4",
4380
+ "#F9B052",
4381
+ "#8454D4",
4382
+ "#42C724",
4383
+ "#FF4B4B",
4384
+ "#904026",
4385
+ "#4B25B3",
4386
+ "#C50669"
4387
+ ]
3299
4388
  }
3300
4389
  },
3301
4390
  padding: {
@@ -3314,9 +4403,9 @@ const P = {
3314
4403
  padding: 14
3315
4404
  }
3316
4405
  }
3317
- }, Rt = {
4406
+ }, St = {
3318
4407
  name: "PRESET_SCATTER_BASIC",
3319
- description: "Basic Scatter",
4408
+ description: "Basic scatter",
3320
4409
  descriptionZh: "基本散布圖",
3321
4410
  chartParams: {
3322
4411
  colors: {
@@ -3333,6 +4422,20 @@ const P = {
3333
4422
  "#C50669",
3334
4423
  "#4B25B3"
3335
4424
  ]
4425
+ },
4426
+ dark: {
4427
+ label: [
4428
+ "#16B59B",
4429
+ "#0088FF",
4430
+ "#FF3232",
4431
+ "#8E6BC9",
4432
+ "#904026",
4433
+ "#D117EA",
4434
+ "#F38428",
4435
+ "#6BDC51",
4436
+ "#C50669",
4437
+ "#4B25B3"
4438
+ ]
3336
4439
  }
3337
4440
  },
3338
4441
  padding: {
@@ -3350,9 +4453,9 @@ const P = {
3350
4453
  // 圓型圖例列點
3351
4454
  }
3352
4455
  }
3353
- }, ut = {
4456
+ }, Rt = {
3354
4457
  name: "PRESET_SCATTER_BUBBLES_BASIC",
3355
- description: "Basic Scatter Bubbles",
4458
+ description: "Basic scatter bubbles",
3356
4459
  descriptionZh: "基本的散布泡泡圖",
3357
4460
  chartParams: {
3358
4461
  colors: {
@@ -3369,6 +4472,20 @@ const P = {
3369
4472
  "#EF76FF",
3370
4473
  "#C4C4C4"
3371
4474
  ]
4475
+ },
4476
+ dark: {
4477
+ label: [
4478
+ "#6CBAFF",
4479
+ "#FF6C6C",
4480
+ "#F9B052",
4481
+ "#7DD3C4",
4482
+ "#AA93D2",
4483
+ "#0088FF",
4484
+ "#FFBABA",
4485
+ "#86DC72",
4486
+ "#EF76FF",
4487
+ "#C4C4C4"
4488
+ ]
3372
4489
  }
3373
4490
  },
3374
4491
  padding: {
@@ -3386,9 +4503,9 @@ const P = {
3386
4503
  // 圓型圖例列點
3387
4504
  }
3388
4505
  }
3389
- }, _t = {
4506
+ }, ut = {
3390
4507
  name: "PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS",
3391
- description: "Scatter Bubbles with Radius Scaling",
4508
+ description: "Scatter bubbles with radius scaling",
3392
4509
  descriptionZh: "以半徑尺寸為比例的散布泡泡圖",
3393
4510
  chartParams: {
3394
4511
  colors: {
@@ -3405,6 +4522,20 @@ const P = {
3405
4522
  "#EF76FF",
3406
4523
  "#C4C4C4"
3407
4524
  ]
4525
+ },
4526
+ dark: {
4527
+ label: [
4528
+ "#6CBAFF",
4529
+ "#FF6C6C",
4530
+ "#F9B052",
4531
+ "#7DD3C4",
4532
+ "#AA93D2",
4533
+ "#0088FF",
4534
+ "#FFBABA",
4535
+ "#86DC72",
4536
+ "#EF76FF",
4537
+ "#C4C4C4"
4538
+ ]
3408
4539
  }
3409
4540
  },
3410
4541
  padding: {
@@ -3425,9 +4556,9 @@ const P = {
3425
4556
  arcScaleType: "radius"
3426
4557
  }
3427
4558
  }
3428
- }, Ct = {
4559
+ }, _t = {
3429
4560
  name: "PRESET_SCATTER_BUBBLES_LINEAR_OPACITY",
3430
- description: "Scatter Bubbles with Linear Opacity",
4561
+ description: "Scatter bubbles with linear opacity",
3431
4562
  descriptionZh: "漸變透明度的散布泡泡圖",
3432
4563
  chartParams: {
3433
4564
  colors: {
@@ -3444,6 +4575,20 @@ const P = {
3444
4575
  "#EF76FF",
3445
4576
  "#C4C4C4"
3446
4577
  ]
4578
+ },
4579
+ dark: {
4580
+ label: [
4581
+ "#6CBAFF",
4582
+ "#FF6C6C",
4583
+ "#F9B052",
4584
+ "#7DD3C4",
4585
+ "#AA93D2",
4586
+ "#0088FF",
4587
+ "#FFBABA",
4588
+ "#86DC72",
4589
+ "#EF76FF",
4590
+ "#C4C4C4"
4591
+ ]
3447
4592
  }
3448
4593
  },
3449
4594
  padding: {
@@ -3466,7 +4611,7 @@ const P = {
3466
4611
  }
3467
4612
  }, mt = {
3468
4613
  name: "PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY",
3469
- description: "Scatter Bubbles with Separate Category",
4614
+ description: "Scatter bubbles with separate category",
3470
4615
  descriptionZh: "分開顯示category的散布泡泡圖",
3471
4616
  chartParams: {
3472
4617
  colors: {
@@ -3483,6 +4628,20 @@ const P = {
3483
4628
  "#EF76FF",
3484
4629
  "#C4C4C4"
3485
4630
  ]
4631
+ },
4632
+ dark: {
4633
+ label: [
4634
+ "#6CBAFF",
4635
+ "#FF6C6C",
4636
+ "#F9B052",
4637
+ "#7DD3C4",
4638
+ "#AA93D2",
4639
+ "#0088FF",
4640
+ "#FFBABA",
4641
+ "#86DC72",
4642
+ "#EF76FF",
4643
+ "#C4C4C4"
4644
+ ]
3486
4645
  }
3487
4646
  },
3488
4647
  padding: {
@@ -3505,7 +4664,7 @@ const P = {
3505
4664
  }
3506
4665
  }, ht = {
3507
4666
  name: "PRESET_SCATTER_BUBBLES_SIMPLE",
3508
- description: "Simple Scatter Bubbles",
4667
+ description: "Simple scatter bubbles",
3509
4668
  descriptionZh: "簡單的散布泡泡圖",
3510
4669
  chartParams: {
3511
4670
  colors: {
@@ -3522,6 +4681,20 @@ const P = {
3522
4681
  "#EF76FF",
3523
4682
  "#C4C4C4"
3524
4683
  ]
4684
+ },
4685
+ dark: {
4686
+ label: [
4687
+ "#6CBAFF",
4688
+ "#FF6C6C",
4689
+ "#F9B052",
4690
+ "#7DD3C4",
4691
+ "#AA93D2",
4692
+ "#0088FF",
4693
+ "#FFBABA",
4694
+ "#86DC72",
4695
+ "#EF76FF",
4696
+ "#C4C4C4"
4697
+ ]
3525
4698
  }
3526
4699
  },
3527
4700
  padding: {
@@ -3541,7 +4714,7 @@ const P = {
3541
4714
  }
3542
4715
  }, Pt = {
3543
4716
  name: "PRESET_SCATTER_SEPARATE_CATEGORY",
3544
- description: "Scatter with Separate Category",
4717
+ description: "Scatter with separate category",
3545
4718
  descriptionZh: "分開顯示category的散布圖",
3546
4719
  chartParams: {
3547
4720
  colors: {
@@ -3558,6 +4731,20 @@ const P = {
3558
4731
  "#C50669",
3559
4732
  "#4B25B3"
3560
4733
  ]
4734
+ },
4735
+ dark: {
4736
+ label: [
4737
+ "#16B59B",
4738
+ "#0088FF",
4739
+ "#FF3232",
4740
+ "#8E6BC9",
4741
+ "#904026",
4742
+ "#D117EA",
4743
+ "#F38428",
4744
+ "#6BDC51",
4745
+ "#C50669",
4746
+ "#4B25B3"
4747
+ ]
3561
4748
  }
3562
4749
  },
3563
4750
  padding: {
@@ -3586,9 +4773,9 @@ const P = {
3586
4773
  // 圓型圖例列點
3587
4774
  }
3588
4775
  }
3589
- }, Dt = {
4776
+ }, bt = {
3590
4777
  name: "PRESET_SCATTER_SIMPLE",
3591
- description: "Simple Scatter",
4778
+ description: "Simple scatter",
3592
4779
  descriptionZh: "簡單散布圖",
3593
4780
  chartParams: {
3594
4781
  colors: {
@@ -3605,6 +4792,20 @@ const P = {
3605
4792
  "#C50669",
3606
4793
  "#4B25B3"
3607
4794
  ]
4795
+ },
4796
+ dark: {
4797
+ label: [
4798
+ "#16B59B",
4799
+ "#0088FF",
4800
+ "#FF3232",
4801
+ "#8E6BC9",
4802
+ "#904026",
4803
+ "#D117EA",
4804
+ "#F38428",
4805
+ "#6BDC51",
4806
+ "#C50669",
4807
+ "#4B25B3"
4808
+ ]
3608
4809
  }
3609
4810
  },
3610
4811
  padding: {
@@ -3624,7 +4825,7 @@ const P = {
3624
4825
  }
3625
4826
  }, Tt = {
3626
4827
  name: "PRESET_FORCE_DIRECTED_BASIC",
3627
- description: "Basic Force Directed Chart",
4828
+ description: "Basic force directed chart",
3628
4829
  descriptionZh: "基本力導向圖",
3629
4830
  chartParams: {
3630
4831
  colors: {
@@ -3641,6 +4842,20 @@ const P = {
3641
4842
  "#4B25B3",
3642
4843
  "#C50669"
3643
4844
  ]
4845
+ },
4846
+ dark: {
4847
+ label: [
4848
+ "#4BABFF",
4849
+ "#FFA0A0",
4850
+ "#7DD3C4",
4851
+ "#F9B052",
4852
+ "#8454D4",
4853
+ "#42C724",
4854
+ "#FF4B4B",
4855
+ "#904026",
4856
+ "#4B25B3",
4857
+ "#C50669"
4858
+ ]
3644
4859
  }
3645
4860
  }
3646
4861
  },
@@ -3653,7 +4868,7 @@ const P = {
3653
4868
  }
3654
4869
  }, It = {
3655
4870
  name: "PRESET_FORCE_DIRECTED_BUBBLES_BASIC",
3656
- description: "Basic Force Directed Bubbles Chart",
4871
+ description: "Basic force directed bubbles chart",
3657
4872
  descriptionZh: "基本力導向泡泡圖",
3658
4873
  chartParams: {
3659
4874
  colors: {
@@ -3670,6 +4885,20 @@ const P = {
3670
4885
  "#EF76FF",
3671
4886
  "#C4C4C4"
3672
4887
  ]
4888
+ },
4889
+ dark: {
4890
+ label: [
4891
+ "#6CBAFF",
4892
+ "#FF6C6C",
4893
+ "#F9B052",
4894
+ "#7DD3C4",
4895
+ "#AA93D2",
4896
+ "#0088FF",
4897
+ "#FFBABA",
4898
+ "#86DC72",
4899
+ "#EF76FF",
4900
+ "#C4C4C4"
4901
+ ]
3673
4902
  }
3674
4903
  }
3675
4904
  },
@@ -3699,6 +4928,20 @@ const P = {
3699
4928
  "#EF76FF",
3700
4929
  "#C4C4C4"
3701
4930
  ]
4931
+ },
4932
+ dark: {
4933
+ label: [
4934
+ "#6CBAFF",
4935
+ "#FF6C6C",
4936
+ "#F9B052",
4937
+ "#7DD3C4",
4938
+ "#AA93D2",
4939
+ "#0088FF",
4940
+ "#FFBABA",
4941
+ "#86DC72",
4942
+ "#EF76FF",
4943
+ "#C4C4C4"
4944
+ ]
3702
4945
  }
3703
4946
  }
3704
4947
  },
@@ -3714,7 +4957,7 @@ const P = {
3714
4957
  // 圓型圖例列點
3715
4958
  }
3716
4959
  }
3717
- }, bt = {
4960
+ }, Mt = {
3718
4961
  name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW",
3719
4962
  description: "Force-directed bubble chart without arrows",
3720
4963
  descriptionZh: "沒有箭頭的力導向泡泡圖",
@@ -3733,6 +4976,20 @@ const P = {
3733
4976
  "#EF76FF",
3734
4977
  "#C4C4C4"
3735
4978
  ]
4979
+ },
4980
+ dark: {
4981
+ label: [
4982
+ "#6CBAFF",
4983
+ "#FF6C6C",
4984
+ "#F9B052",
4985
+ "#7DD3C4",
4986
+ "#AA93D2",
4987
+ "#0088FF",
4988
+ "#FFBABA",
4989
+ "#86DC72",
4990
+ "#EF76FF",
4991
+ "#C4C4C4"
4992
+ ]
3736
4993
  }
3737
4994
  }
3738
4995
  },
@@ -3748,9 +5005,9 @@ const P = {
3748
5005
  // 圓型圖例列點
3749
5006
  }
3750
5007
  }
3751
- }, Mt = {
5008
+ }, xt = {
3752
5009
  name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM",
3753
- description: "Force Directed Bubbles Chart without mouse drag and zoom control",
5010
+ description: "Force Directed bubbles chart without mouse drag and zoom control",
3754
5011
  descriptionZh: "無滑鼠托曳及縮放控制的力導向泡泡圖",
3755
5012
  chartParams: {
3756
5013
  colors: {
@@ -3767,6 +5024,20 @@ const P = {
3767
5024
  "#EF76FF",
3768
5025
  "#C4C4C4"
3769
5026
  ]
5027
+ },
5028
+ dark: {
5029
+ label: [
5030
+ "#6CBAFF",
5031
+ "#FF6C6C",
5032
+ "#F9B052",
5033
+ "#7DD3C4",
5034
+ "#AA93D2",
5035
+ "#0088FF",
5036
+ "#FFBABA",
5037
+ "#86DC72",
5038
+ "#EF76FF",
5039
+ "#C4C4C4"
5040
+ ]
3770
5041
  }
3771
5042
  }
3772
5043
  },
@@ -3779,9 +5050,9 @@ const P = {
3779
5050
  // 圓型圖例列點
3780
5051
  }
3781
5052
  }
3782
- }, xt = {
5053
+ }, Gt = {
3783
5054
  name: "PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE",
3784
- description: "Simple Force Directed Bubbles Chart",
5055
+ description: "Simple force directed bubbles chart",
3785
5056
  descriptionZh: "簡單力導向泡泡圖",
3786
5057
  chartParams: {
3787
5058
  colors: {
@@ -3798,6 +5069,20 @@ const P = {
3798
5069
  "#EF76FF",
3799
5070
  "#C4C4C4"
3800
5071
  ]
5072
+ },
5073
+ dark: {
5074
+ label: [
5075
+ "#6CBAFF",
5076
+ "#FF6C6C",
5077
+ "#F9B052",
5078
+ "#7DD3C4",
5079
+ "#AA93D2",
5080
+ "#0088FF",
5081
+ "#FFBABA",
5082
+ "#86DC72",
5083
+ "#EF76FF",
5084
+ "#C4C4C4"
5085
+ ]
3801
5086
  }
3802
5087
  }
3803
5088
  },
@@ -3809,9 +5094,9 @@ const P = {
3809
5094
  padding: 7
3810
5095
  }
3811
5096
  }
3812
- }, Gt = {
5097
+ }, kt = {
3813
5098
  name: "PRESET_FORCE_DIRECTED_NONE_ZOOM",
3814
- description: "Force Directed Chart without mouse drag and zoom control",
5099
+ description: "Force directed chart without mouse drag and zoom control",
3815
5100
  descriptionZh: "無滑鼠托曳及縮放控制的力導向圖",
3816
5101
  chartParams: {
3817
5102
  colors: {
@@ -3828,6 +5113,20 @@ const P = {
3828
5113
  "#4B25B3",
3829
5114
  "#C50669"
3830
5115
  ]
5116
+ },
5117
+ dark: {
5118
+ label: [
5119
+ "#4BABFF",
5120
+ "#FFA0A0",
5121
+ "#7DD3C4",
5122
+ "#F9B052",
5123
+ "#8454D4",
5124
+ "#42C724",
5125
+ "#FF4B4B",
5126
+ "#904026",
5127
+ "#4B25B3",
5128
+ "#C50669"
5129
+ ]
3831
5130
  }
3832
5131
  }
3833
5132
  },
@@ -3842,7 +5141,7 @@ const P = {
3842
5141
  }
3843
5142
  }, Ot = {
3844
5143
  name: "PRESET_FORCE_DIRECTED_FIX_FONT_SIZE",
3845
- description: "Force Directed Chart with fixed font size",
5144
+ description: "Force directed chart with fixed font size",
3846
5145
  descriptionZh: "固定字體大小的力導向圖",
3847
5146
  chartParams: {
3848
5147
  colors: {
@@ -3859,6 +5158,20 @@ const P = {
3859
5158
  "#4B25B3",
3860
5159
  "#C50669"
3861
5160
  ]
5161
+ },
5162
+ dark: {
5163
+ label: [
5164
+ "#4BABFF",
5165
+ "#FFA0A0",
5166
+ "#7DD3C4",
5167
+ "#F9B052",
5168
+ "#8454D4",
5169
+ "#42C724",
5170
+ "#FF4B4B",
5171
+ "#904026",
5172
+ "#4B25B3",
5173
+ "#C50669"
5174
+ ]
3862
5175
  }
3863
5176
  }
3864
5177
  },
@@ -3878,7 +5191,7 @@ const P = {
3878
5191
  }
3879
5192
  }, Nt = {
3880
5193
  name: "PRESET_FORCE_DIRECTED_NONE_ARROW",
3881
- description: "Force Directed Chart without Arrows",
5194
+ description: "Force directed chart without arrows",
3882
5195
  descriptionZh: "沒有箭頭的力導向圖",
3883
5196
  chartParams: {
3884
5197
  colors: {
@@ -3895,6 +5208,20 @@ const P = {
3895
5208
  "#4B25B3",
3896
5209
  "#C50669"
3897
5210
  ]
5211
+ },
5212
+ dark: {
5213
+ label: [
5214
+ "#4BABFF",
5215
+ "#FFA0A0",
5216
+ "#7DD3C4",
5217
+ "#F9B052",
5218
+ "#8454D4",
5219
+ "#42C724",
5220
+ "#FF4B4B",
5221
+ "#904026",
5222
+ "#4B25B3",
5223
+ "#C50669"
5224
+ ]
3898
5225
  }
3899
5226
  }
3900
5227
  },
@@ -3912,7 +5239,7 @@ const P = {
3912
5239
  }
3913
5240
  }, vt = {
3914
5241
  name: "PRESET_FORCE_DIRECTED_SIMPLE",
3915
- description: "Simple Force Directed Chart",
5242
+ description: "Simple force directed chart",
3916
5243
  descriptionZh: "簡單力導向圖",
3917
5244
  chartParams: {
3918
5245
  colors: {
@@ -3929,6 +5256,20 @@ const P = {
3929
5256
  "#4B25B3",
3930
5257
  "#C50669"
3931
5258
  ]
5259
+ },
5260
+ dark: {
5261
+ label: [
5262
+ "#4BABFF",
5263
+ "#FFA0A0",
5264
+ "#7DD3C4",
5265
+ "#F9B052",
5266
+ "#8454D4",
5267
+ "#42C724",
5268
+ "#FF4B4B",
5269
+ "#904026",
5270
+ "#4B25B3",
5271
+ "#C50669"
5272
+ ]
3932
5273
  }
3933
5274
  }
3934
5275
  },
@@ -3942,7 +5283,7 @@ const P = {
3942
5283
  }
3943
5284
  }, Zt = {
3944
5285
  name: "PRESET_TREE_MAP_BASIC",
3945
- description: "Basic Tree Map",
5286
+ description: "Basic tree map",
3946
5287
  descriptionZh: "基本樹狀矩形圖",
3947
5288
  chartParams: {
3948
5289
  colors: {
@@ -3959,6 +5300,20 @@ const P = {
3959
5300
  "#C50669",
3960
5301
  "#4B25B3"
3961
5302
  ]
5303
+ },
5304
+ dark: {
5305
+ label: [
5306
+ "#4BABFF",
5307
+ "#94D6CB",
5308
+ "#F9B052",
5309
+ "#8454D4",
5310
+ "#D58C75",
5311
+ "#42C724",
5312
+ "#FF8B8B",
5313
+ "#904026",
5314
+ "#C50669",
5315
+ "#4B25B3"
5316
+ ]
3962
5317
  }
3963
5318
  },
3964
5319
  padding: {
@@ -3980,7 +5335,7 @@ const P = {
3980
5335
  }
3981
5336
  }, Ut = {
3982
5337
  name: "PRESET_TREE_MAP_SIMPLE",
3983
- description: "Simple Tree Map",
5338
+ description: "Simple tree map",
3984
5339
  descriptionZh: "簡單樹狀矩形圖",
3985
5340
  chartParams: {
3986
5341
  colors: {
@@ -3997,53 +5352,64 @@ const P = {
3997
5352
  "#C50669",
3998
5353
  "#4B25B3"
3999
5354
  ]
5355
+ },
5356
+ dark: {
5357
+ label: [
5358
+ "#4BABFF",
5359
+ "#94D6CB",
5360
+ "#F9B052",
5361
+ "#8454D4",
5362
+ "#D58C75",
5363
+ "#42C724",
5364
+ "#FF8B8B",
5365
+ "#904026",
5366
+ "#C50669",
5367
+ "#4B25B3"
5368
+ ]
4000
5369
  }
4001
5370
  },
4002
5371
  padding: {
4003
5372
  top: 40,
4004
5373
  right: 40,
4005
- bottom: 60,
5374
+ bottom: 40,
4006
5375
  left: 40
4007
5376
  }
4008
5377
  },
4009
5378
  pluginParams: {
4010
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
4011
5379
  TreeMap: {},
4012
5380
  TreeLegend: {
4013
- // position: 'bottom',
4014
- // justify: 'center',
4015
5381
  placement: "bottom",
4016
5382
  padding: 7
4017
5383
  }
4018
5384
  }
4019
5385
  };
4020
5386
  export {
4021
- P as PRESET_BARS_HORIZONTAL_AND_ROUND,
4022
- D as PRESET_BARS_HORIZONTAL_AND_THIN,
4023
- T as PRESET_BARS_ROUND,
4024
- I as PRESET_BARS_THIN,
4025
- u as PRESET_BUBBLES_BASIC,
4026
- _ as PRESET_BUBBLES_SCALING_BY_RADIUS,
4027
- C as PRESET_BUBBLES_SEPARATE_SERIES,
4028
- m as PRESET_BUBBLES_SIMPLE,
4029
- i as PRESET_BUBBLES_SUM_SERIES,
5387
+ h as PRESET_BARS_HORIZONTAL_AND_ROUND,
5388
+ P as PRESET_BARS_HORIZONTAL_AND_THIN,
5389
+ b as PRESET_BARS_ROUND,
5390
+ T as PRESET_BARS_THIN,
5391
+ S as PRESET_BUBBLES_BASIC,
5392
+ R as PRESET_BUBBLES_SCALING_BY_RADIUS,
5393
+ u as PRESET_BUBBLES_SEPARATE_SERIES,
5394
+ _ as PRESET_BUBBLES_SIMPLE,
5395
+ a as PRESET_BUBBLES_SUM_SERIES,
4030
5396
  Tt as PRESET_FORCE_DIRECTED_BASIC,
4031
5397
  It as PRESET_FORCE_DIRECTED_BUBBLES_BASIC,
4032
5398
  Lt as PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH,
4033
- bt as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW,
4034
- Mt as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM,
4035
- xt as PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE,
5399
+ Mt as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW,
5400
+ xt as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM,
5401
+ Gt as PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE,
4036
5402
  Ot as PRESET_FORCE_DIRECTED_FIX_FONT_SIZE,
4037
5403
  Nt as PRESET_FORCE_DIRECTED_NONE_ARROW,
4038
- Gt as PRESET_FORCE_DIRECTED_NONE_ZOOM,
5404
+ kt as PRESET_FORCE_DIRECTED_NONE_ZOOM,
4039
5405
  vt as PRESET_FORCE_DIRECTED_SIMPLE,
4040
- L as PRESET_GRID_BASIC,
4041
- b as PRESET_GRID_HORIZONTAL,
5406
+ I as PRESET_GRID_BASIC,
5407
+ L as PRESET_GRID_HORIZONTAL,
4042
5408
  x as PRESET_GRID_PN_SCALE,
4043
5409
  M as PRESET_GRID_PN_SCALE_SIMPLE,
4044
5410
  G as PRESET_GRID_ROTATE_AXIS_LABEL,
4045
- O as PRESET_GRID_SEPARATE_SERIES,
4046
- N as PRESET_GRID_SIMPLE,
5411
+ k as PRESET_GRID_SEPARATE_SERIES,
5412
+ O as PRESET_GRID_SIMPLE,
4047
5413
  y as PRESET_LINES_BASIC,
4048
5414
  w as PRESET_LINES_CURVE,
4049
5415
  W as PRESET_LINES_HORIZONTAL,
@@ -4051,13 +5417,13 @@ export {
4051
5417
  X as PRESET_LINES_ROTATE_AXIS_LABEL,
4052
5418
  z as PRESET_LINES_SIMPLE,
4053
5419
  K as PRESET_LINES_WITH_SOLID_DOTS,
4054
- v as PRESET_LINE_AREAS_BASIC,
4055
- Z as PRESET_LINE_AREAS_CURVE,
4056
- U as PRESET_LINE_AREAS_HORIZONTAL,
4057
- f as PRESET_LINE_AREAS_LOOSE_TICKS,
4058
- V as PRESET_LINE_AREAS_ROTATE_AXIS_LABEL,
4059
- H as PRESET_LINE_AREAS_SEPARATE_SERIES,
4060
- k as PRESET_LINE_AREAS_SIMPLE,
5420
+ N as PRESET_LINE_AREAS_BASIC,
5421
+ v as PRESET_LINE_AREAS_CURVE,
5422
+ Z as PRESET_LINE_AREAS_HORIZONTAL,
5423
+ U as PRESET_LINE_AREAS_LOOSE_TICKS,
5424
+ f as PRESET_LINE_AREAS_ROTATE_AXIS_LABEL,
5425
+ V as PRESET_LINE_AREAS_SEPARATE_SERIES,
5426
+ H as PRESET_LINE_AREAS_SIMPLE,
4061
5427
  j as PRESET_MULTI_GRID_BASIC,
4062
5428
  J as PRESET_MULTI_GRID_DIVERGING,
4063
5429
  q as PRESET_MULTI_GRID_DIVERGING_SIMPLE,
@@ -4065,47 +5431,48 @@ export {
4065
5431
  Q as PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE,
4066
5432
  et as PRESET_MULTI_GRID_SEPARATE_GRID,
4067
5433
  tt as PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE,
4068
- it as PRESET_MULTI_GRID_SIMPLE,
4069
- ot as PRESET_MULTI_LINES_SEPARATE_GRID,
4070
- st as PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE,
5434
+ at as PRESET_MULTI_GRID_SIMPLE,
5435
+ lt as PRESET_MULTI_LINES_SEPARATE_GRID,
5436
+ Ft as PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE,
4071
5437
  rt as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID,
4072
- at as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE,
4073
- lt as PRESET_MULTI_VALUE_BASIC,
4074
- nt as PRESET_MULTI_VALUE_SEPARATE_CATEGORY,
4075
- dt as PRESET_MULTI_VALUE_SIMPLE,
4076
- a as PRESET_PIE_BASIC,
5438
+ it as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE,
5439
+ st as PRESET_MULTI_VALUE_BASIC,
5440
+ Bt as PRESET_MULTI_VALUE_SEPARATE_CATEGORY,
5441
+ ot as PRESET_MULTI_VALUE_SIMPLE,
5442
+ i as PRESET_PIE_BASIC,
4077
5443
  r as PRESET_PIE_DONUT,
4078
- s as PRESET_PIE_HALF_DONUT,
4079
- l as PRESET_PIE_SEPARATE_SERIES,
4080
- n as PRESET_PIE_SIMPLE,
4081
- d as PRESET_PIE_SUM_SERIES,
4082
- o as PRESET_PIE_WITH_INNER_LABELS,
4083
- Et as PRESET_RACING_BARS_ALL_ITEMS,
4084
- Ft as PRESET_RACING_BARS_BASIC,
4085
- ct as PRESET_RACING_BARS_FAST,
4086
- gt as PRESET_RACING_BARS_FASTER,
4087
- Bt as PRESET_RACING_BARS_OUTSIDE_LABELS,
4088
- pt as PRESET_RACING_BARS_SEPARATE_CATEGORY,
4089
- At as PRESET_RACING_BARS_SIMPLE,
4090
- St as PRESET_RACING_BARS_STOP,
4091
- E as PRESET_ROSE_BASIC,
4092
- F as PRESET_ROSE_SCALING_BY_RADIUS,
4093
- c as PRESET_ROSE_SEPARATE_SERIES,
4094
- p as PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES,
4095
- g as PRESET_ROSE_SIMPLE,
4096
- B as PRESET_ROSE_SUM_SERIES,
4097
- Rt as PRESET_SCATTER_BASIC,
4098
- ut as PRESET_SCATTER_BUBBLES_BASIC,
4099
- Ct as PRESET_SCATTER_BUBBLES_LINEAR_OPACITY,
4100
- _t as PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS,
5444
+ F as PRESET_PIE_HALF_DONUT,
5445
+ s as PRESET_PIE_SEPARATE_SERIES,
5446
+ B as PRESET_PIE_SIMPLE,
5447
+ o as PRESET_PIE_SUM_SERIES,
5448
+ l as PRESET_PIE_WITH_INNER_LABELS,
5449
+ dt as PRESET_RACING_BARS_ALL_ITEMS,
5450
+ nt as PRESET_RACING_BARS_BASIC,
5451
+ Ct as PRESET_RACING_BARS_FAST,
5452
+ At as PRESET_RACING_BARS_FASTER,
5453
+ Et as PRESET_RACING_BARS_LOOP,
5454
+ ct as PRESET_RACING_BARS_OUTSIDE_LABELS,
5455
+ gt as PRESET_RACING_BARS_SEPARATE_CATEGORY,
5456
+ Dt as PRESET_RACING_BARS_SIMPLE,
5457
+ pt as PRESET_RACING_BARS_STOP,
5458
+ d as PRESET_ROSE_BASIC,
5459
+ n as PRESET_ROSE_SCALING_BY_RADIUS,
5460
+ C as PRESET_ROSE_SEPARATE_SERIES,
5461
+ c as PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES,
5462
+ A as PRESET_ROSE_SIMPLE,
5463
+ E as PRESET_ROSE_SUM_SERIES,
5464
+ St as PRESET_SCATTER_BASIC,
5465
+ Rt as PRESET_SCATTER_BUBBLES_BASIC,
5466
+ _t as PRESET_SCATTER_BUBBLES_LINEAR_OPACITY,
5467
+ ut as PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS,
4101
5468
  mt as PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY,
4102
5469
  ht as PRESET_SCATTER_BUBBLES_SIMPLE,
4103
5470
  Pt as PRESET_SCATTER_SEPARATE_CATEGORY,
4104
- Dt as PRESET_SCATTER_SIMPLE,
4105
- h as PRESET_SERIES_BASIC,
4106
- S as PRESET_SERIES_SEPARATE_SERIES,
4107
- A as PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES,
4108
- R as PRESET_SERIES_SUM_SERIES,
5471
+ bt as PRESET_SCATTER_SIMPLE,
5472
+ m as PRESET_SERIES_BASIC,
5473
+ D as PRESET_SERIES_SEPARATE_SERIES,
5474
+ g as PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES,
5475
+ p as PRESET_SERIES_SUM_SERIES,
4109
5476
  Zt as PRESET_TREE_MAP_BASIC,
4110
5477
  Ut as PRESET_TREE_MAP_SIMPLE
4111
5478
  };