@orbcharts/presets-basic 3.0.0-beta.1 → 3.0.0-beta.11

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 (104) hide show
  1. package/dist/orbcharts-presets-basic.es.js +1680 -256
  2. package/dist/orbcharts-presets-basic.umd.js +1 -1
  3. package/dist/src/index.d.ts +2 -0
  4. package/dist/src/multiValue/PRESET_MULTI_VALUE_BASIC.d.ts +4 -0
  5. package/dist/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.d.ts +4 -0
  6. package/dist/src/multiValue/PRESET_SCATTER_BASIC.d.ts +4 -0
  7. package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_BASIC.d.ts +4 -0
  8. package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.d.ts +4 -0
  9. package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.d.ts +4 -0
  10. package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY.d.ts +4 -0
  11. package/dist/src/multiValue/PRESET_SCATTER_SEPARATE_CATEGORY.d.ts +4 -0
  12. package/dist/src/multiValue/index.d.ts +8 -0
  13. package/dist/src/params.d.ts +3 -1
  14. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BASIC.d.ts +4 -0
  15. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.d.ts +4 -0
  16. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.d.ts +4 -0
  17. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.d.ts +4 -0
  18. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.d.ts +4 -0
  19. package/dist/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.d.ts +4 -0
  20. package/dist/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.d.ts +4 -0
  21. package/dist/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.d.ts +4 -0
  22. package/dist/src/relationship/index.d.ts +8 -0
  23. package/dist/src/series/PRESET_BUBBLES_BASIC.d.ts +4 -0
  24. package/dist/src/series/PRESET_BUBBLES_SUM_SERIES.d.ts +4 -0
  25. package/dist/src/series/PRESET_PIE_SEPARATE_SERIES.d.ts +4 -0
  26. package/dist/src/series/PRESET_PIE_SUM_SERIES.d.ts +4 -0
  27. package/dist/src/series/PRESET_ROSE_SEPARATE_SERIES.d.ts +4 -0
  28. package/dist/src/series/PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +4 -0
  29. package/dist/src/series/PRESET_ROSE_SUM_SERIES.d.ts +4 -0
  30. package/dist/src/series/index.d.ts +7 -0
  31. package/dist/src/tree/PRESET_TREE_MAP_BASIC.d.ts +4 -0
  32. package/dist/src/tree/index.d.ts +1 -1
  33. package/dist/src/types.d.ts +55 -14
  34. package/package.json +3 -3
  35. package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +19 -3
  36. package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +19 -3
  37. package/src/grid/PRESET_BARS_ROUND.ts +18 -2
  38. package/src/grid/PRESET_BARS_THIN.ts +18 -2
  39. package/src/grid/PRESET_GRID_BASIC.ts +18 -2
  40. package/src/grid/PRESET_GRID_HORIZONTAL.ts +19 -3
  41. package/src/grid/PRESET_GRID_PN_SCALE.ts +20 -4
  42. package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +18 -2
  43. package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +20 -4
  44. package/src/grid/PRESET_LINES_BASIC.ts +18 -2
  45. package/src/grid/PRESET_LINES_CURVE.ts +18 -2
  46. package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +18 -2
  47. package/src/grid/PRESET_LINES_HORIZONTAL.ts +19 -3
  48. package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +18 -2
  49. package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +18 -2
  50. package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +19 -3
  51. package/src/grid/PRESET_LINE_AREAS_BASIC.ts +20 -4
  52. package/src/grid/PRESET_LINE_AREAS_CURVE.ts +20 -4
  53. package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +20 -4
  54. package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +19 -3
  55. package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +20 -4
  56. package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +20 -4
  57. package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +20 -4
  58. package/src/index.ts +2 -0
  59. package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +18 -2
  60. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +22 -6
  61. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +21 -5
  62. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +20 -4
  63. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +20 -4
  64. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +20 -4
  65. package/src/multiValue/PRESET_MULTI_VALUE_BASIC.ts +39 -0
  66. package/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.ts +42 -0
  67. package/src/multiValue/PRESET_SCATTER_BASIC.ts +39 -0
  68. package/src/multiValue/PRESET_SCATTER_BUBBLES_BASIC.ts +39 -0
  69. package/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.ts +42 -0
  70. package/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.ts +42 -0
  71. package/src/multiValue/PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY.ts +42 -0
  72. package/src/multiValue/PRESET_SCATTER_SEPARATE_CATEGORY.ts +42 -0
  73. package/src/multiValue/index.ts +8 -0
  74. package/src/params.ts +25 -5
  75. package/src/relationship/PRESET_FORCE_DIRECTED_BASIC.ts +39 -0
  76. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.ts +39 -0
  77. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.ts +44 -0
  78. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.ts +46 -0
  79. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.ts +41 -0
  80. package/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.ts +46 -0
  81. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.ts +44 -0
  82. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.ts +41 -0
  83. package/src/relationship/index.ts +8 -0
  84. package/src/series/PRESET_BUBBLES_BASIC.ts +34 -0
  85. package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +18 -0
  86. package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +17 -1
  87. package/src/series/PRESET_BUBBLES_SUM_SERIES.ts +36 -0
  88. package/src/series/PRESET_PIE_BASIC.ts +19 -1
  89. package/src/series/PRESET_PIE_DONUT.ts +18 -0
  90. package/src/series/PRESET_PIE_HALF_DONUT.ts +18 -1
  91. package/src/series/PRESET_PIE_SEPARATE_SERIES.ts +36 -0
  92. package/src/series/PRESET_PIE_SUM_SERIES.ts +36 -0
  93. package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +19 -1
  94. package/src/series/PRESET_ROSE_BASIC.ts +18 -0
  95. package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +18 -0
  96. package/src/series/PRESET_ROSE_SEPARATE_SERIES.ts +36 -0
  97. package/src/series/PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES.ts +37 -0
  98. package/src/series/PRESET_ROSE_SUM_SERIES.ts +36 -0
  99. package/src/series/PRESET_SERIES_BASIC.ts +18 -0
  100. package/src/series/index.ts +7 -0
  101. package/src/tree/{PRESET_TREE_BASIC.ts → PRESET_TREE_MAP_BASIC.ts} +20 -4
  102. package/src/tree/index.ts +1 -1
  103. package/src/types.ts +103 -21
  104. package/dist/src/tree/PRESET_TREE_BASIC.d.ts +0 -4
@@ -1,6 +1,53 @@
1
- const u = {
1
+ const C = {
2
+ name: "PRESET_BUBBLES_BASIC",
3
+ description: "基本泡泡圖",
4
+ chartParams: {
5
+ colors: {
6
+ light: {
7
+ label: [
8
+ "#6CBAFF",
9
+ "#FF6C6C",
10
+ "#F9B052",
11
+ "#7DD3C4",
12
+ "#AA93D2",
13
+ "#0088FF",
14
+ "#FFBABA",
15
+ "#86DC72",
16
+ "#EF76FF",
17
+ "#C4C4C4"
18
+ ]
19
+ }
20
+ }
21
+ },
22
+ allPluginParams: {
23
+ // ...ALL_PLUGIN_PARAMS_SERIES,
24
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
25
+ SeriesLegend: {
26
+ listRectRadius: 7
27
+ // 圓型圖例列點
28
+ }
29
+ }
30
+ }, c = {
2
31
  name: "PRESET_BUBBLES_SCALING_BY_RADIUS",
3
32
  description: "以半徑尺寸為比例的泡泡圖",
33
+ chartParams: {
34
+ colors: {
35
+ light: {
36
+ label: [
37
+ "#6CBAFF",
38
+ "#FF6C6C",
39
+ "#F9B052",
40
+ "#7DD3C4",
41
+ "#AA93D2",
42
+ "#0088FF",
43
+ "#FFBABA",
44
+ "#86DC72",
45
+ "#EF76FF",
46
+ "#C4C4C4"
47
+ ]
48
+ }
49
+ }
50
+ },
4
51
  allPluginParams: {
5
52
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
6
53
  Bubbles: {
@@ -11,10 +58,26 @@ const u = {
11
58
  // 圓型圖例列點
12
59
  }
13
60
  }
14
- }, S = {
61
+ }, u = {
15
62
  name: "PRESET_BUBBLES_SEPARATE_SERIES",
16
- description: "分開顯示Series泡泡",
63
+ description: "分開顯示Series的泡泡圖",
17
64
  chartParams: {
65
+ colors: {
66
+ light: {
67
+ label: [
68
+ "#6CBAFF",
69
+ "#FF6C6C",
70
+ "#F9B052",
71
+ "#7DD3C4",
72
+ "#AA93D2",
73
+ "#0088FF",
74
+ "#FFBABA",
75
+ "#86DC72",
76
+ "#EF76FF",
77
+ "#C4C4C4"
78
+ ]
79
+ }
80
+ },
18
81
  // 加長留空
19
82
  padding: {
20
83
  top: 160,
@@ -36,10 +99,59 @@ const u = {
36
99
  SeriesTooltip: {}
37
100
  }
38
101
  }, i = {
102
+ name: "PRESET_BUBBLES_SUM_SERIES",
103
+ description: "合併Series資料的泡泡圖",
104
+ chartParams: {
105
+ colors: {
106
+ light: {
107
+ label: [
108
+ "#6CBAFF",
109
+ "#FF6C6C",
110
+ "#F9B052",
111
+ "#7DD3C4",
112
+ "#AA93D2",
113
+ "#0088FF",
114
+ "#FFBABA",
115
+ "#86DC72",
116
+ "#EF76FF",
117
+ "#C4C4C4"
118
+ ]
119
+ }
120
+ }
121
+ },
122
+ dataFormatter: {
123
+ sort: (t, a) => a.value - t.value,
124
+ sumSeries: !0
125
+ },
126
+ allPluginParams: {
127
+ // ...ALL_PLUGIN_PARAMS_SERIES,
128
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
129
+ }
130
+ };
131
+ i.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
132
+ const l = {
39
133
  name: "PRESET_PIE_BASIC",
40
- description: "基本Pie參數",
134
+ description: "基本圓餅圖",
135
+ chartParams: {
136
+ colors: {
137
+ light: {
138
+ label: [
139
+ "#7DD3C4",
140
+ "#FFA0A0",
141
+ "#6CBAFF",
142
+ "#55D339",
143
+ "#F9B052",
144
+ "#FF6C6C",
145
+ "#8E6BC9",
146
+ "#0088FF",
147
+ "#904026",
148
+ "#C4C4C4"
149
+ ]
150
+ }
151
+ }
152
+ },
41
153
  dataFormatter: {
42
- sort: (t, e) => e.value - t.value
154
+ sort: (t, a) => a.value - t.value
43
155
  },
44
156
  allPluginParams: {
45
157
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -49,12 +161,30 @@ const u = {
49
161
  }
50
162
  }
51
163
  };
52
- i.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
164
+ l.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
53
165
  const r = {
54
166
  name: "PRESET_PIE_DONUT",
55
167
  description: "甜甜圈圖",
168
+ chartParams: {
169
+ colors: {
170
+ light: {
171
+ label: [
172
+ "#7DD3C4",
173
+ "#FFA0A0",
174
+ "#6CBAFF",
175
+ "#55D339",
176
+ "#F9B052",
177
+ "#FF6C6C",
178
+ "#8E6BC9",
179
+ "#0088FF",
180
+ "#904026",
181
+ "#C4C4C4"
182
+ ]
183
+ }
184
+ }
185
+ },
56
186
  dataFormatter: {
57
- sort: (t, e) => e.value - t.value
187
+ sort: (t, a) => a.value - t.value
58
188
  },
59
189
  allPluginParams: {
60
190
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -74,15 +204,31 @@ const s = {
74
204
  name: "PRESET_PIE_HALF_DONUT",
75
205
  description: "半圓甜甜圈圖",
76
206
  chartParams: {
207
+ colors: {
208
+ light: {
209
+ label: [
210
+ "#7DD3C4",
211
+ "#FFA0A0",
212
+ "#6CBAFF",
213
+ "#55D339",
214
+ "#F9B052",
215
+ "#FF6C6C",
216
+ "#8E6BC9",
217
+ "#0088FF",
218
+ "#904026",
219
+ "#C4C4C4"
220
+ ]
221
+ }
222
+ },
77
223
  padding: {
78
224
  top: 120,
79
- right: 120,
225
+ right: 60,
80
226
  bottom: 0,
81
227
  left: 60
82
228
  }
83
229
  },
84
230
  dataFormatter: {
85
- sort: (t, e) => e.value - t.value
231
+ sort: (t, a) => a.value - t.value
86
232
  },
87
233
  allPluginParams: {
88
234
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -97,17 +243,36 @@ const s = {
97
243
  },
98
244
  PieEventTexts: {},
99
245
  SeriesLegend: {
246
+ placement: "bottom",
100
247
  listRectRadius: 7
101
248
  // 圓型圖例列點
102
249
  }
103
250
  }
104
251
  };
105
252
  s.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
106
- const l = {
253
+ const o = {
107
254
  name: "PRESET_PIE_WITH_INNER_LABELS",
108
255
  description: "圓餅圖及內部資料標籤",
256
+ chartParams: {
257
+ colors: {
258
+ light: {
259
+ label: [
260
+ "#7DD3C4",
261
+ "#FFA0A0",
262
+ "#6CBAFF",
263
+ "#55D339",
264
+ "#F9B052",
265
+ "#FF6C6C",
266
+ "#8E6BC9",
267
+ "#0088FF",
268
+ "#904026",
269
+ "#C4C4C4"
270
+ ]
271
+ }
272
+ }
273
+ },
109
274
  dataFormatter: {
110
- sort: (t, e) => e.value - t.value
275
+ sort: (t, a) => a.value - t.value
111
276
  },
112
277
  allPluginParams: {
113
278
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -115,7 +280,7 @@ const l = {
115
280
  PieLabels: {
116
281
  labelCentroid: 1.3,
117
282
  // 圖內資料標籤
118
- labelColorType: "primary"
283
+ labelColorType: "labelContrast"
119
284
  },
120
285
  PieEventTexts: {},
121
286
  SeriesLegend: {
@@ -124,12 +289,92 @@ const l = {
124
289
  }
125
290
  }
126
291
  };
127
- l.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
128
- const o = {
292
+ o.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
293
+ const E = {
294
+ name: "PRESET_PIE_SEPARATE_SERIES",
295
+ description: "分開顯示Series的圓餅圖",
296
+ chartParams: {
297
+ colors: {
298
+ light: {
299
+ label: [
300
+ "#7DD3C4",
301
+ "#FFA0A0",
302
+ "#6CBAFF",
303
+ "#55D339",
304
+ "#F9B052",
305
+ "#FF6C6C",
306
+ "#8E6BC9",
307
+ "#0088FF",
308
+ "#904026",
309
+ "#C4C4C4"
310
+ ]
311
+ }
312
+ }
313
+ },
314
+ dataFormatter: {
315
+ sort: (t, a) => a.value - t.value,
316
+ separateSeries: !0
317
+ },
318
+ allPluginParams: {
319
+ // ...ALL_PLUGIN_PARAMS_SERIES,
320
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
321
+ }
322
+ };
323
+ E.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
324
+ const n = {
325
+ name: "PRESET_PIE_SUM_SERIES",
326
+ description: "合併Series資料的圓餅圖",
327
+ chartParams: {
328
+ colors: {
329
+ light: {
330
+ label: [
331
+ "#7DD3C4",
332
+ "#FFA0A0",
333
+ "#6CBAFF",
334
+ "#55D339",
335
+ "#F9B052",
336
+ "#FF6C6C",
337
+ "#8E6BC9",
338
+ "#0088FF",
339
+ "#904026",
340
+ "#C4C4C4"
341
+ ]
342
+ }
343
+ }
344
+ },
345
+ dataFormatter: {
346
+ sort: (t, a) => a.value - t.value,
347
+ sumSeries: !0
348
+ },
349
+ allPluginParams: {
350
+ // ...ALL_PLUGIN_PARAMS_SERIES,
351
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
352
+ }
353
+ };
354
+ n.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
355
+ const F = {
129
356
  name: "PRESET_ROSE_BASIC",
130
357
  description: "基本Rose參數",
358
+ chartParams: {
359
+ colors: {
360
+ light: {
361
+ label: [
362
+ "#8BC8FF",
363
+ "#4BABFF",
364
+ "#0088FF",
365
+ "#55D339",
366
+ "#29AB0C",
367
+ "#16B59B",
368
+ "#FCDCAD",
369
+ "#F9B052",
370
+ "#FF6C6C",
371
+ "#C4C4C4"
372
+ ]
373
+ }
374
+ }
375
+ },
131
376
  dataFormatter: {
132
- sort: (t, e) => e.value - t.value
377
+ sort: (t, a) => a.value - t.value
133
378
  },
134
379
  allPluginParams: {
135
380
  // ...ALL_PLUGIN_PARAMS_SERIES,
@@ -140,12 +385,30 @@ const o = {
140
385
  }
141
386
  }
142
387
  };
143
- o.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
144
- const n = {
388
+ F.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
389
+ const d = {
145
390
  name: "PRESET_ROSE_SCALING_BY_RADIUS",
146
391
  description: "以半徑尺寸為比例的玫瑰圖",
392
+ chartParams: {
393
+ colors: {
394
+ light: {
395
+ label: [
396
+ "#8BC8FF",
397
+ "#4BABFF",
398
+ "#0088FF",
399
+ "#55D339",
400
+ "#29AB0C",
401
+ "#16B59B",
402
+ "#FCDCAD",
403
+ "#F9B052",
404
+ "#FF6C6C",
405
+ "#C4C4C4"
406
+ ]
407
+ }
408
+ }
409
+ },
147
410
  dataFormatter: {
148
- sort: (t, e) => e.value - t.value
411
+ sort: (t, a) => a.value - t.value
149
412
  },
150
413
  allPluginParams: {
151
414
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -161,10 +424,122 @@ const n = {
161
424
  }
162
425
  }
163
426
  };
164
- n.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
165
- const R = {
427
+ d.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
428
+ const A = {
429
+ name: "PRESET_ROSE_SEPARATE_SERIES",
430
+ description: "分開顯示Series的玫瑰圖",
431
+ chartParams: {
432
+ colors: {
433
+ light: {
434
+ label: [
435
+ "#8BC8FF",
436
+ "#4BABFF",
437
+ "#0088FF",
438
+ "#55D339",
439
+ "#29AB0C",
440
+ "#16B59B",
441
+ "#FCDCAD",
442
+ "#F9B052",
443
+ "#FF6C6C",
444
+ "#C4C4C4"
445
+ ]
446
+ }
447
+ }
448
+ },
449
+ dataFormatter: {
450
+ sort: (t, a) => a.value - t.value,
451
+ separateSeries: !0
452
+ },
453
+ allPluginParams: {
454
+ // ...ALL_PLUGIN_PARAMS_SERIES,
455
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
456
+ }
457
+ };
458
+ A.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
459
+ const B = {
460
+ name: "PRESET_ROSE_SUM_SERIES",
461
+ description: "合併Series資料的玫瑰圖",
462
+ chartParams: {
463
+ colors: {
464
+ light: {
465
+ label: [
466
+ "#8BC8FF",
467
+ "#4BABFF",
468
+ "#0088FF",
469
+ "#55D339",
470
+ "#29AB0C",
471
+ "#16B59B",
472
+ "#FCDCAD",
473
+ "#F9B052",
474
+ "#FF6C6C",
475
+ "#C4C4C4"
476
+ ]
477
+ }
478
+ }
479
+ },
480
+ dataFormatter: {
481
+ sort: (t, a) => a.value - t.value,
482
+ sumSeries: !0
483
+ },
484
+ allPluginParams: {
485
+ // ...ALL_PLUGIN_PARAMS_SERIES,
486
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
487
+ }
488
+ };
489
+ B.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
490
+ const g = {
491
+ name: "PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES",
492
+ description: "分開顯示Series並合併Series資料",
493
+ chartParams: {
494
+ colors: {
495
+ light: {
496
+ label: [
497
+ "#8BC8FF",
498
+ "#4BABFF",
499
+ "#0088FF",
500
+ "#55D339",
501
+ "#29AB0C",
502
+ "#16B59B",
503
+ "#FCDCAD",
504
+ "#F9B052",
505
+ "#FF6C6C",
506
+ "#C4C4C4"
507
+ ]
508
+ }
509
+ }
510
+ },
511
+ dataFormatter: {
512
+ sort: (t, a) => a.value - t.value,
513
+ separateSeries: !0,
514
+ sumSeries: !0
515
+ },
516
+ allPluginParams: {
517
+ // ...ALL_PLUGIN_PARAMS_SERIES,
518
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
519
+ }
520
+ };
521
+ g.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
522
+ const P = {
166
523
  name: "PRESET_SERIES_BASIC",
167
524
  description: "基本Series參數",
525
+ chartParams: {
526
+ colors: {
527
+ light: {
528
+ label: [
529
+ "#6CBAFF",
530
+ "#FF6C6C",
531
+ "#F9B052",
532
+ "#7DD3C4",
533
+ "#AA93D2",
534
+ "#0088FF",
535
+ "#FFBABA",
536
+ "#86DC72",
537
+ "#EF76FF",
538
+ "#C4C4C4"
539
+ ]
540
+ }
541
+ }
542
+ },
168
543
  allPluginParams: {
169
544
  // ...ALL_PLUGIN_PARAMS_SERIES,
170
545
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -173,11 +548,11 @@ const R = {
173
548
  // 圓型圖例列點
174
549
  }
175
550
  }
176
- }, d = {
551
+ }, S = {
177
552
  name: "PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES",
178
553
  description: "分開顯示Series並合併Series資料",
179
554
  dataFormatter: {
180
- sort: (t, e) => e.value - t.value,
555
+ sort: (t, a) => a.value - t.value,
181
556
  separateSeries: !0,
182
557
  sumSeries: !0
183
558
  },
@@ -186,12 +561,12 @@ const R = {
186
561
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
187
562
  }
188
563
  };
189
- d.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
190
- const g = {
564
+ S.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
565
+ const R = {
191
566
  name: "PRESET_SERIES_SEPARATE_SERIES",
192
567
  description: "分開顯示Series",
193
568
  dataFormatter: {
194
- sort: (t, e) => e.value - t.value,
569
+ sort: (t, a) => a.value - t.value,
195
570
  separateSeries: !0
196
571
  },
197
572
  allPluginParams: {
@@ -199,12 +574,12 @@ const g = {
199
574
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
200
575
  }
201
576
  };
202
- g.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
203
- const E = {
577
+ R.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
578
+ const _ = {
204
579
  name: "PRESET_SERIES_SUM_SERIES",
205
580
  description: "合併Series資料",
206
581
  dataFormatter: {
207
- sort: (t, e) => e.value - t.value,
582
+ sort: (t, a) => a.value - t.value,
208
583
  sumSeries: !0
209
584
  },
210
585
  allPluginParams: {
@@ -212,33 +587,49 @@ const E = {
212
587
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
213
588
  }
214
589
  };
215
- E.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
216
- const _ = {
590
+ _.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
591
+ const m = {
217
592
  name: "PRESET_BARS_HORIZONTAL_AND_ROUND",
218
593
  description: "橫向圓角長條圖",
219
594
  chartParams: {
595
+ colors: {
596
+ light: {
597
+ label: [
598
+ "#4BABFF",
599
+ "#FFA0A0",
600
+ "#7DD3C4",
601
+ "#F9B052",
602
+ "#8454D4",
603
+ "#42C724",
604
+ "#FF4B4B",
605
+ "#904026",
606
+ "#4B25B3",
607
+ "#C50669"
608
+ ]
609
+ }
610
+ },
220
611
  padding: {
221
612
  top: 60,
222
613
  right: 60,
223
- bottom: 120,
614
+ bottom: 100,
224
615
  left: 160
225
616
  }
226
617
  },
227
618
  dataFormatter: {
228
- grid: {
229
- valueAxis: {
230
- position: "bottom"
231
- // position: 'top'
232
- // position: 'left'
233
- // position: 'right'
234
- },
235
- groupAxis: {
236
- position: "left"
237
- // position: 'right'
238
- // position: 'bottom'
239
- // position: 'top'
240
- }
619
+ // grid: {
620
+ valueAxis: {
621
+ position: "bottom"
622
+ // position: 'top'
623
+ // position: 'left'
624
+ // position: 'right'
625
+ },
626
+ groupAxis: {
627
+ position: "left"
628
+ // position: 'right'
629
+ // position: 'bottom'
630
+ // position: 'top'
241
631
  }
632
+ // }
242
633
  },
243
634
  allPluginParams: {
244
635
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -260,32 +651,48 @@ const _ = {
260
651
  listRectRadius: 7
261
652
  }
262
653
  }
263
- }, P = {
654
+ }, p = {
264
655
  name: "PRESET_BARS_HORIZONTAL_AND_THIN",
265
656
  description: "橫向細長長條圖",
266
657
  chartParams: {
658
+ colors: {
659
+ light: {
660
+ label: [
661
+ "#4BABFF",
662
+ "#FFA0A0",
663
+ "#7DD3C4",
664
+ "#F9B052",
665
+ "#8454D4",
666
+ "#42C724",
667
+ "#FF4B4B",
668
+ "#904026",
669
+ "#4B25B3",
670
+ "#C50669"
671
+ ]
672
+ }
673
+ },
267
674
  padding: {
268
675
  top: 60,
269
676
  right: 60,
270
- bottom: 120,
677
+ bottom: 100,
271
678
  left: 160
272
679
  }
273
680
  },
274
681
  dataFormatter: {
275
- grid: {
276
- valueAxis: {
277
- position: "bottom"
278
- // position: 'top'
279
- // position: 'left'
280
- // position: 'right'
281
- },
282
- groupAxis: {
283
- position: "left"
284
- // position: 'right'
285
- // position: 'bottom'
286
- // position: 'top'
287
- }
682
+ // grid: {
683
+ valueAxis: {
684
+ position: "bottom"
685
+ // position: 'top'
686
+ // position: 'left'
687
+ // position: 'right'
688
+ },
689
+ groupAxis: {
690
+ position: "left"
691
+ // position: 'right'
692
+ // position: 'bottom'
693
+ // position: 'top'
288
694
  }
695
+ // }
289
696
  },
290
697
  allPluginParams: {
291
698
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -304,15 +711,31 @@ const _ = {
304
711
  padding: 14
305
712
  }
306
713
  }
307
- }, p = {
714
+ }, D = {
308
715
  name: "PRESET_BARS_ROUND",
309
716
  description: "圓角長條圖",
310
717
  chartParams: {
718
+ colors: {
719
+ light: {
720
+ label: [
721
+ "#4BABFF",
722
+ "#FFA0A0",
723
+ "#7DD3C4",
724
+ "#F9B052",
725
+ "#8454D4",
726
+ "#42C724",
727
+ "#FF4B4B",
728
+ "#904026",
729
+ "#4B25B3",
730
+ "#C50669"
731
+ ]
732
+ }
733
+ },
311
734
  padding: {
312
735
  top: 60,
313
736
  right: 60,
314
- bottom: 120,
315
- left: 60
737
+ bottom: 100,
738
+ left: 80
316
739
  }
317
740
  },
318
741
  allPluginParams: {
@@ -335,15 +758,31 @@ const _ = {
335
758
  listRectRadius: 7
336
759
  }
337
760
  }
338
- }, A = {
761
+ }, T = {
339
762
  name: "PRESET_BARS_THIN",
340
763
  description: "細長條圖",
341
764
  chartParams: {
765
+ colors: {
766
+ light: {
767
+ label: [
768
+ "#4BABFF",
769
+ "#FFA0A0",
770
+ "#7DD3C4",
771
+ "#F9B052",
772
+ "#8454D4",
773
+ "#42C724",
774
+ "#FF4B4B",
775
+ "#904026",
776
+ "#4B25B3",
777
+ "#C50669"
778
+ ]
779
+ }
780
+ },
342
781
  padding: {
343
782
  top: 60,
344
783
  right: 60,
345
- bottom: 120,
346
- left: 60
784
+ bottom: 100,
785
+ left: 80
347
786
  }
348
787
  },
349
788
  allPluginParams: {
@@ -363,15 +802,31 @@ const _ = {
363
802
  padding: 14
364
803
  }
365
804
  }
366
- }, m = {
805
+ }, I = {
367
806
  name: "PRESET_GRID_BASIC",
368
807
  description: "基本Grid參數",
369
808
  chartParams: {
809
+ colors: {
810
+ light: {
811
+ label: [
812
+ "#4BABFF",
813
+ "#FFA0A0",
814
+ "#7DD3C4",
815
+ "#F9B052",
816
+ "#8454D4",
817
+ "#42C724",
818
+ "#FF4B4B",
819
+ "#904026",
820
+ "#4B25B3",
821
+ "#C50669"
822
+ ]
823
+ }
824
+ },
370
825
  padding: {
371
826
  top: 60,
372
827
  right: 60,
373
- bottom: 120,
374
- left: 60
828
+ bottom: 100,
829
+ left: 80
375
830
  }
376
831
  },
377
832
  allPluginParams: {
@@ -384,33 +839,49 @@ const _ = {
384
839
  padding: 14
385
840
  }
386
841
  }
387
- }, c = {
842
+ }, h = {
388
843
  name: "PRESET_GRID_HORIZONTAL",
389
844
  description: "橫向圖",
390
845
  chartParams: {
846
+ colors: {
847
+ light: {
848
+ label: [
849
+ "#4BABFF",
850
+ "#FFA0A0",
851
+ "#7DD3C4",
852
+ "#F9B052",
853
+ "#8454D4",
854
+ "#42C724",
855
+ "#FF4B4B",
856
+ "#904026",
857
+ "#4B25B3",
858
+ "#C50669"
859
+ ]
860
+ }
861
+ },
391
862
  // 間距下面及左邊留空
392
863
  padding: {
393
864
  top: 60,
394
865
  right: 60,
395
- bottom: 120,
866
+ bottom: 100,
396
867
  left: 160
397
868
  }
398
869
  },
399
870
  dataFormatter: {
400
- grid: {
401
- valueAxis: {
402
- position: "bottom"
403
- // position: 'top'
404
- // position: 'left'
405
- // position: 'right'
406
- },
407
- groupAxis: {
408
- position: "left"
409
- // position: 'right'
410
- // position: 'bottom'
411
- // position: 'top'
412
- }
871
+ // grid: {
872
+ valueAxis: {
873
+ position: "bottom"
874
+ // position: 'top'
875
+ // position: 'left'
876
+ // position: 'right'
877
+ },
878
+ groupAxis: {
879
+ position: "left"
880
+ // position: 'right'
881
+ // position: 'bottom'
882
+ // position: 'top'
413
883
  }
884
+ // }
414
885
  },
415
886
  allPluginParams: {
416
887
  // ...ALL_PLUGIN_PARAMS_GRID,
@@ -422,24 +893,40 @@ const _ = {
422
893
  padding: 14
423
894
  }
424
895
  }
425
- }, I = {
896
+ }, b = {
426
897
  name: "PRESET_GRID_PN_SCALE",
427
898
  description: "正負值分向圖",
428
899
  chartParams: {
900
+ colors: {
901
+ light: {
902
+ label: [
903
+ "#4BABFF",
904
+ "#FFA0A0",
905
+ "#7DD3C4",
906
+ "#F9B052",
907
+ "#8454D4",
908
+ "#42C724",
909
+ "#FF4B4B",
910
+ "#904026",
911
+ "#4B25B3",
912
+ "#C50669"
913
+ ]
914
+ }
915
+ },
429
916
  padding: {
430
917
  top: 60,
431
918
  right: 60,
432
- bottom: 120,
433
- left: 60
919
+ bottom: 100,
920
+ left: 80
434
921
  }
435
922
  },
436
923
  dataFormatter: {
437
- grid: {
438
- valueAxis: {
439
- scaleDomain: ["auto", "auto"],
440
- scaleRange: [0.05, 0.95]
441
- }
924
+ // grid: {
925
+ valueAxis: {
926
+ scaleDomain: ["auto", "auto"],
927
+ scaleRange: [0.05, 0.95]
442
928
  }
929
+ // }
443
930
  },
444
931
  allPluginParams: {
445
932
  // ...ALL_PLUGIN_PARAMS_GRID,
@@ -451,16 +938,32 @@ const _ = {
451
938
  padding: 14
452
939
  }
453
940
  }
454
- }, T = {
941
+ }, L = {
455
942
  name: "PRESET_GRID_ROTATE_AXIS_LABEL",
456
943
  description: "傾斜標籤",
457
944
  chartParams: {
945
+ colors: {
946
+ light: {
947
+ label: [
948
+ "#4BABFF",
949
+ "#FFA0A0",
950
+ "#7DD3C4",
951
+ "#F9B052",
952
+ "#8454D4",
953
+ "#42C724",
954
+ "#FF4B4B",
955
+ "#904026",
956
+ "#4B25B3",
957
+ "#C50669"
958
+ ]
959
+ }
960
+ },
458
961
  // 間距下面加長留空
459
962
  padding: {
460
963
  top: 60,
461
964
  right: 60,
462
- bottom: 160,
463
- left: 60
965
+ bottom: 140,
966
+ left: 80
464
967
  }
465
968
  },
466
969
  allPluginParams: {
@@ -480,22 +983,38 @@ const _ = {
480
983
  padding: 14
481
984
  }
482
985
  }
483
- }, L = {
986
+ }, x = {
484
987
  name: "PRESET_GRID_SEPARATE_SERIES",
485
988
  description: "分開顯示Series",
486
989
  chartParams: {
990
+ colors: {
991
+ light: {
992
+ label: [
993
+ "#4BABFF",
994
+ "#FFA0A0",
995
+ "#7DD3C4",
996
+ "#F9B052",
997
+ "#8454D4",
998
+ "#42C724",
999
+ "#FF4B4B",
1000
+ "#904026",
1001
+ "#4B25B3",
1002
+ "#C50669"
1003
+ ]
1004
+ }
1005
+ },
487
1006
  padding: {
488
1007
  top: 60,
489
1008
  right: 60,
490
- bottom: 160,
491
- left: 60
1009
+ bottom: 140,
1010
+ left: 80
492
1011
  }
493
1012
  },
494
1013
  dataFormatter: {
495
- grid: {
496
- // seriesSlotIndexes: [0, 1],
497
- separateSeries: !0
498
- }
1014
+ // grid: {
1015
+ // seriesSlotIndexes: [0, 1],
1016
+ separateSeries: !0
1017
+ // },
499
1018
  },
500
1019
  allPluginParams: {
501
1020
  // ...ALL_PLUGIN_PARAMS_GRID,
@@ -514,24 +1033,40 @@ const _ = {
514
1033
  padding: 14
515
1034
  }
516
1035
  }
517
- }, h = {
1036
+ }, G = {
518
1037
  name: "PRESET_LINE_AREAS_BASIC",
519
1038
  description: "基本LineArea參數",
520
1039
  chartParams: {
1040
+ colors: {
1041
+ light: {
1042
+ label: [
1043
+ "#4BABFF",
1044
+ "#FFA0A0",
1045
+ "#7DD3C4",
1046
+ "#F9B052",
1047
+ "#8454D4",
1048
+ "#42C724",
1049
+ "#FF4B4B",
1050
+ "#904026",
1051
+ "#4B25B3",
1052
+ "#C50669"
1053
+ ]
1054
+ }
1055
+ },
521
1056
  padding: {
522
1057
  top: 60,
523
1058
  right: 60,
524
- bottom: 120,
525
- left: 60
1059
+ bottom: 100,
1060
+ left: 80
526
1061
  },
527
1062
  highlightTarget: "series"
528
1063
  },
529
1064
  dataFormatter: {
530
- grid: {
531
- groupAxis: {
532
- scalePadding: 0
533
- }
1065
+ // grid: {
1066
+ groupAxis: {
1067
+ scalePadding: 0
534
1068
  }
1069
+ // }
535
1070
  },
536
1071
  allPluginParams: {
537
1072
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -549,24 +1084,40 @@ const _ = {
549
1084
  listRectHeight: 2
550
1085
  }
551
1086
  }
552
- }, x = {
1087
+ }, O = {
553
1088
  name: "PRESET_LINE_AREAS_CURVE",
554
1089
  description: "弧線折線圖",
555
1090
  chartParams: {
1091
+ colors: {
1092
+ light: {
1093
+ label: [
1094
+ "#4BABFF",
1095
+ "#FFA0A0",
1096
+ "#7DD3C4",
1097
+ "#F9B052",
1098
+ "#8454D4",
1099
+ "#42C724",
1100
+ "#FF4B4B",
1101
+ "#904026",
1102
+ "#4B25B3",
1103
+ "#C50669"
1104
+ ]
1105
+ }
1106
+ },
556
1107
  padding: {
557
1108
  top: 60,
558
1109
  right: 60,
559
- bottom: 120,
560
- left: 60
1110
+ bottom: 100,
1111
+ left: 80
561
1112
  },
562
1113
  highlightTarget: "series"
563
1114
  },
564
1115
  dataFormatter: {
565
- grid: {
566
- groupAxis: {
567
- scalePadding: 0
568
- }
1116
+ // grid: {
1117
+ groupAxis: {
1118
+ scalePadding: 0
569
1119
  }
1120
+ // }
570
1121
  },
571
1122
  allPluginParams: {
572
1123
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -589,28 +1140,44 @@ const _ = {
589
1140
  listRectHeight: 2
590
1141
  }
591
1142
  }
592
- }, b = {
1143
+ }, M = {
593
1144
  name: "PRESET_LINE_AREAS_HORIZONTAL",
594
1145
  description: "橫向折線圖",
595
1146
  chartParams: {
1147
+ colors: {
1148
+ light: {
1149
+ label: [
1150
+ "#4BABFF",
1151
+ "#FFA0A0",
1152
+ "#7DD3C4",
1153
+ "#F9B052",
1154
+ "#8454D4",
1155
+ "#42C724",
1156
+ "#FF4B4B",
1157
+ "#904026",
1158
+ "#4B25B3",
1159
+ "#C50669"
1160
+ ]
1161
+ }
1162
+ },
596
1163
  padding: {
597
1164
  top: 60,
598
1165
  right: 60,
599
- bottom: 120,
1166
+ bottom: 100,
600
1167
  left: 160
601
1168
  },
602
1169
  highlightTarget: "series"
603
1170
  },
604
1171
  dataFormatter: {
605
- grid: {
606
- valueAxis: {
607
- position: "bottom"
608
- },
609
- groupAxis: {
610
- position: "left",
611
- scalePadding: 0
612
- }
1172
+ // grid: {
1173
+ valueAxis: {
1174
+ position: "bottom"
1175
+ },
1176
+ groupAxis: {
1177
+ position: "left",
1178
+ scalePadding: 0
613
1179
  }
1180
+ // }
614
1181
  },
615
1182
  allPluginParams: {
616
1183
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -628,24 +1195,40 @@ const _ = {
628
1195
  listRectHeight: 2
629
1196
  }
630
1197
  }
631
- }, G = {
1198
+ }, N = {
632
1199
  name: "PRESET_LINE_AREAS_LOOSE_TICKS",
633
1200
  description: "寬鬆標籤",
634
1201
  chartParams: {
1202
+ colors: {
1203
+ light: {
1204
+ label: [
1205
+ "#4BABFF",
1206
+ "#FFA0A0",
1207
+ "#7DD3C4",
1208
+ "#F9B052",
1209
+ "#8454D4",
1210
+ "#42C724",
1211
+ "#FF4B4B",
1212
+ "#904026",
1213
+ "#4B25B3",
1214
+ "#C50669"
1215
+ ]
1216
+ }
1217
+ },
635
1218
  padding: {
636
1219
  top: 60,
637
1220
  right: 60,
638
- bottom: 120,
639
- left: 60
1221
+ bottom: 100,
1222
+ left: 80
640
1223
  },
641
1224
  highlightTarget: "series"
642
1225
  },
643
1226
  dataFormatter: {
644
- grid: {
645
- groupAxis: {
646
- scalePadding: 0
647
- }
1227
+ // grid: {
1228
+ groupAxis: {
1229
+ scalePadding: 0
648
1230
  }
1231
+ // }
649
1232
  },
650
1233
  allPluginParams: {
651
1234
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -665,24 +1248,40 @@ const _ = {
665
1248
  listRectHeight: 2
666
1249
  }
667
1250
  }
668
- }, M = {
1251
+ }, v = {
669
1252
  name: "PRESET_LINE_AREAS_ROTATE_AXIS_LABEL",
670
1253
  description: "傾斜標籤",
671
1254
  chartParams: {
1255
+ colors: {
1256
+ light: {
1257
+ label: [
1258
+ "#4BABFF",
1259
+ "#FFA0A0",
1260
+ "#7DD3C4",
1261
+ "#F9B052",
1262
+ "#8454D4",
1263
+ "#42C724",
1264
+ "#FF4B4B",
1265
+ "#904026",
1266
+ "#4B25B3",
1267
+ "#C50669"
1268
+ ]
1269
+ }
1270
+ },
672
1271
  padding: {
673
1272
  top: 60,
674
1273
  right: 60,
675
- bottom: 160,
676
- left: 60
1274
+ bottom: 140,
1275
+ left: 80
677
1276
  },
678
1277
  highlightTarget: "series"
679
1278
  },
680
1279
  dataFormatter: {
681
- grid: {
682
- groupAxis: {
683
- scalePadding: 0
684
- }
1280
+ // grid: {
1281
+ groupAxis: {
1282
+ scalePadding: 0
685
1283
  }
1284
+ // }
686
1285
  },
687
1286
  allPluginParams: {
688
1287
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -705,26 +1304,42 @@ const _ = {
705
1304
  listRectHeight: 2
706
1305
  }
707
1306
  }
708
- }, N = {
1307
+ }, U = {
709
1308
  name: "PRESET_LINE_AREAS_SEPARATE_SERIES",
710
1309
  description: "LineAreas 分開顯示Series",
711
1310
  chartParams: {
1311
+ colors: {
1312
+ light: {
1313
+ label: [
1314
+ "#4BABFF",
1315
+ "#FFA0A0",
1316
+ "#7DD3C4",
1317
+ "#F9B052",
1318
+ "#8454D4",
1319
+ "#42C724",
1320
+ "#FF4B4B",
1321
+ "#904026",
1322
+ "#4B25B3",
1323
+ "#C50669"
1324
+ ]
1325
+ }
1326
+ },
712
1327
  padding: {
713
1328
  top: 60,
714
1329
  right: 60,
715
- bottom: 160,
716
- left: 60
1330
+ bottom: 140,
1331
+ left: 80
717
1332
  },
718
1333
  highlightTarget: "series"
719
1334
  },
720
1335
  dataFormatter: {
721
- grid: {
722
- // seriesSlotIndexes: [0, 1],
723
- separateSeries: !0,
724
- groupAxis: {
725
- scalePadding: 0
726
- }
1336
+ // grid: {
1337
+ // seriesSlotIndexes: [0, 1],
1338
+ separateSeries: !0,
1339
+ groupAxis: {
1340
+ scalePadding: 0
727
1341
  }
1342
+ // },
728
1343
  },
729
1344
  allPluginParams: {
730
1345
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -747,15 +1362,31 @@ const _ = {
747
1362
  listRectHeight: 2
748
1363
  }
749
1364
  }
750
- }, D = {
1365
+ }, H = {
751
1366
  name: "PRESET_LINES_BASIC",
752
1367
  description: "基本Lines參數",
753
1368
  chartParams: {
1369
+ colors: {
1370
+ light: {
1371
+ label: [
1372
+ "#4BABFF",
1373
+ "#FFA0A0",
1374
+ "#7DD3C4",
1375
+ "#F9B052",
1376
+ "#8454D4",
1377
+ "#42C724",
1378
+ "#FF4B4B",
1379
+ "#904026",
1380
+ "#4B25B3",
1381
+ "#C50669"
1382
+ ]
1383
+ }
1384
+ },
754
1385
  padding: {
755
1386
  top: 60,
756
1387
  right: 60,
757
- bottom: 120,
758
- left: 60
1388
+ bottom: 100,
1389
+ left: 80
759
1390
  },
760
1391
  highlightTarget: "series"
761
1392
  },
@@ -774,15 +1405,31 @@ const _ = {
774
1405
  listRectHeight: 2
775
1406
  }
776
1407
  }
777
- }, B = {
1408
+ }, f = {
778
1409
  name: "PRESET_LINES_CURVE",
779
1410
  description: "弧線折線圖",
780
1411
  chartParams: {
1412
+ colors: {
1413
+ light: {
1414
+ label: [
1415
+ "#4BABFF",
1416
+ "#FFA0A0",
1417
+ "#7DD3C4",
1418
+ "#F9B052",
1419
+ "#8454D4",
1420
+ "#42C724",
1421
+ "#FF4B4B",
1422
+ "#904026",
1423
+ "#4B25B3",
1424
+ "#C50669"
1425
+ ]
1426
+ }
1427
+ },
781
1428
  padding: {
782
1429
  top: 60,
783
1430
  right: 60,
784
- bottom: 120,
785
- left: 60
1431
+ bottom: 100,
1432
+ left: 80
786
1433
  },
787
1434
  highlightTarget: "series"
788
1435
  },
@@ -804,33 +1451,49 @@ const _ = {
804
1451
  listRectHeight: 2
805
1452
  }
806
1453
  }
807
- }, v = {
1454
+ }, V = {
808
1455
  name: "PRESET_LINES_HORIZONTAL",
809
1456
  description: "橫向折線圖",
810
1457
  chartParams: {
1458
+ colors: {
1459
+ light: {
1460
+ label: [
1461
+ "#4BABFF",
1462
+ "#FFA0A0",
1463
+ "#7DD3C4",
1464
+ "#F9B052",
1465
+ "#8454D4",
1466
+ "#42C724",
1467
+ "#FF4B4B",
1468
+ "#904026",
1469
+ "#4B25B3",
1470
+ "#C50669"
1471
+ ]
1472
+ }
1473
+ },
811
1474
  padding: {
812
1475
  top: 60,
813
1476
  right: 60,
814
- bottom: 120,
1477
+ bottom: 100,
815
1478
  left: 160
816
1479
  },
817
1480
  highlightTarget: "series"
818
1481
  },
819
1482
  dataFormatter: {
820
- grid: {
821
- valueAxis: {
822
- position: "bottom"
823
- // position: 'top'
824
- // position: 'left'
825
- // position: 'right'
826
- },
827
- groupAxis: {
828
- position: "left"
829
- // position: 'right'
830
- // position: 'bottom'
831
- // position: 'top'
832
- }
1483
+ // grid: {
1484
+ valueAxis: {
1485
+ position: "bottom"
1486
+ // position: 'top'
1487
+ // position: 'left'
1488
+ // position: 'right'
1489
+ },
1490
+ groupAxis: {
1491
+ position: "left"
1492
+ // position: 'right'
1493
+ // position: 'bottom'
1494
+ // position: 'top'
833
1495
  }
1496
+ // }
834
1497
  },
835
1498
  allPluginParams: {
836
1499
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
@@ -847,15 +1510,31 @@ const _ = {
847
1510
  listRectHeight: 2
848
1511
  }
849
1512
  }
850
- }, O = {
1513
+ }, k = {
851
1514
  name: "PRESET_LINES_LOOSE_TICKS",
852
1515
  description: "寬鬆標籤",
853
1516
  chartParams: {
1517
+ colors: {
1518
+ light: {
1519
+ label: [
1520
+ "#4BABFF",
1521
+ "#FFA0A0",
1522
+ "#7DD3C4",
1523
+ "#F9B052",
1524
+ "#8454D4",
1525
+ "#42C724",
1526
+ "#FF4B4B",
1527
+ "#904026",
1528
+ "#4B25B3",
1529
+ "#C50669"
1530
+ ]
1531
+ }
1532
+ },
854
1533
  padding: {
855
1534
  top: 60,
856
1535
  right: 60,
857
- bottom: 120,
858
- left: 60
1536
+ bottom: 100,
1537
+ left: 80
859
1538
  },
860
1539
  highlightTarget: "series"
861
1540
  },
@@ -876,15 +1555,31 @@ const _ = {
876
1555
  listRectHeight: 2
877
1556
  }
878
1557
  }
879
- }, H = {
1558
+ }, W = {
880
1559
  name: "PRESET_LINES_ROTATE_AXIS_LABEL",
881
1560
  description: "傾斜標籤",
882
1561
  chartParams: {
1562
+ colors: {
1563
+ light: {
1564
+ label: [
1565
+ "#4BABFF",
1566
+ "#FFA0A0",
1567
+ "#7DD3C4",
1568
+ "#F9B052",
1569
+ "#8454D4",
1570
+ "#42C724",
1571
+ "#FF4B4B",
1572
+ "#904026",
1573
+ "#4B25B3",
1574
+ "#C50669"
1575
+ ]
1576
+ }
1577
+ },
883
1578
  padding: {
884
1579
  top: 60,
885
1580
  right: 60,
886
- bottom: 160,
887
- left: 60
1581
+ bottom: 140,
1582
+ left: 80
888
1583
  },
889
1584
  highlightTarget: "series"
890
1585
  },
@@ -908,15 +1603,31 @@ const _ = {
908
1603
  listRectHeight: 2
909
1604
  }
910
1605
  }
911
- }, U = {
1606
+ }, Y = {
912
1607
  name: "PRESET_LINES_WITH_SOLID_DOTS",
913
1608
  description: "折線圖及實心圓點",
914
1609
  chartParams: {
1610
+ colors: {
1611
+ light: {
1612
+ label: [
1613
+ "#4BABFF",
1614
+ "#FFA0A0",
1615
+ "#7DD3C4",
1616
+ "#F9B052",
1617
+ "#8454D4",
1618
+ "#42C724",
1619
+ "#FF4B4B",
1620
+ "#904026",
1621
+ "#4B25B3",
1622
+ "#C50669"
1623
+ ]
1624
+ }
1625
+ },
915
1626
  padding: {
916
1627
  top: 60,
917
1628
  right: 60,
918
- bottom: 120,
919
- left: 60
1629
+ bottom: 100,
1630
+ left: 80
920
1631
  },
921
1632
  highlightTarget: "series"
922
1633
  },
@@ -925,7 +1636,7 @@ const _ = {
925
1636
  Lines: {},
926
1637
  Dots: {
927
1638
  radius: 3,
928
- fillColorType: "series",
1639
+ fillColorType: "label",
929
1640
  onlyShowHighlighted: !1
930
1641
  },
931
1642
  GroupAxis: {},
@@ -939,15 +1650,31 @@ const _ = {
939
1650
  listRectHeight: 2
940
1651
  }
941
1652
  }
942
- }, f = {
1653
+ }, Z = {
943
1654
  name: "PRESET_MULTI_GRID_BASIC",
944
1655
  description: "基本MultiGrid參數",
945
1656
  chartParams: {
1657
+ colors: {
1658
+ light: {
1659
+ label: [
1660
+ "#4BABFF",
1661
+ "#94D6CB",
1662
+ "#F9B052",
1663
+ "#8454D4",
1664
+ "#D58C75",
1665
+ "#42C724",
1666
+ "#FF8B8B",
1667
+ "#904026",
1668
+ "#C50669",
1669
+ "#4B25B3"
1670
+ ]
1671
+ }
1672
+ },
946
1673
  padding: {
947
1674
  top: 60,
948
1675
  right: 60,
949
- bottom: 120,
950
- left: 60
1676
+ bottom: 100,
1677
+ left: 80
951
1678
  },
952
1679
  highlightTarget: "series"
953
1680
  },
@@ -967,15 +1694,31 @@ const _ = {
967
1694
  ]
968
1695
  }
969
1696
  }
970
- }, C = {
1697
+ }, y = {
971
1698
  name: "PRESET_MULTI_GRID_DIVERGING",
972
1699
  description: "雙向折線圖",
973
1700
  chartParams: {
1701
+ colors: {
1702
+ light: {
1703
+ label: [
1704
+ "#4BABFF",
1705
+ "#94D6CB",
1706
+ "#F9B052",
1707
+ "#8454D4",
1708
+ "#D58C75",
1709
+ "#42C724",
1710
+ "#FF8B8B",
1711
+ "#904026",
1712
+ "#C50669",
1713
+ "#4B25B3"
1714
+ ]
1715
+ }
1716
+ },
974
1717
  padding: {
975
1718
  top: 60,
976
1719
  right: 60,
977
- bottom: 120,
978
- left: 60
1720
+ bottom: 100,
1721
+ left: 80
979
1722
  }
980
1723
  },
981
1724
  dataFormatter: {
@@ -1001,7 +1744,7 @@ const _ = {
1001
1744
  ],
1002
1745
  // 設定排版方式
1003
1746
  container: {
1004
- gap: 200,
1747
+ gap: 160,
1005
1748
  rowAmount: 1,
1006
1749
  columnAmount: 2
1007
1750
  },
@@ -1011,21 +1754,20 @@ const _ = {
1011
1754
  allPluginParams: {
1012
1755
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1013
1756
  MultiGroupAxis: {
1014
- tickPadding: 60,
1015
- // 加長間距
1757
+ // tickPadding: 60, // 加長間距
1016
1758
  gridIndexes: [0]
1017
1759
  // 只顯示一個
1018
1760
  },
1019
1761
  MultiValueAxis: {
1020
1762
  gridIndexes: [0, 1]
1021
1763
  },
1022
- MultiValueStackAxis: {
1764
+ MultiStackedValueAxis: {
1023
1765
  gridIndexes: [0, 1]
1024
1766
  },
1025
1767
  MultiBars: {
1026
1768
  gridIndexes: [0, 1]
1027
1769
  },
1028
- MultiBarStack: {
1770
+ MultiStackedBar: {
1029
1771
  gridIndexes: [0, 1]
1030
1772
  },
1031
1773
  MultiBarsTriangle: {
@@ -1047,15 +1789,31 @@ const _ = {
1047
1789
  padding: 14
1048
1790
  }
1049
1791
  }
1050
- }, F = {
1792
+ }, X = {
1051
1793
  name: "PRESET_MULTI_GRID_ROUND_STYLE",
1052
1794
  description: "MultiGrid圓弧風格",
1053
1795
  chartParams: {
1796
+ colors: {
1797
+ light: {
1798
+ label: [
1799
+ "#4BABFF",
1800
+ "#94D6CB",
1801
+ "#F9B052",
1802
+ "#8454D4",
1803
+ "#D58C75",
1804
+ "#42C724",
1805
+ "#FF8B8B",
1806
+ "#904026",
1807
+ "#C50669",
1808
+ "#4B25B3"
1809
+ ]
1810
+ }
1811
+ },
1054
1812
  padding: {
1055
1813
  top: 60,
1056
1814
  right: 60,
1057
- bottom: 120,
1058
- left: 60
1815
+ bottom: 100,
1816
+ left: 80
1059
1817
  },
1060
1818
  highlightTarget: "series"
1061
1819
  },
@@ -1067,7 +1825,7 @@ const _ = {
1067
1825
  barGroupPadding: 10,
1068
1826
  barRadius: !0
1069
1827
  },
1070
- MultiBarStack: {},
1828
+ MultiStackedBar: {},
1071
1829
  MultiDots: {},
1072
1830
  MultiGridLegend: {
1073
1831
  // position: 'bottom',
@@ -1090,19 +1848,35 @@ const _ = {
1090
1848
  lineWidth: 3
1091
1849
  },
1092
1850
  MultiValueAxis: {},
1093
- MultiValueStackAxis: {},
1851
+ MultiStackedValueAxis: {},
1094
1852
  OverlappingValueAxes: {},
1095
- OverlappingValueStackAxes: {}
1853
+ OverlappingStackedValueAxes: {}
1096
1854
  }
1097
- }, V = {
1855
+ }, w = {
1098
1856
  name: "PRESET_MULTI_GRID_SEPARATE_GRID",
1099
1857
  description: "2組Grid圖表",
1100
1858
  chartParams: {
1859
+ colors: {
1860
+ light: {
1861
+ label: [
1862
+ "#4BABFF",
1863
+ "#94D6CB",
1864
+ "#F9B052",
1865
+ "#8454D4",
1866
+ "#D58C75",
1867
+ "#42C724",
1868
+ "#FF8B8B",
1869
+ "#904026",
1870
+ "#C50669",
1871
+ "#4B25B3"
1872
+ ]
1873
+ }
1874
+ },
1101
1875
  padding: {
1102
1876
  top: 60,
1103
1877
  right: 60,
1104
- bottom: 160,
1105
- left: 60
1878
+ bottom: 140,
1879
+ left: 80
1106
1880
  }
1107
1881
  },
1108
1882
  dataFormatter: {
@@ -1117,13 +1891,13 @@ const _ = {
1117
1891
  MultiValueAxis: {
1118
1892
  gridIndexes: "all"
1119
1893
  },
1120
- MultiValueStackAxis: {
1894
+ MultiStackedValueAxis: {
1121
1895
  gridIndexes: "all"
1122
1896
  },
1123
1897
  MultiBars: {
1124
1898
  gridIndexes: "all"
1125
1899
  },
1126
- MultiBarStack: {
1900
+ MultiStackedBar: {
1127
1901
  gridIndexes: "all"
1128
1902
  },
1129
1903
  MultiBarsTriangle: {
@@ -1145,17 +1919,33 @@ const _ = {
1145
1919
  padding: 14
1146
1920
  }
1147
1921
  }
1148
- }, a = {
1922
+ }, e = {
1149
1923
  // Tooltip: {},
1150
- }, k = {
1924
+ }, z = {
1151
1925
  name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID",
1152
1926
  description: "2組區域圖表",
1153
1927
  chartParams: {
1928
+ colors: {
1929
+ light: {
1930
+ label: [
1931
+ "#4BABFF",
1932
+ "#94D6CB",
1933
+ "#F9B052",
1934
+ "#8454D4",
1935
+ "#D58C75",
1936
+ "#42C724",
1937
+ "#FF8B8B",
1938
+ "#904026",
1939
+ "#C50669",
1940
+ "#4B25B3"
1941
+ ]
1942
+ }
1943
+ },
1154
1944
  padding: {
1155
1945
  top: 60,
1156
1946
  right: 60,
1157
- bottom: 160,
1158
- left: 60
1947
+ bottom: 140,
1948
+ left: 80
1159
1949
  }
1160
1950
  },
1161
1951
  dataFormatter: {
@@ -1180,7 +1970,7 @@ const _ = {
1180
1970
  // }
1181
1971
  },
1182
1972
  allPluginParams: {
1183
- ...a,
1973
+ ...e,
1184
1974
  MultiGroupAxis: {
1185
1975
  tickTextRotate: -30,
1186
1976
  gridIndexes: "all"
@@ -1188,13 +1978,13 @@ const _ = {
1188
1978
  MultiValueAxis: {
1189
1979
  gridIndexes: "all"
1190
1980
  },
1191
- MultiValueStackAxis: {
1981
+ MultiStackedValueAxis: {
1192
1982
  gridIndexes: "all"
1193
1983
  },
1194
1984
  MultiBars: {
1195
1985
  gridIndexes: "all"
1196
1986
  },
1197
- MultiBarStack: {
1987
+ MultiStackedBar: {
1198
1988
  gridIndexes: "all"
1199
1989
  },
1200
1990
  MultiBarsTriangle: {
@@ -1242,22 +2032,38 @@ const _ = {
1242
2032
  ]
1243
2033
  }
1244
2034
  }
1245
- }, W = {
2035
+ }, K = {
1246
2036
  name: "PRESET_MULTI_LINES_SEPARATE_GRID",
1247
2037
  description: "多組分開折線圖表",
1248
2038
  chartParams: {
2039
+ colors: {
2040
+ light: {
2041
+ label: [
2042
+ "#4BABFF",
2043
+ "#94D6CB",
2044
+ "#F9B052",
2045
+ "#8454D4",
2046
+ "#D58C75",
2047
+ "#42C724",
2048
+ "#FF8B8B",
2049
+ "#904026",
2050
+ "#C50669",
2051
+ "#4B25B3"
2052
+ ]
2053
+ }
2054
+ },
1249
2055
  padding: {
1250
2056
  top: 60,
1251
2057
  right: 60,
1252
- bottom: 160,
1253
- left: 60
2058
+ bottom: 140,
2059
+ left: 80
1254
2060
  }
1255
2061
  },
1256
2062
  dataFormatter: {
1257
2063
  separateGrid: !0
1258
2064
  },
1259
2065
  allPluginParams: {
1260
- ...a,
2066
+ ...e,
1261
2067
  MultiGroupAxis: {
1262
2068
  tickTextRotate: -30,
1263
2069
  gridIndexes: "all"
@@ -1265,13 +2071,13 @@ const _ = {
1265
2071
  MultiValueAxis: {
1266
2072
  gridIndexes: "all"
1267
2073
  },
1268
- MultiValueStackAxis: {
2074
+ MultiStackedValueAxis: {
1269
2075
  gridIndexes: "all"
1270
2076
  },
1271
2077
  MultiBars: {
1272
2078
  gridIndexes: "all"
1273
2079
  },
1274
- MultiBarStack: {
2080
+ MultiStackedBar: {
1275
2081
  gridIndexes: "all"
1276
2082
  },
1277
2083
  MultiBarsTriangle: {
@@ -1319,14 +2125,609 @@ const _ = {
1319
2125
  ]
1320
2126
  }
1321
2127
  }
1322
- }, X = {
1323
- name: "PRESET_TREE_BASIC",
1324
- description: "基本Tree參數",
2128
+ }, j = {
2129
+ name: "PRESET_MULTI_VALUE_BASIC",
2130
+ description: "基本MultiValue參數",
2131
+ chartParams: {
2132
+ colors: {
2133
+ light: {
2134
+ label: [
2135
+ "#7DD3C4",
2136
+ "#FFA0A0",
2137
+ "#6CBAFF",
2138
+ "#55D339",
2139
+ "#F9B052",
2140
+ "#FF6C6C",
2141
+ "#8E6BC9",
2142
+ "#0088FF",
2143
+ "#904026",
2144
+ "#C4C4C4"
2145
+ ]
2146
+ }
2147
+ },
2148
+ padding: {
2149
+ top: 60,
2150
+ right: 60,
2151
+ bottom: 100,
2152
+ left: 60
2153
+ }
2154
+ },
2155
+ allPluginParams: {
2156
+ MultiValueLegend: {
2157
+ placement: "bottom",
2158
+ padding: 14
2159
+ }
2160
+ }
2161
+ }, q = {
2162
+ name: "PRESET_MULTI_VALUE_SEPARATE_CATEGORY",
2163
+ description: "MultiValue 分開顯示category",
2164
+ chartParams: {
2165
+ colors: {
2166
+ light: {
2167
+ label: [
2168
+ "#7DD3C4",
2169
+ "#FFA0A0",
2170
+ "#6CBAFF",
2171
+ "#55D339",
2172
+ "#F9B052",
2173
+ "#FF6C6C",
2174
+ "#8E6BC9",
2175
+ "#0088FF",
2176
+ "#904026",
2177
+ "#C4C4C4"
2178
+ ]
2179
+ }
2180
+ },
2181
+ padding: {
2182
+ top: 60,
2183
+ right: 60,
2184
+ bottom: 100,
2185
+ left: 60
2186
+ }
2187
+ },
2188
+ dataFormatter: {
2189
+ separateCategory: !0
2190
+ },
2191
+ allPluginParams: {
2192
+ MultiValueLegend: {
2193
+ placement: "bottom",
2194
+ padding: 14
2195
+ }
2196
+ }
2197
+ }, J = {
2198
+ name: "PRESET_SCATTER_BASIC",
2199
+ description: "基本散布圖",
2200
+ chartParams: {
2201
+ colors: {
2202
+ light: {
2203
+ label: [
2204
+ "#16B59B",
2205
+ "#0088FF",
2206
+ "#FF3232",
2207
+ "#8E6BC9",
2208
+ "#904026",
2209
+ "#D117EA",
2210
+ "#F38428",
2211
+ "#6BDC51",
2212
+ "#C50669",
2213
+ "#4B25B3"
2214
+ ]
2215
+ }
2216
+ },
2217
+ padding: {
2218
+ top: 60,
2219
+ right: 60,
2220
+ bottom: 100,
2221
+ left: 60
2222
+ }
2223
+ },
2224
+ allPluginParams: {
2225
+ MultiValueLegend: {
2226
+ placement: "bottom",
2227
+ padding: 14
2228
+ }
2229
+ }
2230
+ }, Q = {
2231
+ name: "PRESET_SCATTER_SEPARATE_CATEGORY",
2232
+ description: "分開顯示category的散布圖",
2233
+ chartParams: {
2234
+ colors: {
2235
+ light: {
2236
+ label: [
2237
+ "#16B59B",
2238
+ "#0088FF",
2239
+ "#FF3232",
2240
+ "#8E6BC9",
2241
+ "#904026",
2242
+ "#D117EA",
2243
+ "#F38428",
2244
+ "#6BDC51",
2245
+ "#C50669",
2246
+ "#4B25B3"
2247
+ ]
2248
+ }
2249
+ },
2250
+ padding: {
2251
+ top: 60,
2252
+ right: 60,
2253
+ bottom: 100,
2254
+ left: 60
2255
+ }
2256
+ },
2257
+ dataFormatter: {
2258
+ separateCategory: !0
2259
+ },
2260
+ allPluginParams: {
2261
+ MultiValueLegend: {
2262
+ placement: "bottom",
2263
+ padding: 14
2264
+ }
2265
+ }
2266
+ }, $ = {
2267
+ name: "PRESET_SCATTER_BUBBLES_BASIC",
2268
+ description: "基本的散布泡泡圖",
2269
+ chartParams: {
2270
+ colors: {
2271
+ light: {
2272
+ label: [
2273
+ "#6CBAFF",
2274
+ "#FF6C6C",
2275
+ "#F9B052",
2276
+ "#7DD3C4",
2277
+ "#AA93D2",
2278
+ "#0088FF",
2279
+ "#FFBABA",
2280
+ "#86DC72",
2281
+ "#EF76FF",
2282
+ "#C4C4C4"
2283
+ ]
2284
+ }
2285
+ },
2286
+ padding: {
2287
+ top: 60,
2288
+ right: 60,
2289
+ bottom: 100,
2290
+ left: 60
2291
+ }
2292
+ },
2293
+ allPluginParams: {
2294
+ MultiValueLegend: {
2295
+ placement: "bottom",
2296
+ padding: 14
2297
+ }
2298
+ }
2299
+ }, tt = {
2300
+ name: "PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS",
2301
+ description: "以半徑尺寸為比例的散布泡泡圖",
2302
+ chartParams: {
2303
+ colors: {
2304
+ light: {
2305
+ label: [
2306
+ "#6CBAFF",
2307
+ "#FF6C6C",
2308
+ "#F9B052",
2309
+ "#7DD3C4",
2310
+ "#AA93D2",
2311
+ "#0088FF",
2312
+ "#FFBABA",
2313
+ "#86DC72",
2314
+ "#EF76FF",
2315
+ "#C4C4C4"
2316
+ ]
2317
+ }
2318
+ },
2319
+ padding: {
2320
+ top: 60,
2321
+ right: 60,
2322
+ bottom: 100,
2323
+ left: 60
2324
+ }
2325
+ },
2326
+ allPluginParams: {
2327
+ MultiValueLegend: {
2328
+ placement: "bottom",
2329
+ padding: 14
2330
+ },
2331
+ ScatterBubbles: {
2332
+ arcScaleType: "radius"
2333
+ }
2334
+ }
2335
+ }, at = {
2336
+ name: "PRESET_SCATTER_BUBBLES_LINEAR_OPACITY",
2337
+ description: "漸變透明度的散布泡泡圖",
2338
+ chartParams: {
2339
+ colors: {
2340
+ light: {
2341
+ label: [
2342
+ "#6CBAFF",
2343
+ "#FF6C6C",
2344
+ "#F9B052",
2345
+ "#7DD3C4",
2346
+ "#AA93D2",
2347
+ "#0088FF",
2348
+ "#FFBABA",
2349
+ "#86DC72",
2350
+ "#EF76FF",
2351
+ "#C4C4C4"
2352
+ ]
2353
+ }
2354
+ },
2355
+ padding: {
2356
+ top: 60,
2357
+ right: 60,
2358
+ bottom: 100,
2359
+ left: 60
2360
+ }
2361
+ },
2362
+ allPluginParams: {
2363
+ MultiValueLegend: {
2364
+ placement: "bottom",
2365
+ padding: 14
2366
+ },
2367
+ ScatterBubbles: {
2368
+ valueLinearOpacity: [0.6, 0.95]
2369
+ }
2370
+ }
2371
+ }, et = {
2372
+ name: "PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY",
2373
+ description: "分開顯示category的散布泡泡圖",
2374
+ chartParams: {
2375
+ colors: {
2376
+ light: {
2377
+ label: [
2378
+ "#6CBAFF",
2379
+ "#FF6C6C",
2380
+ "#F9B052",
2381
+ "#7DD3C4",
2382
+ "#AA93D2",
2383
+ "#0088FF",
2384
+ "#FFBABA",
2385
+ "#86DC72",
2386
+ "#EF76FF",
2387
+ "#C4C4C4"
2388
+ ]
2389
+ }
2390
+ },
2391
+ padding: {
2392
+ top: 60,
2393
+ right: 60,
2394
+ bottom: 100,
2395
+ left: 60
2396
+ }
2397
+ },
2398
+ dataFormatter: {
2399
+ separateCategory: !0
2400
+ },
2401
+ allPluginParams: {
2402
+ MultiValueLegend: {
2403
+ placement: "bottom",
2404
+ padding: 14
2405
+ }
2406
+ }
2407
+ }, it = {
2408
+ name: "PRESET_FORCE_DIRECTED_BASIC",
2409
+ description: "基本Force Directed參數",
2410
+ chartParams: {
2411
+ colors: {
2412
+ light: {
2413
+ label: [
2414
+ "#4BABFF",
2415
+ "#FFA0A0",
2416
+ "#7DD3C4",
2417
+ "#F9B052",
2418
+ "#8454D4",
2419
+ "#42C724",
2420
+ "#FF4B4B",
2421
+ "#904026",
2422
+ "#4B25B3",
2423
+ "#C50669"
2424
+ ]
2425
+ }
2426
+ }
2427
+ // padding: {
2428
+ // top: 40,
2429
+ // right: 40,
2430
+ // bottom: 60,
2431
+ // left: 40
2432
+ // },
2433
+ },
2434
+ allPluginParams: {
2435
+ ForceDirected: {},
2436
+ RelationshipLegend: {
2437
+ listRectRadius: 7
2438
+ // 圓型圖例列點
2439
+ }
2440
+ }
2441
+ }, lt = {
2442
+ name: "PRESET_FORCE_DIRECTED_BUBBLES_BASIC",
2443
+ description: "基本Force Directed Bubbles參數",
2444
+ chartParams: {
2445
+ colors: {
2446
+ light: {
2447
+ label: [
2448
+ "#6CBAFF",
2449
+ "#FF6C6C",
2450
+ "#F9B052",
2451
+ "#7DD3C4",
2452
+ "#AA93D2",
2453
+ "#0088FF",
2454
+ "#FFBABA",
2455
+ "#86DC72",
2456
+ "#EF76FF",
2457
+ "#C4C4C4"
2458
+ ]
2459
+ }
2460
+ }
2461
+ // padding: {
2462
+ // top: 40,
2463
+ // right: 40,
2464
+ // bottom: 60,
2465
+ // left: 40
2466
+ // },
2467
+ },
2468
+ allPluginParams: {
2469
+ ForceDirectedBubbles: {},
2470
+ RelationshipLegend: {
2471
+ listRectRadius: 7
2472
+ // 圓型圖例列點
2473
+ }
2474
+ }
2475
+ }, rt = {
2476
+ name: "PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH",
2477
+ description: "Force Directed Bubbles固定箭頭寬度",
2478
+ chartParams: {
2479
+ colors: {
2480
+ light: {
2481
+ label: [
2482
+ "#6CBAFF",
2483
+ "#FF6C6C",
2484
+ "#F9B052",
2485
+ "#7DD3C4",
2486
+ "#AA93D2",
2487
+ "#0088FF",
2488
+ "#FFBABA",
2489
+ "#86DC72",
2490
+ "#EF76FF",
2491
+ "#C4C4C4"
2492
+ ]
2493
+ }
2494
+ }
2495
+ // padding: {
2496
+ // top: 40,
2497
+ // right: 40,
2498
+ // bottom: 60,
2499
+ // left: 40
2500
+ // },
2501
+ },
2502
+ allPluginParams: {
2503
+ ForceDirectedBubbles: {
2504
+ arrow: {
2505
+ strokeWidthMin: 1.5,
2506
+ strokeWidthMax: 1.5
2507
+ }
2508
+ },
2509
+ RelationshipLegend: {
2510
+ listRectRadius: 7
2511
+ // 圓型圖例列點
2512
+ }
2513
+ }
2514
+ }, st = {
2515
+ name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW",
2516
+ description: "Force Directed Bubbles沒有箭頭",
2517
+ chartParams: {
2518
+ colors: {
2519
+ light: {
2520
+ label: [
2521
+ "#6CBAFF",
2522
+ "#FF6C6C",
2523
+ "#F9B052",
2524
+ "#7DD3C4",
2525
+ "#AA93D2",
2526
+ "#0088FF",
2527
+ "#FFBABA",
2528
+ "#86DC72",
2529
+ "#EF76FF",
2530
+ "#C4C4C4"
2531
+ ]
2532
+ }
2533
+ }
2534
+ // padding: {
2535
+ // top: 40,
2536
+ // right: 40,
2537
+ // bottom: 60,
2538
+ // left: 40
2539
+ // },
2540
+ },
2541
+ allPluginParams: {
2542
+ ForceDirectedBubbles: {
2543
+ arrow: {
2544
+ pointerWidth: 0,
2545
+ pointerHeight: 0
2546
+ // strokeWidthMin: 1.5,
2547
+ // strokeWidthMax: 9
2548
+ }
2549
+ },
2550
+ RelationshipLegend: {
2551
+ listRectRadius: 7
2552
+ // 圓型圖例列點
2553
+ }
2554
+ }
2555
+ }, ot = {
2556
+ name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM",
2557
+ description: "Force Directed Bubbles無滑鼠托曳及縮放控制",
2558
+ chartParams: {
2559
+ colors: {
2560
+ light: {
2561
+ label: [
2562
+ "#6CBAFF",
2563
+ "#FF6C6C",
2564
+ "#F9B052",
2565
+ "#7DD3C4",
2566
+ "#AA93D2",
2567
+ "#0088FF",
2568
+ "#FFBABA",
2569
+ "#86DC72",
2570
+ "#EF76FF",
2571
+ "#C4C4C4"
2572
+ ]
2573
+ }
2574
+ }
2575
+ // padding: {
2576
+ // top: 40,
2577
+ // right: 40,
2578
+ // bottom: 60,
2579
+ // left: 40
2580
+ // },
2581
+ },
2582
+ allPluginParams: {
2583
+ ForceDirectedBubbles: {
2584
+ zoomable: !1
2585
+ },
2586
+ RelationshipLegend: {
2587
+ listRectRadius: 7
2588
+ // 圓型圖例列點
2589
+ }
2590
+ }
2591
+ }, Et = {
2592
+ name: "PRESET_FORCE_DIRECTED_NONE_ZOOM",
2593
+ description: "Force Directed無滑鼠托曳及縮放控制",
2594
+ chartParams: {
2595
+ colors: {
2596
+ light: {
2597
+ label: [
2598
+ "#4BABFF",
2599
+ "#FFA0A0",
2600
+ "#7DD3C4",
2601
+ "#F9B052",
2602
+ "#8454D4",
2603
+ "#42C724",
2604
+ "#FF4B4B",
2605
+ "#904026",
2606
+ "#4B25B3",
2607
+ "#C50669"
2608
+ ]
2609
+ }
2610
+ }
2611
+ // padding: {
2612
+ // top: 40,
2613
+ // right: 40,
2614
+ // bottom: 60,
2615
+ // left: 40
2616
+ // },
2617
+ },
2618
+ allPluginParams: {
2619
+ ForceDirected: {
2620
+ zoomable: !1
2621
+ },
2622
+ RelationshipLegend: {
2623
+ listRectRadius: 7
2624
+ // 圓型圖例列點
2625
+ }
2626
+ }
2627
+ }, nt = {
2628
+ name: "PRESET_FORCE_DIRECTED_FIX_FONT_SIZE",
2629
+ description: "基本Force Directed參數",
2630
+ chartParams: {
2631
+ colors: {
2632
+ light: {
2633
+ label: [
2634
+ "#4BABFF",
2635
+ "#FFA0A0",
2636
+ "#7DD3C4",
2637
+ "#F9B052",
2638
+ "#8454D4",
2639
+ "#42C724",
2640
+ "#FF4B4B",
2641
+ "#904026",
2642
+ "#4B25B3",
2643
+ "#C50669"
2644
+ ]
2645
+ }
2646
+ }
2647
+ // padding: {
2648
+ // top: 40,
2649
+ // right: 40,
2650
+ // bottom: 60,
2651
+ // left: 40
2652
+ // },
2653
+ },
2654
+ allPluginParams: {
2655
+ ForceDirected: {
2656
+ dotLabel: {
2657
+ sizeFixed: !0
2658
+ },
2659
+ arrowLabel: {
2660
+ sizeFixed: !0
2661
+ }
2662
+ },
2663
+ RelationshipLegend: {
2664
+ listRectRadius: 7
2665
+ // 圓型圖例列點
2666
+ }
2667
+ }
2668
+ }, Ft = {
2669
+ name: "PRESET_FORCE_DIRECTED_NONE_ARROW",
2670
+ description: "Force Directed沒有箭頭",
2671
+ chartParams: {
2672
+ colors: {
2673
+ light: {
2674
+ label: [
2675
+ "#4BABFF",
2676
+ "#FFA0A0",
2677
+ "#7DD3C4",
2678
+ "#F9B052",
2679
+ "#8454D4",
2680
+ "#42C724",
2681
+ "#FF4B4B",
2682
+ "#904026",
2683
+ "#4B25B3",
2684
+ "#C50669"
2685
+ ]
2686
+ }
2687
+ }
2688
+ // padding: {
2689
+ // top: 40,
2690
+ // right: 40,
2691
+ // bottom: 60,
2692
+ // left: 40
2693
+ // },
2694
+ },
2695
+ allPluginParams: {
2696
+ ForceDirected: {
2697
+ arrow: {
2698
+ pointerWidth: 0,
2699
+ pointerHeight: 0
2700
+ }
2701
+ },
2702
+ RelationshipLegend: {
2703
+ listRectRadius: 7
2704
+ // 圓型圖例列點
2705
+ }
2706
+ }
2707
+ }, dt = {
2708
+ name: "PRESET_TREE_MAP_BASIC",
2709
+ description: "基本Tree Map參數",
1325
2710
  chartParams: {
2711
+ colors: {
2712
+ light: {
2713
+ label: [
2714
+ "#4BABFF",
2715
+ "#94D6CB",
2716
+ "#F9B052",
2717
+ "#8454D4",
2718
+ "#D58C75",
2719
+ "#42C724",
2720
+ "#FF8B8B",
2721
+ "#904026",
2722
+ "#C50669",
2723
+ "#4B25B3"
2724
+ ]
2725
+ }
2726
+ },
1326
2727
  padding: {
1327
2728
  top: 40,
1328
2729
  right: 40,
1329
- bottom: 60,
2730
+ bottom: 70,
1330
2731
  left: 40
1331
2732
  }
1332
2733
  },
@@ -1342,44 +2743,67 @@ const _ = {
1342
2743
  }
1343
2744
  };
1344
2745
  export {
1345
- _ as PRESET_BARS_HORIZONTAL_AND_ROUND,
1346
- P as PRESET_BARS_HORIZONTAL_AND_THIN,
1347
- p as PRESET_BARS_ROUND,
1348
- A as PRESET_BARS_THIN,
1349
- u as PRESET_BUBBLES_SCALING_BY_RADIUS,
1350
- S as PRESET_BUBBLES_SEPARATE_SERIES,
1351
- m as PRESET_GRID_BASIC,
1352
- c as PRESET_GRID_HORIZONTAL,
1353
- I as PRESET_GRID_PN_SCALE,
1354
- T as PRESET_GRID_ROTATE_AXIS_LABEL,
1355
- L as PRESET_GRID_SEPARATE_SERIES,
1356
- D as PRESET_LINES_BASIC,
1357
- B as PRESET_LINES_CURVE,
1358
- v as PRESET_LINES_HORIZONTAL,
1359
- O as PRESET_LINES_LOOSE_TICKS,
1360
- H as PRESET_LINES_ROTATE_AXIS_LABEL,
1361
- U as PRESET_LINES_WITH_SOLID_DOTS,
1362
- h as PRESET_LINE_AREAS_BASIC,
1363
- x as PRESET_LINE_AREAS_CURVE,
1364
- b as PRESET_LINE_AREAS_HORIZONTAL,
1365
- G as PRESET_LINE_AREAS_LOOSE_TICKS,
1366
- M as PRESET_LINE_AREAS_ROTATE_AXIS_LABEL,
1367
- N as PRESET_LINE_AREAS_SEPARATE_SERIES,
1368
- f as PRESET_MULTI_GRID_BASIC,
1369
- C as PRESET_MULTI_GRID_DIVERGING,
1370
- F as PRESET_MULTI_GRID_ROUND_STYLE,
1371
- V as PRESET_MULTI_GRID_SEPARATE_GRID,
1372
- W as PRESET_MULTI_LINES_SEPARATE_GRID,
1373
- k as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID,
1374
- i as PRESET_PIE_BASIC,
2746
+ m as PRESET_BARS_HORIZONTAL_AND_ROUND,
2747
+ p as PRESET_BARS_HORIZONTAL_AND_THIN,
2748
+ D as PRESET_BARS_ROUND,
2749
+ T as PRESET_BARS_THIN,
2750
+ C as PRESET_BUBBLES_BASIC,
2751
+ c as PRESET_BUBBLES_SCALING_BY_RADIUS,
2752
+ u as PRESET_BUBBLES_SEPARATE_SERIES,
2753
+ i as PRESET_BUBBLES_SUM_SERIES,
2754
+ it as PRESET_FORCE_DIRECTED_BASIC,
2755
+ lt as PRESET_FORCE_DIRECTED_BUBBLES_BASIC,
2756
+ rt as PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH,
2757
+ st as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW,
2758
+ ot as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM,
2759
+ nt as PRESET_FORCE_DIRECTED_FIX_FONT_SIZE,
2760
+ Ft as PRESET_FORCE_DIRECTED_NONE_ARROW,
2761
+ Et as PRESET_FORCE_DIRECTED_NONE_ZOOM,
2762
+ I as PRESET_GRID_BASIC,
2763
+ h as PRESET_GRID_HORIZONTAL,
2764
+ b as PRESET_GRID_PN_SCALE,
2765
+ L as PRESET_GRID_ROTATE_AXIS_LABEL,
2766
+ x as PRESET_GRID_SEPARATE_SERIES,
2767
+ H as PRESET_LINES_BASIC,
2768
+ f as PRESET_LINES_CURVE,
2769
+ V as PRESET_LINES_HORIZONTAL,
2770
+ k as PRESET_LINES_LOOSE_TICKS,
2771
+ W as PRESET_LINES_ROTATE_AXIS_LABEL,
2772
+ Y as PRESET_LINES_WITH_SOLID_DOTS,
2773
+ G as PRESET_LINE_AREAS_BASIC,
2774
+ O as PRESET_LINE_AREAS_CURVE,
2775
+ M as PRESET_LINE_AREAS_HORIZONTAL,
2776
+ N as PRESET_LINE_AREAS_LOOSE_TICKS,
2777
+ v as PRESET_LINE_AREAS_ROTATE_AXIS_LABEL,
2778
+ U as PRESET_LINE_AREAS_SEPARATE_SERIES,
2779
+ Z as PRESET_MULTI_GRID_BASIC,
2780
+ y as PRESET_MULTI_GRID_DIVERGING,
2781
+ X as PRESET_MULTI_GRID_ROUND_STYLE,
2782
+ w as PRESET_MULTI_GRID_SEPARATE_GRID,
2783
+ K as PRESET_MULTI_LINES_SEPARATE_GRID,
2784
+ z as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID,
2785
+ j as PRESET_MULTI_VALUE_BASIC,
2786
+ q as PRESET_MULTI_VALUE_SEPARATE_CATEGORY,
2787
+ l as PRESET_PIE_BASIC,
1375
2788
  r as PRESET_PIE_DONUT,
1376
2789
  s as PRESET_PIE_HALF_DONUT,
1377
- l as PRESET_PIE_WITH_INNER_LABELS,
1378
- o as PRESET_ROSE_BASIC,
1379
- n as PRESET_ROSE_SCALING_BY_RADIUS,
1380
- R as PRESET_SERIES_BASIC,
1381
- g as PRESET_SERIES_SEPARATE_SERIES,
1382
- d as PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES,
1383
- E as PRESET_SERIES_SUM_SERIES,
1384
- X as PRESET_TREE_BASIC
2790
+ E as PRESET_PIE_SEPARATE_SERIES,
2791
+ n as PRESET_PIE_SUM_SERIES,
2792
+ o as PRESET_PIE_WITH_INNER_LABELS,
2793
+ F as PRESET_ROSE_BASIC,
2794
+ d as PRESET_ROSE_SCALING_BY_RADIUS,
2795
+ A as PRESET_ROSE_SEPARATE_SERIES,
2796
+ g as PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES,
2797
+ B as PRESET_ROSE_SUM_SERIES,
2798
+ J as PRESET_SCATTER_BASIC,
2799
+ $ as PRESET_SCATTER_BUBBLES_BASIC,
2800
+ at as PRESET_SCATTER_BUBBLES_LINEAR_OPACITY,
2801
+ tt as PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS,
2802
+ et as PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY,
2803
+ Q as PRESET_SCATTER_SEPARATE_CATEGORY,
2804
+ P as PRESET_SERIES_BASIC,
2805
+ R as PRESET_SERIES_SEPARATE_SERIES,
2806
+ S as PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES,
2807
+ _ as PRESET_SERIES_SUM_SERIES,
2808
+ dt as PRESET_TREE_MAP_BASIC
1385
2809
  };