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

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 (138) hide show
  1. package/dist/orbcharts-presets-basic.es.js +1944 -642
  2. package/dist/orbcharts-presets-basic.umd.js +1 -1
  3. package/dist/src/grid/PRESET_GRID_PN_SCALE_SIMPLE.d.ts +4 -0
  4. package/dist/src/grid/PRESET_GRID_SIMPLE.d.ts +4 -0
  5. package/dist/src/grid/PRESET_LINES_SIMPLE.d.ts +4 -0
  6. package/dist/src/grid/PRESET_LINE_AREAS_SIMPLE.d.ts +4 -0
  7. package/dist/src/grid/index.d.ts +4 -0
  8. package/dist/src/multiGrid/PRESET_MULTI_GRID_DIVERGING_SIMPLE.d.ts +4 -0
  9. package/dist/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.d.ts +3 -1
  10. package/dist/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE.d.ts +6 -0
  11. package/dist/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE.d.ts +4 -0
  12. package/dist/src/multiGrid/PRESET_MULTI_GRID_SIMPLE.d.ts +4 -0
  13. package/dist/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE.d.ts +4 -0
  14. package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE.d.ts +4 -0
  15. package/dist/src/multiGrid/index.d.ts +6 -0
  16. package/dist/src/multiValue/PRESET_MULTI_VALUE_SIMPLE.d.ts +4 -0
  17. package/dist/src/multiValue/PRESET_RACING_BARS_ALL_ITEMS.d.ts +4 -0
  18. package/dist/src/multiValue/PRESET_RACING_BARS_BASIC.d.ts +4 -0
  19. package/dist/src/multiValue/PRESET_RACING_BARS_FAST.d.ts +4 -0
  20. package/dist/src/multiValue/PRESET_RACING_BARS_FASTER.d.ts +4 -0
  21. package/dist/src/multiValue/PRESET_RACING_BARS_OUTSIDE_LABELS.d.ts +4 -0
  22. package/dist/src/multiValue/PRESET_RACING_BARS_SEPARATE_CATEGORY.d.ts +4 -0
  23. package/dist/src/multiValue/PRESET_RACING_BARS_SIMPLE.d.ts +4 -0
  24. package/dist/src/multiValue/PRESET_RACING_BARS_STOP.d.ts +4 -0
  25. package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_SIMPLE.d.ts +4 -0
  26. package/dist/src/multiValue/PRESET_SCATTER_SIMPLE.d.ts +4 -0
  27. package/dist/src/multiValue/index.d.ts +12 -1
  28. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE.d.ts +4 -0
  29. package/dist/src/relationship/PRESET_FORCE_DIRECTED_SIMPLE.d.ts +4 -0
  30. package/dist/src/relationship/index.d.ts +2 -0
  31. package/dist/src/series/PRESET_BUBBLES_SIMPLE.d.ts +4 -0
  32. package/dist/src/series/PRESET_PIE_SIMPLE.d.ts +4 -0
  33. package/dist/src/series/PRESET_ROSE_SIMPLE.d.ts +4 -0
  34. package/dist/src/series/index.d.ts +3 -0
  35. package/dist/src/tree/PRESET_TREE_MAP_SIMPLE.d.ts +4 -0
  36. package/dist/src/tree/index.d.ts +1 -0
  37. package/dist/src/types.d.ts +23 -17
  38. package/package.json +3 -3
  39. package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +11 -23
  40. package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +5 -12
  41. package/src/grid/PRESET_BARS_ROUND.ts +5 -4
  42. package/src/grid/PRESET_BARS_THIN.ts +5 -4
  43. package/src/grid/PRESET_GRID_BASIC.ts +5 -4
  44. package/src/grid/PRESET_GRID_HORIZONTAL.ts +5 -4
  45. package/src/grid/PRESET_GRID_PN_SCALE.ts +5 -4
  46. package/src/grid/PRESET_GRID_PN_SCALE_SIMPLE.ts +49 -0
  47. package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +5 -4
  48. package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +5 -4
  49. package/src/grid/PRESET_GRID_SIMPLE.ts +44 -0
  50. package/src/grid/PRESET_LINES_BASIC.ts +5 -8
  51. package/src/grid/PRESET_LINES_CURVE.ts +5 -8
  52. package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +5 -8
  53. package/src/grid/PRESET_LINES_HORIZONTAL.ts +11 -22
  54. package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +5 -8
  55. package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +5 -8
  56. package/src/grid/PRESET_LINES_SIMPLE.ts +53 -0
  57. package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +5 -8
  58. package/src/grid/PRESET_LINE_AREAS_BASIC.ts +5 -4
  59. package/src/grid/PRESET_LINE_AREAS_CURVE.ts +5 -4
  60. package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +8 -13
  61. package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +12 -17
  62. package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +8 -13
  63. package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +8 -13
  64. package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +9 -15
  65. package/src/grid/PRESET_LINE_AREAS_SIMPLE.ts +57 -0
  66. package/src/grid/index.ts +4 -0
  67. package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +5 -9
  68. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +6 -10
  69. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING_SIMPLE.ts +101 -0
  70. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +7 -10
  71. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE.ts +81 -0
  72. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +6 -9
  73. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE.ts +84 -0
  74. package/src/multiGrid/PRESET_MULTI_GRID_SIMPLE.ts +60 -0
  75. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +6 -7
  76. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE.ts +110 -0
  77. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +6 -7
  78. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE.ts +113 -0
  79. package/src/multiGrid/index.ts +6 -0
  80. package/src/multiValue/PRESET_MULTI_VALUE_BASIC.ts +6 -6
  81. package/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.ts +14 -6
  82. package/src/multiValue/PRESET_MULTI_VALUE_SIMPLE.ts +39 -0
  83. package/src/multiValue/PRESET_RACING_BARS_ALL_ITEMS.ts +44 -0
  84. package/src/multiValue/PRESET_RACING_BARS_BASIC.ts +43 -0
  85. package/src/multiValue/PRESET_RACING_BARS_FAST.ts +43 -0
  86. package/src/multiValue/PRESET_RACING_BARS_FASTER.ts +43 -0
  87. package/src/multiValue/PRESET_RACING_BARS_OUTSIDE_LABELS.ts +47 -0
  88. package/src/multiValue/PRESET_RACING_BARS_SEPARATE_CATEGORY.ts +60 -0
  89. package/src/multiValue/PRESET_RACING_BARS_SIMPLE.ts +43 -0
  90. package/src/multiValue/PRESET_RACING_BARS_STOP.ts +42 -0
  91. package/src/multiValue/PRESET_SCATTER_BASIC.ts +7 -6
  92. package/src/multiValue/PRESET_SCATTER_BUBBLES_BASIC.ts +7 -6
  93. package/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.ts +7 -6
  94. package/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.ts +7 -6
  95. package/src/multiValue/PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY.ts +7 -6
  96. package/src/multiValue/PRESET_SCATTER_BUBBLES_SIMPLE.ts +40 -0
  97. package/src/multiValue/PRESET_SCATTER_SEPARATE_CATEGORY.ts +15 -6
  98. package/src/multiValue/PRESET_SCATTER_SIMPLE.ts +40 -0
  99. package/src/multiValue/index.ts +13 -2
  100. package/src/params.ts +7 -4
  101. package/src/relationship/PRESET_FORCE_DIRECTED_BASIC.ts +3 -9
  102. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.ts +3 -9
  103. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.ts +3 -9
  104. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.ts +3 -11
  105. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.ts +3 -9
  106. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE.ts +34 -0
  107. package/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.ts +3 -9
  108. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.ts +3 -9
  109. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.ts +3 -9
  110. package/src/relationship/PRESET_FORCE_DIRECTED_SIMPLE.ts +34 -0
  111. package/src/relationship/index.ts +3 -1
  112. package/src/series/PRESET_BUBBLES_BASIC.ts +3 -5
  113. package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +3 -4
  114. package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +3 -4
  115. package/src/series/PRESET_BUBBLES_SIMPLE.ts +39 -0
  116. package/src/series/PRESET_BUBBLES_SUM_SERIES.ts +3 -5
  117. package/src/series/PRESET_PIE_BASIC.ts +3 -4
  118. package/src/series/PRESET_PIE_DONUT.ts +3 -4
  119. package/src/series/PRESET_PIE_HALF_DONUT.ts +3 -4
  120. package/src/series/PRESET_PIE_SEPARATE_SERIES.ts +3 -5
  121. package/src/series/PRESET_PIE_SIMPLE.ts +43 -0
  122. package/src/series/PRESET_PIE_SUM_SERIES.ts +3 -5
  123. package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +3 -4
  124. package/src/series/PRESET_ROSE_BASIC.ts +9 -5
  125. package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +9 -4
  126. package/src/series/PRESET_ROSE_SEPARATE_SERIES.ts +9 -3
  127. package/src/series/PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES.ts +9 -3
  128. package/src/series/PRESET_ROSE_SIMPLE.ts +43 -0
  129. package/src/series/PRESET_ROSE_SUM_SERIES.ts +9 -5
  130. package/src/series/PRESET_SERIES_BASIC.ts +3 -5
  131. package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +3 -5
  132. package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +3 -5
  133. package/src/series/PRESET_SERIES_SUM_SERIES.ts +4 -5
  134. package/src/series/index.ts +3 -0
  135. package/src/tree/PRESET_TREE_MAP_BASIC.ts +3 -2
  136. package/src/tree/PRESET_TREE_MAP_SIMPLE.ts +44 -0
  137. package/src/tree/index.ts +2 -1
  138. package/src/types.ts +38 -19
@@ -1,6 +1,7 @@
1
- const C = {
1
+ const u = {
2
2
  name: "PRESET_BUBBLES_BASIC",
3
- description: "基本泡泡圖",
3
+ description: "Basic bubble chart",
4
+ descriptionZh: "基本泡泡圖",
4
5
  chartParams: {
5
6
  colors: {
6
7
  light: {
@@ -19,17 +20,16 @@ const C = {
19
20
  }
20
21
  }
21
22
  },
22
- allPluginParams: {
23
- // ...ALL_PLUGIN_PARAMS_SERIES,
24
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
23
+ pluginParams: {
25
24
  SeriesLegend: {
26
25
  listRectRadius: 7
27
26
  // 圓型圖例列點
28
27
  }
29
28
  }
30
- }, c = {
29
+ }, _ = {
31
30
  name: "PRESET_BUBBLES_SCALING_BY_RADIUS",
32
- description: "以半徑尺寸為比例的泡泡圖",
31
+ description: "Bubble chart scaled by radius size",
32
+ descriptionZh: "以半徑尺寸為比例的泡泡圖",
33
33
  chartParams: {
34
34
  colors: {
35
35
  light: {
@@ -48,8 +48,7 @@ const C = {
48
48
  }
49
49
  }
50
50
  },
51
- allPluginParams: {
52
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
51
+ pluginParams: {
53
52
  Bubbles: {
54
53
  arcScaleType: "radius"
55
54
  },
@@ -58,9 +57,10 @@ const C = {
58
57
  // 圓型圖例列點
59
58
  }
60
59
  }
61
- }, u = {
60
+ }, C = {
62
61
  name: "PRESET_BUBBLES_SEPARATE_SERIES",
63
- description: "分開顯示Series的泡泡圖",
62
+ description: "Bubble chart showing series separately",
63
+ descriptionZh: "分開顯示Series的泡泡圖",
64
64
  chartParams: {
65
65
  colors: {
66
66
  light: {
@@ -89,8 +89,7 @@ const C = {
89
89
  dataFormatter: {
90
90
  separateSeries: !0
91
91
  },
92
- allPluginParams: {
93
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
92
+ pluginParams: {
94
93
  Bubbles: {},
95
94
  SeriesLegend: {
96
95
  listRectRadius: 7
@@ -98,9 +97,45 @@ const C = {
98
97
  },
99
98
  SeriesTooltip: {}
100
99
  }
100
+ }, m = {
101
+ name: "PRESET_BUBBLES_SIMPLE",
102
+ description: "Simple bubble chart",
103
+ descriptionZh: "簡單泡泡圖",
104
+ chartParams: {
105
+ padding: {
106
+ top: 40,
107
+ right: 40,
108
+ bottom: 40,
109
+ left: 40
110
+ },
111
+ colors: {
112
+ light: {
113
+ label: [
114
+ "#6CBAFF",
115
+ "#FF6C6C",
116
+ "#F9B052",
117
+ "#7DD3C4",
118
+ "#AA93D2",
119
+ "#0088FF",
120
+ "#FFBABA",
121
+ "#86DC72",
122
+ "#EF76FF",
123
+ "#C4C4C4"
124
+ ]
125
+ }
126
+ }
127
+ },
128
+ pluginParams: {
129
+ SeriesLegend: {
130
+ listRectRadius: 7,
131
+ // 圓型圖例列點
132
+ padding: 7
133
+ }
134
+ }
101
135
  }, i = {
102
136
  name: "PRESET_BUBBLES_SUM_SERIES",
103
- description: "合併Series資料的泡泡圖",
137
+ description: "Bubble chart of combined Series data",
138
+ descriptionZh: "合併Series資料的泡泡圖",
104
139
  chartParams: {
105
140
  colors: {
106
141
  light: {
@@ -120,18 +155,16 @@ const C = {
120
155
  }
121
156
  },
122
157
  dataFormatter: {
123
- sort: (t, a) => a.value - t.value,
158
+ sort: (t, e) => e.value - t.value,
124
159
  sumSeries: !0
125
160
  },
126
- allPluginParams: {
127
- // ...ALL_PLUGIN_PARAMS_SERIES,
128
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
129
- }
161
+ pluginParams: {}
130
162
  };
131
163
  i.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
132
- const l = {
164
+ const a = {
133
165
  name: "PRESET_PIE_BASIC",
134
- description: "基本圓餅圖",
166
+ description: "Basic pie chart",
167
+ descriptionZh: "基本圓餅圖",
135
168
  chartParams: {
136
169
  colors: {
137
170
  light: {
@@ -151,20 +184,20 @@ const l = {
151
184
  }
152
185
  },
153
186
  dataFormatter: {
154
- sort: (t, a) => a.value - t.value
187
+ sort: (t, e) => e.value - t.value
155
188
  },
156
- allPluginParams: {
157
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
189
+ pluginParams: {
158
190
  SeriesLegend: {
159
191
  listRectRadius: 7
160
192
  // 圓型圖例列點
161
193
  }
162
194
  }
163
195
  };
164
- l.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
196
+ a.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
165
197
  const r = {
166
198
  name: "PRESET_PIE_DONUT",
167
- description: "甜甜圈圖",
199
+ description: "Donut chart",
200
+ descriptionZh: "甜甜圈圖",
168
201
  chartParams: {
169
202
  colors: {
170
203
  light: {
@@ -184,10 +217,9 @@ const r = {
184
217
  }
185
218
  },
186
219
  dataFormatter: {
187
- sort: (t, a) => a.value - t.value
220
+ sort: (t, e) => e.value - t.value
188
221
  },
189
- allPluginParams: {
190
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
222
+ pluginParams: {
191
223
  Pie: {
192
224
  innerRadius: 0.5
193
225
  },
@@ -202,7 +234,8 @@ const r = {
202
234
  r.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
203
235
  const s = {
204
236
  name: "PRESET_PIE_HALF_DONUT",
205
- description: "半圓甜甜圈圖",
237
+ description: "Half donut chart",
238
+ descriptionZh: "半圓甜甜圈圖",
206
239
  chartParams: {
207
240
  colors: {
208
241
  light: {
@@ -228,10 +261,9 @@ const s = {
228
261
  }
229
262
  },
230
263
  dataFormatter: {
231
- sort: (t, a) => a.value - t.value
264
+ sort: (t, e) => e.value - t.value
232
265
  },
233
- allPluginParams: {
234
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
266
+ pluginParams: {
235
267
  Pie: {
236
268
  innerRadius: 0.5,
237
269
  startAngle: -Math.PI / 2,
@@ -252,7 +284,8 @@ const s = {
252
284
  s.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
253
285
  const o = {
254
286
  name: "PRESET_PIE_WITH_INNER_LABELS",
255
- description: "圓餅圖及內部資料標籤",
287
+ description: "Pie chart with inner data labels",
288
+ descriptionZh: "圓餅圖及內部資料標籤",
256
289
  chartParams: {
257
290
  colors: {
258
291
  light: {
@@ -272,10 +305,9 @@ const o = {
272
305
  }
273
306
  },
274
307
  dataFormatter: {
275
- sort: (t, a) => a.value - t.value
308
+ sort: (t, e) => e.value - t.value
276
309
  },
277
- allPluginParams: {
278
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
310
+ pluginParams: {
279
311
  Pie: {},
280
312
  PieLabels: {
281
313
  labelCentroid: 1.3,
@@ -290,9 +322,10 @@ const o = {
290
322
  }
291
323
  };
292
324
  o.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
293
- const E = {
325
+ const l = {
294
326
  name: "PRESET_PIE_SEPARATE_SERIES",
295
- description: "分開顯示Series的圓餅圖",
327
+ description: "Separate pie chart of Series",
328
+ descriptionZh: "分開顯示Series的圓餅圖",
296
329
  chartParams: {
297
330
  colors: {
298
331
  light: {
@@ -312,19 +345,23 @@ const E = {
312
345
  }
313
346
  },
314
347
  dataFormatter: {
315
- sort: (t, a) => a.value - t.value,
348
+ sort: (t, e) => e.value - t.value,
316
349
  separateSeries: !0
317
350
  },
318
- allPluginParams: {
319
- // ...ALL_PLUGIN_PARAMS_SERIES,
320
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
321
- }
351
+ pluginParams: {}
322
352
  };
323
- E.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
353
+ l.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
324
354
  const n = {
325
- name: "PRESET_PIE_SUM_SERIES",
326
- description: "合併Series資料的圓餅圖",
355
+ name: "PRESET_PIE_SIMPLE",
356
+ description: "Simple pie chart",
357
+ descriptionZh: "簡單圓餅圖",
327
358
  chartParams: {
359
+ padding: {
360
+ top: 30,
361
+ right: 30,
362
+ bottom: 30,
363
+ left: 30
364
+ },
328
365
  colors: {
329
366
  light: {
330
367
  label: [
@@ -343,19 +380,57 @@ const n = {
343
380
  }
344
381
  },
345
382
  dataFormatter: {
346
- sort: (t, a) => a.value - t.value,
347
- sumSeries: !0
383
+ sort: (t, e) => e.value - t.value
348
384
  },
349
- allPluginParams: {
350
- // ...ALL_PLUGIN_PARAMS_SERIES,
351
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
385
+ pluginParams: {
386
+ SeriesLegend: {
387
+ listRectRadius: 7,
388
+ // 圓型圖例列點
389
+ padding: 7
390
+ }
352
391
  }
353
392
  };
354
393
  n.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
355
- const F = {
394
+ const d = {
395
+ name: "PRESET_PIE_SUM_SERIES",
396
+ description: "Pie chart of combined Series data",
397
+ descriptionZh: "合併Series資料的圓餅圖",
398
+ chartParams: {
399
+ colors: {
400
+ light: {
401
+ label: [
402
+ "#7DD3C4",
403
+ "#FFA0A0",
404
+ "#6CBAFF",
405
+ "#55D339",
406
+ "#F9B052",
407
+ "#FF6C6C",
408
+ "#8E6BC9",
409
+ "#0088FF",
410
+ "#904026",
411
+ "#C4C4C4"
412
+ ]
413
+ }
414
+ }
415
+ },
416
+ dataFormatter: {
417
+ sort: (t, e) => e.value - t.value,
418
+ sumSeries: !0
419
+ },
420
+ pluginParams: {}
421
+ };
422
+ d.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
423
+ const E = {
356
424
  name: "PRESET_ROSE_BASIC",
357
- description: "基本Rose參數",
425
+ description: "Basic Rose chart",
426
+ descriptionZh: "基本Rose參數",
358
427
  chartParams: {
428
+ padding: {
429
+ top: 40,
430
+ right: 40,
431
+ bottom: 40,
432
+ left: 40
433
+ },
359
434
  colors: {
360
435
  light: {
361
436
  label: [
@@ -374,22 +449,27 @@ const F = {
374
449
  }
375
450
  },
376
451
  dataFormatter: {
377
- sort: (t, a) => a.value - t.value
452
+ sort: (t, e) => e.value - t.value
378
453
  },
379
- allPluginParams: {
380
- // ...ALL_PLUGIN_PARAMS_SERIES,
381
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
454
+ pluginParams: {
382
455
  SeriesLegend: {
383
456
  listRectRadius: 7
384
457
  // 圓型圖例列點
385
458
  }
386
459
  }
387
460
  };
388
- F.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
389
- const d = {
461
+ E.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
462
+ const F = {
390
463
  name: "PRESET_ROSE_SCALING_BY_RADIUS",
391
- description: "以半徑尺寸為比例的玫瑰圖",
464
+ description: "Rose chart with radius scaling",
465
+ descriptionZh: "以半徑尺寸為比例的玫瑰圖",
392
466
  chartParams: {
467
+ padding: {
468
+ top: 40,
469
+ right: 40,
470
+ bottom: 40,
471
+ left: 40
472
+ },
393
473
  colors: {
394
474
  light: {
395
475
  label: [
@@ -408,10 +488,9 @@ const d = {
408
488
  }
409
489
  },
410
490
  dataFormatter: {
411
- sort: (t, a) => a.value - t.value
491
+ sort: (t, e) => e.value - t.value
412
492
  },
413
- allPluginParams: {
414
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
493
+ pluginParams: {
415
494
  Rose: {
416
495
  arcScaleType: "radius"
417
496
  },
@@ -424,11 +503,18 @@ const d = {
424
503
  }
425
504
  }
426
505
  };
427
- d.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
428
- const A = {
506
+ F.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
507
+ const c = {
429
508
  name: "PRESET_ROSE_SEPARATE_SERIES",
430
- description: "分開顯示Series的玫瑰圖",
509
+ description: "Separate rose chart of Series",
510
+ descriptionZh: "分開顯示Series的玫瑰圖",
431
511
  chartParams: {
512
+ padding: {
513
+ top: 40,
514
+ right: 40,
515
+ bottom: 40,
516
+ left: 40
517
+ },
432
518
  colors: {
433
519
  light: {
434
520
  label: [
@@ -447,19 +533,66 @@ const A = {
447
533
  }
448
534
  },
449
535
  dataFormatter: {
450
- sort: (t, a) => a.value - t.value,
536
+ sort: (t, e) => e.value - t.value,
451
537
  separateSeries: !0
452
538
  },
453
- allPluginParams: {
539
+ pluginParams: {
454
540
  // ...ALL_PLUGIN_PARAMS_SERIES,
455
541
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
456
542
  }
457
543
  };
458
- A.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
544
+ c.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
545
+ const g = {
546
+ name: "PRESET_ROSE_SIMPLE",
547
+ description: "Simple Rose chart",
548
+ descriptionZh: "簡單Rose參數",
549
+ chartParams: {
550
+ padding: {
551
+ top: 20,
552
+ right: 20,
553
+ bottom: 20,
554
+ left: 20
555
+ },
556
+ colors: {
557
+ light: {
558
+ label: [
559
+ "#8BC8FF",
560
+ "#4BABFF",
561
+ "#0088FF",
562
+ "#55D339",
563
+ "#29AB0C",
564
+ "#16B59B",
565
+ "#FCDCAD",
566
+ "#F9B052",
567
+ "#FF6C6C",
568
+ "#C4C4C4"
569
+ ]
570
+ }
571
+ }
572
+ },
573
+ dataFormatter: {
574
+ sort: (t, e) => e.value - t.value
575
+ },
576
+ pluginParams: {
577
+ SeriesLegend: {
578
+ listRectRadius: 7,
579
+ // 圓型圖例列點
580
+ padding: 7
581
+ }
582
+ }
583
+ };
584
+ g.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
459
585
  const B = {
460
586
  name: "PRESET_ROSE_SUM_SERIES",
461
- description: "合併Series資料的玫瑰圖",
587
+ description: "Rose chart of combined Series data",
588
+ descriptionZh: "合併Series資料的玫瑰圖",
462
589
  chartParams: {
590
+ padding: {
591
+ top: 40,
592
+ right: 40,
593
+ bottom: 40,
594
+ left: 40
595
+ },
463
596
  colors: {
464
597
  light: {
465
598
  label: [
@@ -478,19 +611,23 @@ const B = {
478
611
  }
479
612
  },
480
613
  dataFormatter: {
481
- sort: (t, a) => a.value - t.value,
614
+ sort: (t, e) => e.value - t.value,
482
615
  sumSeries: !0
483
616
  },
484
- allPluginParams: {
485
- // ...ALL_PLUGIN_PARAMS_SERIES,
486
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
487
- }
617
+ pluginParams: {}
488
618
  };
489
619
  B.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
490
- const g = {
620
+ const p = {
491
621
  name: "PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES",
492
- description: "分開顯示Series並合併Series資料",
622
+ description: "Separate and sum Series data",
623
+ descriptionZh: "分開顯示Series並合併Series資料",
493
624
  chartParams: {
625
+ padding: {
626
+ top: 40,
627
+ right: 40,
628
+ bottom: 40,
629
+ left: 40
630
+ },
494
631
  colors: {
495
632
  light: {
496
633
  label: [
@@ -509,19 +646,20 @@ const g = {
509
646
  }
510
647
  },
511
648
  dataFormatter: {
512
- sort: (t, a) => a.value - t.value,
649
+ sort: (t, e) => e.value - t.value,
513
650
  separateSeries: !0,
514
651
  sumSeries: !0
515
652
  },
516
- allPluginParams: {
653
+ pluginParams: {
517
654
  // ...ALL_PLUGIN_PARAMS_SERIES,
518
655
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
519
656
  }
520
657
  };
521
- g.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
522
- const P = {
658
+ p.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
659
+ const h = {
523
660
  name: "PRESET_SERIES_BASIC",
524
- description: "基本Series參數",
661
+ description: "Basic Series parameters",
662
+ descriptionZh: "基本Series參數",
525
663
  chartParams: {
526
664
  colors: {
527
665
  light: {
@@ -540,57 +678,50 @@ const P = {
540
678
  }
541
679
  }
542
680
  },
543
- allPluginParams: {
544
- // ...ALL_PLUGIN_PARAMS_SERIES,
545
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
681
+ pluginParams: {
546
682
  SeriesLegend: {
547
683
  listRectRadius: 7
548
684
  // 圓型圖例列點
549
685
  }
550
686
  }
551
- }, S = {
687
+ }, A = {
552
688
  name: "PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES",
553
- description: "分開顯示Series並合併Series資料",
689
+ description: "Separate and sum Series data",
690
+ descriptionZh: "分開顯示Series並合併Series資料",
554
691
  dataFormatter: {
555
- sort: (t, a) => a.value - t.value,
692
+ sort: (t, e) => e.value - t.value,
556
693
  separateSeries: !0,
557
694
  sumSeries: !0
558
695
  },
559
- allPluginParams: {
560
- // ...ALL_PLUGIN_PARAMS_SERIES,
561
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
562
- }
696
+ pluginParams: {}
563
697
  };
564
- S.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
565
- const R = {
698
+ A.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
699
+ const S = {
566
700
  name: "PRESET_SERIES_SEPARATE_SERIES",
567
- description: "分開顯示Series",
701
+ description: "Separate Series",
702
+ descriptionZh: "分開顯示Series",
568
703
  dataFormatter: {
569
- sort: (t, a) => a.value - t.value,
704
+ sort: (t, e) => e.value - t.value,
570
705
  separateSeries: !0
571
706
  },
572
- allPluginParams: {
573
- // ...ALL_PLUGIN_PARAMS_SERIES,
574
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
575
- }
707
+ pluginParams: {}
576
708
  };
577
- R.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
578
- const _ = {
709
+ S.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
710
+ const R = {
579
711
  name: "PRESET_SERIES_SUM_SERIES",
580
- description: "合併Series資料",
712
+ description: "Combine Series data",
713
+ descriptionZh: "合併Series資料",
581
714
  dataFormatter: {
582
- sort: (t, a) => a.value - t.value,
715
+ sort: (t, e) => e.value - t.value,
583
716
  sumSeries: !0
584
717
  },
585
- allPluginParams: {
586
- // ...ALL_PLUGIN_PARAMS_SERIES,
587
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
588
- }
718
+ pluginParams: {}
589
719
  };
590
- _.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
591
- const m = {
720
+ R.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
721
+ const P = {
592
722
  name: "PRESET_BARS_HORIZONTAL_AND_ROUND",
593
- description: "橫向圓角長條圖",
723
+ description: "Horizontal bars with round corners",
724
+ descriptionZh: "橫向圓角長條圖",
594
725
  chartParams: {
595
726
  colors: {
596
727
  light: {
@@ -609,30 +740,21 @@ const m = {
609
740
  }
610
741
  },
611
742
  padding: {
612
- top: 60,
613
- right: 60,
743
+ top: 40,
744
+ right: 40,
614
745
  bottom: 100,
615
746
  left: 160
616
747
  }
617
748
  },
618
749
  dataFormatter: {
619
- // grid: {
620
750
  valueAxis: {
621
751
  position: "bottom"
622
- // position: 'top'
623
- // position: 'left'
624
- // position: 'right'
625
752
  },
626
753
  groupAxis: {
627
754
  position: "left"
628
- // position: 'right'
629
- // position: 'bottom'
630
- // position: 'top'
631
755
  }
632
- // }
633
756
  },
634
- allPluginParams: {
635
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
757
+ pluginParams: {
636
758
  Bars: {
637
759
  barWidth: 0,
638
760
  barPadding: 1,
@@ -643,17 +765,15 @@ const m = {
643
765
  ValueAxis: {},
644
766
  GroupAux: {},
645
767
  GridLegend: {
646
- // 底部圖例及圓弧列點
647
- // position: 'bottom',
648
- // justify: 'center',
649
768
  placement: "bottom",
650
769
  padding: 14,
651
770
  listRectRadius: 7
652
771
  }
653
772
  }
654
- }, p = {
773
+ }, D = {
655
774
  name: "PRESET_BARS_HORIZONTAL_AND_THIN",
656
- description: "橫向細長長條圖",
775
+ description: "Horizontal thin bars",
776
+ descriptionZh: "橫向細長長條圖",
657
777
  chartParams: {
658
778
  colors: {
659
779
  light: {
@@ -672,29 +792,21 @@ const m = {
672
792
  }
673
793
  },
674
794
  padding: {
675
- top: 60,
676
- right: 60,
795
+ top: 40,
796
+ right: 40,
677
797
  bottom: 100,
678
798
  left: 160
679
799
  }
680
800
  },
681
801
  dataFormatter: {
682
- // grid: {
683
802
  valueAxis: {
684
803
  position: "bottom"
685
- // position: 'top'
686
- // position: 'left'
687
- // position: 'right'
688
804
  },
689
805
  groupAxis: {
690
806
  position: "left"
691
- // position: 'right'
692
- // position: 'bottom'
693
- // position: 'top'
694
807
  }
695
- // }
696
808
  },
697
- allPluginParams: {
809
+ pluginParams: {
698
810
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
699
811
  Bars: {
700
812
  barWidth: 20,
@@ -711,9 +823,10 @@ const m = {
711
823
  padding: 14
712
824
  }
713
825
  }
714
- }, D = {
826
+ }, T = {
715
827
  name: "PRESET_BARS_ROUND",
716
- description: "圓角長條圖",
828
+ description: "Rounded bars",
829
+ descriptionZh: "圓角長條圖",
717
830
  chartParams: {
718
831
  colors: {
719
832
  light: {
@@ -732,13 +845,13 @@ const m = {
732
845
  }
733
846
  },
734
847
  padding: {
735
- top: 60,
736
- right: 60,
848
+ top: 40,
849
+ right: 40,
737
850
  bottom: 100,
738
851
  left: 80
739
852
  }
740
853
  },
741
- allPluginParams: {
854
+ pluginParams: {
742
855
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
743
856
  Bars: {
744
857
  barWidth: 0,
@@ -758,9 +871,10 @@ const m = {
758
871
  listRectRadius: 7
759
872
  }
760
873
  }
761
- }, T = {
874
+ }, I = {
762
875
  name: "PRESET_BARS_THIN",
763
- description: "細長條圖",
876
+ description: "Thin bars",
877
+ descriptionZh: "細長條圖",
764
878
  chartParams: {
765
879
  colors: {
766
880
  light: {
@@ -779,13 +893,13 @@ const m = {
779
893
  }
780
894
  },
781
895
  padding: {
782
- top: 60,
783
- right: 60,
896
+ top: 40,
897
+ right: 40,
784
898
  bottom: 100,
785
899
  left: 80
786
900
  }
787
901
  },
788
- allPluginParams: {
902
+ pluginParams: {
789
903
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
790
904
  Bars: {
791
905
  barWidth: 20,
@@ -802,9 +916,10 @@ const m = {
802
916
  padding: 14
803
917
  }
804
918
  }
805
- }, I = {
919
+ }, L = {
806
920
  name: "PRESET_GRID_BASIC",
807
- description: "基本Grid參數",
921
+ description: "Basic Grid",
922
+ descriptionZh: "基本Grid參數",
808
923
  chartParams: {
809
924
  colors: {
810
925
  light: {
@@ -823,13 +938,13 @@ const m = {
823
938
  }
824
939
  },
825
940
  padding: {
826
- top: 60,
827
- right: 60,
941
+ top: 40,
942
+ right: 40,
828
943
  bottom: 100,
829
944
  left: 80
830
945
  }
831
946
  },
832
- allPluginParams: {
947
+ pluginParams: {
833
948
  // ...ALL_PLUGIN_PARAMS_GRID,
834
949
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
835
950
  GridLegend: {
@@ -839,9 +954,10 @@ const m = {
839
954
  padding: 14
840
955
  }
841
956
  }
842
- }, h = {
957
+ }, b = {
843
958
  name: "PRESET_GRID_HORIZONTAL",
844
- description: "橫向圖",
959
+ description: "Horizontal Grid",
960
+ descriptionZh: "橫向圖",
845
961
  chartParams: {
846
962
  colors: {
847
963
  light: {
@@ -861,8 +977,8 @@ const m = {
861
977
  },
862
978
  // 間距下面及左邊留空
863
979
  padding: {
864
- top: 60,
865
- right: 60,
980
+ top: 40,
981
+ right: 40,
866
982
  bottom: 100,
867
983
  left: 160
868
984
  }
@@ -883,7 +999,7 @@ const m = {
883
999
  }
884
1000
  // }
885
1001
  },
886
- allPluginParams: {
1002
+ pluginParams: {
887
1003
  // ...ALL_PLUGIN_PARAMS_GRID,
888
1004
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
889
1005
  GridLegend: {
@@ -893,9 +1009,10 @@ const m = {
893
1009
  padding: 14
894
1010
  }
895
1011
  }
896
- }, b = {
897
- name: "PRESET_GRID_PN_SCALE",
898
- description: "正負值分向圖",
1012
+ }, M = {
1013
+ name: "PRESET_GRID_PN_SCALE_SIMPLE",
1014
+ description: "Simple positive negative scale",
1015
+ descriptionZh: "簡單正負值分向圖",
899
1016
  chartParams: {
900
1017
  colors: {
901
1018
  light: {
@@ -914,33 +1031,32 @@ const m = {
914
1031
  }
915
1032
  },
916
1033
  padding: {
917
- top: 60,
918
- right: 60,
919
- bottom: 100,
920
- left: 80
1034
+ top: 40,
1035
+ right: 40,
1036
+ bottom: 80,
1037
+ left: 40
921
1038
  }
922
1039
  },
923
1040
  dataFormatter: {
924
- // grid: {
925
1041
  valueAxis: {
926
1042
  scaleDomain: ["auto", "auto"],
927
1043
  scaleRange: [0.05, 0.95]
928
1044
  }
929
- // }
930
1045
  },
931
- allPluginParams: {
1046
+ pluginParams: {
932
1047
  // ...ALL_PLUGIN_PARAMS_GRID,
933
1048
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
934
1049
  GridLegend: {
935
1050
  // position: 'bottom',
936
1051
  // justify: 'center',
937
1052
  placement: "bottom",
938
- padding: 14
1053
+ padding: 7
939
1054
  }
940
1055
  }
941
- }, L = {
942
- name: "PRESET_GRID_ROTATE_AXIS_LABEL",
943
- description: "傾斜標籤",
1056
+ }, x = {
1057
+ name: "PRESET_GRID_PN_SCALE",
1058
+ description: "Positive negative scale",
1059
+ descriptionZh: "正負值分向圖",
944
1060
  chartParams: {
945
1061
  colors: {
946
1062
  light: {
@@ -958,15 +1074,61 @@ const m = {
958
1074
  ]
959
1075
  }
960
1076
  },
961
- // 間距下面加長留空
962
1077
  padding: {
963
- top: 60,
964
- right: 60,
965
- bottom: 140,
1078
+ top: 40,
1079
+ right: 40,
1080
+ bottom: 100,
966
1081
  left: 80
967
1082
  }
968
1083
  },
969
- allPluginParams: {
1084
+ dataFormatter: {
1085
+ // grid: {
1086
+ valueAxis: {
1087
+ scaleDomain: ["auto", "auto"],
1088
+ scaleRange: [0.05, 0.95]
1089
+ }
1090
+ // }
1091
+ },
1092
+ pluginParams: {
1093
+ // ...ALL_PLUGIN_PARAMS_GRID,
1094
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1095
+ GridLegend: {
1096
+ // position: 'bottom',
1097
+ // justify: 'center',
1098
+ placement: "bottom",
1099
+ padding: 14
1100
+ }
1101
+ }
1102
+ }, G = {
1103
+ name: "PRESET_GRID_ROTATE_AXIS_LABEL",
1104
+ description: "Rotate axis label",
1105
+ descriptionZh: "傾斜標籤",
1106
+ chartParams: {
1107
+ colors: {
1108
+ light: {
1109
+ label: [
1110
+ "#4BABFF",
1111
+ "#FFA0A0",
1112
+ "#7DD3C4",
1113
+ "#F9B052",
1114
+ "#8454D4",
1115
+ "#42C724",
1116
+ "#FF4B4B",
1117
+ "#904026",
1118
+ "#4B25B3",
1119
+ "#C50669"
1120
+ ]
1121
+ }
1122
+ },
1123
+ // 間距下面加長留空
1124
+ padding: {
1125
+ top: 40,
1126
+ right: 40,
1127
+ bottom: 140,
1128
+ left: 80
1129
+ }
1130
+ },
1131
+ pluginParams: {
970
1132
  // ...ALL_PLUGIN_PARAMS_GRID,
971
1133
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
972
1134
  GroupAux: {
@@ -983,9 +1145,10 @@ const m = {
983
1145
  padding: 14
984
1146
  }
985
1147
  }
986
- }, x = {
1148
+ }, O = {
987
1149
  name: "PRESET_GRID_SEPARATE_SERIES",
988
- description: "分開顯示Series",
1150
+ description: "Separate Series",
1151
+ descriptionZh: "分開顯示Series",
989
1152
  chartParams: {
990
1153
  colors: {
991
1154
  light: {
@@ -1004,8 +1167,8 @@ const m = {
1004
1167
  }
1005
1168
  },
1006
1169
  padding: {
1007
- top: 60,
1008
- right: 60,
1170
+ top: 40,
1171
+ right: 40,
1009
1172
  bottom: 140,
1010
1173
  left: 80
1011
1174
  }
@@ -1016,7 +1179,7 @@ const m = {
1016
1179
  separateSeries: !0
1017
1180
  // },
1018
1181
  },
1019
- allPluginParams: {
1182
+ pluginParams: {
1020
1183
  // ...ALL_PLUGIN_PARAMS_GRID,
1021
1184
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1022
1185
  GroupAux: {
@@ -1033,9 +1196,49 @@ const m = {
1033
1196
  padding: 14
1034
1197
  }
1035
1198
  }
1036
- }, G = {
1199
+ }, N = {
1200
+ name: "PRESET_GRID_SIMPLE",
1201
+ description: "Simple Grid",
1202
+ descriptionZh: "簡單Grid參數",
1203
+ chartParams: {
1204
+ colors: {
1205
+ light: {
1206
+ label: [
1207
+ "#4BABFF",
1208
+ "#FFA0A0",
1209
+ "#7DD3C4",
1210
+ "#F9B052",
1211
+ "#8454D4",
1212
+ "#42C724",
1213
+ "#FF4B4B",
1214
+ "#904026",
1215
+ "#4B25B3",
1216
+ "#C50669"
1217
+ ]
1218
+ }
1219
+ },
1220
+ padding: {
1221
+ top: 40,
1222
+ right: 40,
1223
+ bottom: 80,
1224
+ left: 40
1225
+ }
1226
+ },
1227
+ dataFormatter: {
1228
+ valueAxis: {
1229
+ scaleRange: [0, 0.95]
1230
+ }
1231
+ },
1232
+ pluginParams: {
1233
+ GridLegend: {
1234
+ placement: "bottom",
1235
+ padding: 7
1236
+ }
1237
+ }
1238
+ }, v = {
1037
1239
  name: "PRESET_LINE_AREAS_BASIC",
1038
- description: "基本LineArea參數",
1240
+ description: "Basic LineArea",
1241
+ descriptionZh: "基本折線區域圖",
1039
1242
  chartParams: {
1040
1243
  colors: {
1041
1244
  light: {
@@ -1054,8 +1257,8 @@ const m = {
1054
1257
  }
1055
1258
  },
1056
1259
  padding: {
1057
- top: 60,
1058
- right: 60,
1260
+ top: 40,
1261
+ right: 40,
1059
1262
  bottom: 100,
1060
1263
  left: 80
1061
1264
  },
@@ -1068,7 +1271,7 @@ const m = {
1068
1271
  }
1069
1272
  // }
1070
1273
  },
1071
- allPluginParams: {
1274
+ pluginParams: {
1072
1275
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1073
1276
  Lines: {},
1074
1277
  LineAreas: {},
@@ -1084,9 +1287,10 @@ const m = {
1084
1287
  listRectHeight: 2
1085
1288
  }
1086
1289
  }
1087
- }, O = {
1290
+ }, Z = {
1088
1291
  name: "PRESET_LINE_AREAS_CURVE",
1089
- description: "弧線折線圖",
1292
+ description: "Curve LineArea",
1293
+ descriptionZh: "弧線的折線區域圖",
1090
1294
  chartParams: {
1091
1295
  colors: {
1092
1296
  light: {
@@ -1105,8 +1309,8 @@ const m = {
1105
1309
  }
1106
1310
  },
1107
1311
  padding: {
1108
- top: 60,
1109
- right: 60,
1312
+ top: 40,
1313
+ right: 40,
1110
1314
  bottom: 100,
1111
1315
  left: 80
1112
1316
  },
@@ -1119,7 +1323,7 @@ const m = {
1119
1323
  }
1120
1324
  // }
1121
1325
  },
1122
- allPluginParams: {
1326
+ pluginParams: {
1123
1327
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1124
1328
  Lines: {
1125
1329
  lineCurve: "curveMonotoneX",
@@ -1140,9 +1344,10 @@ const m = {
1140
1344
  listRectHeight: 2
1141
1345
  }
1142
1346
  }
1143
- }, M = {
1347
+ }, U = {
1144
1348
  name: "PRESET_LINE_AREAS_HORIZONTAL",
1145
- description: "橫向折線圖",
1349
+ description: "Horizontal LineArea",
1350
+ descriptionZh: "橫向折線區域圖",
1146
1351
  chartParams: {
1147
1352
  colors: {
1148
1353
  light: {
@@ -1161,15 +1366,14 @@ const m = {
1161
1366
  }
1162
1367
  },
1163
1368
  padding: {
1164
- top: 60,
1165
- right: 60,
1369
+ top: 40,
1370
+ right: 40,
1166
1371
  bottom: 100,
1167
1372
  left: 160
1168
1373
  },
1169
1374
  highlightTarget: "series"
1170
1375
  },
1171
1376
  dataFormatter: {
1172
- // grid: {
1173
1377
  valueAxis: {
1174
1378
  position: "bottom"
1175
1379
  },
@@ -1177,10 +1381,8 @@ const m = {
1177
1381
  position: "left",
1178
1382
  scalePadding: 0
1179
1383
  }
1180
- // }
1181
1384
  },
1182
- allPluginParams: {
1183
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1385
+ pluginParams: {
1184
1386
  Lines: {},
1185
1387
  LineAreas: {},
1186
1388
  Dots: {},
@@ -1188,16 +1390,15 @@ const m = {
1188
1390
  ValueAxis: {},
1189
1391
  GroupAux: {},
1190
1392
  GridLegend: {
1191
- // position: 'bottom',
1192
- // justify: 'center',
1193
1393
  placement: "bottom",
1194
1394
  padding: 14,
1195
1395
  listRectHeight: 2
1196
1396
  }
1197
1397
  }
1198
- }, N = {
1398
+ }, f = {
1199
1399
  name: "PRESET_LINE_AREAS_LOOSE_TICKS",
1200
- description: "寬鬆標籤",
1400
+ description: "Loose Ticks LineArea",
1401
+ descriptionZh: "寬鬆標籤的折線區域圖",
1201
1402
  chartParams: {
1202
1403
  colors: {
1203
1404
  light: {
@@ -1216,22 +1417,19 @@ const m = {
1216
1417
  }
1217
1418
  },
1218
1419
  padding: {
1219
- top: 60,
1220
- right: 60,
1420
+ top: 40,
1421
+ right: 40,
1221
1422
  bottom: 100,
1222
1423
  left: 80
1223
1424
  },
1224
1425
  highlightTarget: "series"
1225
1426
  },
1226
1427
  dataFormatter: {
1227
- // grid: {
1228
1428
  groupAxis: {
1229
1429
  scalePadding: 0
1230
1430
  }
1231
- // }
1232
1431
  },
1233
- allPluginParams: {
1234
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1432
+ pluginParams: {
1235
1433
  Lines: {},
1236
1434
  LineAreas: {},
1237
1435
  Dots: {},
@@ -1241,16 +1439,15 @@ const m = {
1241
1439
  ValueAxis: {},
1242
1440
  GroupAux: {},
1243
1441
  GridLegend: {
1244
- // position: 'bottom',
1245
- // justify: 'center',
1246
1442
  placement: "bottom",
1247
1443
  padding: 14,
1248
1444
  listRectHeight: 2
1249
1445
  }
1250
1446
  }
1251
- }, v = {
1447
+ }, V = {
1252
1448
  name: "PRESET_LINE_AREAS_ROTATE_AXIS_LABEL",
1253
- description: "傾斜標籤",
1449
+ description: "Rotate Axis Label LineArea",
1450
+ descriptionZh: "傾斜標籤的折線區域圖",
1254
1451
  chartParams: {
1255
1452
  colors: {
1256
1453
  light: {
@@ -1269,22 +1466,19 @@ const m = {
1269
1466
  }
1270
1467
  },
1271
1468
  padding: {
1272
- top: 60,
1273
- right: 60,
1469
+ top: 40,
1470
+ right: 40,
1274
1471
  bottom: 140,
1275
1472
  left: 80
1276
1473
  },
1277
1474
  highlightTarget: "series"
1278
1475
  },
1279
1476
  dataFormatter: {
1280
- // grid: {
1281
1477
  groupAxis: {
1282
1478
  scalePadding: 0
1283
1479
  }
1284
- // }
1285
1480
  },
1286
- allPluginParams: {
1287
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1481
+ pluginParams: {
1288
1482
  Lines: {},
1289
1483
  LineAreas: {},
1290
1484
  Dots: {},
@@ -1297,16 +1491,15 @@ const m = {
1297
1491
  labelRotate: -30
1298
1492
  },
1299
1493
  GridLegend: {
1300
- // position: 'bottom',
1301
- // justify: 'center',
1302
1494
  placement: "bottom",
1303
1495
  padding: 14,
1304
1496
  listRectHeight: 2
1305
1497
  }
1306
1498
  }
1307
- }, U = {
1499
+ }, H = {
1308
1500
  name: "PRESET_LINE_AREAS_SEPARATE_SERIES",
1309
- description: "LineAreas 分開顯示Series",
1501
+ description: "Separate Series LineArea",
1502
+ descriptionZh: "分開顯示Series的折線區域圖",
1310
1503
  chartParams: {
1311
1504
  colors: {
1312
1505
  light: {
@@ -1325,24 +1518,20 @@ const m = {
1325
1518
  }
1326
1519
  },
1327
1520
  padding: {
1328
- top: 60,
1329
- right: 60,
1521
+ top: 40,
1522
+ right: 40,
1330
1523
  bottom: 140,
1331
1524
  left: 80
1332
1525
  },
1333
1526
  highlightTarget: "series"
1334
1527
  },
1335
1528
  dataFormatter: {
1336
- // grid: {
1337
- // seriesSlotIndexes: [0, 1],
1338
1529
  separateSeries: !0,
1339
1530
  groupAxis: {
1340
1531
  scalePadding: 0
1341
1532
  }
1342
- // },
1343
1533
  },
1344
- allPluginParams: {
1345
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1534
+ pluginParams: {
1346
1535
  Lines: {},
1347
1536
  LineAreas: {},
1348
1537
  Dots: {},
@@ -1355,16 +1544,65 @@ const m = {
1355
1544
  labelRotate: -30
1356
1545
  },
1357
1546
  GridLegend: {
1358
- // position: 'bottom',
1359
- // justify: 'center',
1360
1547
  placement: "bottom",
1361
1548
  padding: 14,
1362
1549
  listRectHeight: 2
1363
1550
  }
1364
1551
  }
1365
- }, H = {
1552
+ }, k = {
1553
+ name: "PRESET_LINE_AREAS_SIMPLE",
1554
+ description: "Simple LineArea",
1555
+ descriptionZh: "簡單折線區域圖",
1556
+ chartParams: {
1557
+ colors: {
1558
+ light: {
1559
+ label: [
1560
+ "#4BABFF",
1561
+ "#FFA0A0",
1562
+ "#7DD3C4",
1563
+ "#F9B052",
1564
+ "#8454D4",
1565
+ "#42C724",
1566
+ "#FF4B4B",
1567
+ "#904026",
1568
+ "#4B25B3",
1569
+ "#C50669"
1570
+ ]
1571
+ }
1572
+ },
1573
+ padding: {
1574
+ top: 40,
1575
+ right: 40,
1576
+ bottom: 80,
1577
+ left: 40
1578
+ },
1579
+ highlightTarget: "series"
1580
+ },
1581
+ dataFormatter: {
1582
+ groupAxis: {
1583
+ scalePadding: 0
1584
+ },
1585
+ valueAxis: {
1586
+ scaleRange: [0, 0.95]
1587
+ }
1588
+ },
1589
+ pluginParams: {
1590
+ Lines: {},
1591
+ LineAreas: {},
1592
+ Dots: {},
1593
+ GroupAxis: {},
1594
+ ValueAxis: {},
1595
+ GroupAux: {},
1596
+ GridLegend: {
1597
+ placement: "bottom",
1598
+ padding: 7,
1599
+ listRectHeight: 2
1600
+ }
1601
+ }
1602
+ }, y = {
1366
1603
  name: "PRESET_LINES_BASIC",
1367
- description: "基本Lines參數",
1604
+ description: "Basic Line",
1605
+ descriptionZh: "基本折線圖",
1368
1606
  chartParams: {
1369
1607
  colors: {
1370
1608
  light: {
@@ -1383,31 +1621,29 @@ const m = {
1383
1621
  }
1384
1622
  },
1385
1623
  padding: {
1386
- top: 60,
1387
- right: 60,
1624
+ top: 40,
1625
+ right: 40,
1388
1626
  bottom: 100,
1389
1627
  left: 80
1390
1628
  },
1391
1629
  highlightTarget: "series"
1392
1630
  },
1393
- allPluginParams: {
1394
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1631
+ pluginParams: {
1395
1632
  Lines: {},
1396
1633
  Dots: {},
1397
1634
  GroupAxis: {},
1398
1635
  ValueAxis: {},
1399
1636
  GroupAux: {},
1400
1637
  GridLegend: {
1401
- // position: 'bottom',
1402
- // justify: 'center',
1403
1638
  placement: "bottom",
1404
1639
  padding: 14,
1405
1640
  listRectHeight: 2
1406
1641
  }
1407
1642
  }
1408
- }, f = {
1643
+ }, w = {
1409
1644
  name: "PRESET_LINES_CURVE",
1410
- description: "弧線折線圖",
1645
+ description: "Curve Line",
1646
+ descriptionZh: "弧線折線圖",
1411
1647
  chartParams: {
1412
1648
  colors: {
1413
1649
  light: {
@@ -1426,15 +1662,14 @@ const m = {
1426
1662
  }
1427
1663
  },
1428
1664
  padding: {
1429
- top: 60,
1430
- right: 60,
1665
+ top: 40,
1666
+ right: 40,
1431
1667
  bottom: 100,
1432
1668
  left: 80
1433
1669
  },
1434
1670
  highlightTarget: "series"
1435
1671
  },
1436
- allPluginParams: {
1437
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1672
+ pluginParams: {
1438
1673
  Lines: {
1439
1674
  lineCurve: "curveMonotoneX",
1440
1675
  lineWidth: 3
@@ -1444,16 +1679,15 @@ const m = {
1444
1679
  ValueAxis: {},
1445
1680
  GroupAux: {},
1446
1681
  GridLegend: {
1447
- // position: 'bottom',
1448
- // justify: 'center',
1449
1682
  placement: "bottom",
1450
1683
  padding: 14,
1451
1684
  listRectHeight: 2
1452
1685
  }
1453
1686
  }
1454
- }, V = {
1687
+ }, W = {
1455
1688
  name: "PRESET_LINES_HORIZONTAL",
1456
- description: "橫向折線圖",
1689
+ description: "Horizontal Line",
1690
+ descriptionZh: "橫向折線圖",
1457
1691
  chartParams: {
1458
1692
  colors: {
1459
1693
  light: {
@@ -1472,47 +1706,37 @@ const m = {
1472
1706
  }
1473
1707
  },
1474
1708
  padding: {
1475
- top: 60,
1476
- right: 60,
1709
+ top: 40,
1710
+ right: 40,
1477
1711
  bottom: 100,
1478
1712
  left: 160
1479
1713
  },
1480
1714
  highlightTarget: "series"
1481
1715
  },
1482
1716
  dataFormatter: {
1483
- // grid: {
1484
1717
  valueAxis: {
1485
1718
  position: "bottom"
1486
- // position: 'top'
1487
- // position: 'left'
1488
- // position: 'right'
1489
1719
  },
1490
1720
  groupAxis: {
1491
1721
  position: "left"
1492
- // position: 'right'
1493
- // position: 'bottom'
1494
- // position: 'top'
1495
1722
  }
1496
- // }
1497
1723
  },
1498
- allPluginParams: {
1499
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1724
+ pluginParams: {
1500
1725
  Lines: {},
1501
1726
  Dots: {},
1502
1727
  GroupAxis: {},
1503
1728
  ValueAxis: {},
1504
1729
  GroupAux: {},
1505
1730
  GridLegend: {
1506
- // position: 'bottom',
1507
- // justify: 'center',
1508
1731
  placement: "bottom",
1509
1732
  padding: 14,
1510
1733
  listRectHeight: 2
1511
1734
  }
1512
1735
  }
1513
- }, k = {
1736
+ }, Y = {
1514
1737
  name: "PRESET_LINES_LOOSE_TICKS",
1515
- description: "寬鬆標籤",
1738
+ description: "Loose Ticks Line",
1739
+ descriptionZh: "寬鬆標籤的折線圖",
1516
1740
  chartParams: {
1517
1741
  colors: {
1518
1742
  light: {
@@ -1531,15 +1755,14 @@ const m = {
1531
1755
  }
1532
1756
  },
1533
1757
  padding: {
1534
- top: 60,
1535
- right: 60,
1758
+ top: 40,
1759
+ right: 40,
1536
1760
  bottom: 100,
1537
1761
  left: 80
1538
1762
  },
1539
1763
  highlightTarget: "series"
1540
1764
  },
1541
- allPluginParams: {
1542
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1765
+ pluginParams: {
1543
1766
  Lines: {},
1544
1767
  Dots: {},
1545
1768
  GroupAxis: {
@@ -1548,16 +1771,15 @@ const m = {
1548
1771
  ValueAxis: {},
1549
1772
  GroupAux: {},
1550
1773
  GridLegend: {
1551
- // position: 'bottom',
1552
- // justify: 'center',
1553
1774
  placement: "bottom",
1554
1775
  padding: 14,
1555
1776
  listRectHeight: 2
1556
1777
  }
1557
1778
  }
1558
- }, W = {
1779
+ }, X = {
1559
1780
  name: "PRESET_LINES_ROTATE_AXIS_LABEL",
1560
- description: "傾斜標籤",
1781
+ description: "Line chart with slanted labels",
1782
+ descriptionZh: "傾斜標籤的折線圖",
1561
1783
  chartParams: {
1562
1784
  colors: {
1563
1785
  light: {
@@ -1576,15 +1798,14 @@ const m = {
1576
1798
  }
1577
1799
  },
1578
1800
  padding: {
1579
- top: 60,
1580
- right: 60,
1801
+ top: 40,
1802
+ right: 40,
1581
1803
  bottom: 140,
1582
1804
  left: 80
1583
1805
  },
1584
1806
  highlightTarget: "series"
1585
1807
  },
1586
- allPluginParams: {
1587
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1808
+ pluginParams: {
1588
1809
  Lines: {},
1589
1810
  Dots: {},
1590
1811
  GroupAxis: {
@@ -1596,16 +1817,15 @@ const m = {
1596
1817
  labelRotate: -30
1597
1818
  },
1598
1819
  GridLegend: {
1599
- // position: 'bottom',
1600
- // justify: 'center',
1601
1820
  placement: "bottom",
1602
1821
  padding: 14,
1603
1822
  listRectHeight: 2
1604
1823
  }
1605
1824
  }
1606
- }, Y = {
1607
- name: "PRESET_LINES_WITH_SOLID_DOTS",
1608
- description: "折線圖及實心圓點",
1825
+ }, z = {
1826
+ name: "PRESET_LINES_SIMPLE",
1827
+ description: "Simple line",
1828
+ descriptionZh: "簡單折線圖",
1609
1829
  chartParams: {
1610
1830
  colors: {
1611
1831
  light: {
@@ -1624,41 +1844,85 @@ const m = {
1624
1844
  }
1625
1845
  },
1626
1846
  padding: {
1627
- top: 60,
1628
- right: 60,
1629
- bottom: 100,
1630
- left: 80
1847
+ top: 40,
1848
+ right: 40,
1849
+ bottom: 80,
1850
+ left: 40
1631
1851
  },
1632
1852
  highlightTarget: "series"
1633
1853
  },
1634
- allPluginParams: {
1635
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1854
+ dataFormatter: {
1855
+ valueAxis: {
1856
+ scaleRange: [0, 0.95]
1857
+ }
1858
+ },
1859
+ pluginParams: {
1636
1860
  Lines: {},
1637
- Dots: {
1638
- radius: 3,
1639
- fillColorType: "label",
1640
- onlyShowHighlighted: !1
1641
- },
1861
+ Dots: {},
1642
1862
  GroupAxis: {},
1643
1863
  ValueAxis: {},
1644
1864
  GroupAux: {},
1645
1865
  GridLegend: {
1646
- // position: 'bottom',
1647
- // justify: 'center',
1648
1866
  placement: "bottom",
1649
- padding: 14,
1867
+ padding: 7,
1650
1868
  listRectHeight: 2
1651
1869
  }
1652
1870
  }
1653
- }, Z = {
1654
- name: "PRESET_MULTI_GRID_BASIC",
1655
- description: "基本MultiGrid參數",
1871
+ }, K = {
1872
+ name: "PRESET_LINES_WITH_SOLID_DOTS",
1873
+ description: "Solid Dots Line",
1874
+ descriptionZh: "實心圓點的折線圖",
1656
1875
  chartParams: {
1657
1876
  colors: {
1658
1877
  light: {
1659
1878
  label: [
1660
1879
  "#4BABFF",
1661
- "#94D6CB",
1880
+ "#FFA0A0",
1881
+ "#7DD3C4",
1882
+ "#F9B052",
1883
+ "#8454D4",
1884
+ "#42C724",
1885
+ "#FF4B4B",
1886
+ "#904026",
1887
+ "#4B25B3",
1888
+ "#C50669"
1889
+ ]
1890
+ }
1891
+ },
1892
+ padding: {
1893
+ top: 40,
1894
+ right: 40,
1895
+ bottom: 100,
1896
+ left: 80
1897
+ },
1898
+ highlightTarget: "series"
1899
+ },
1900
+ pluginParams: {
1901
+ Lines: {},
1902
+ Dots: {
1903
+ radius: 3,
1904
+ fillColorType: "label",
1905
+ onlyShowHighlighted: !1
1906
+ },
1907
+ GroupAxis: {},
1908
+ ValueAxis: {},
1909
+ GroupAux: {},
1910
+ GridLegend: {
1911
+ placement: "bottom",
1912
+ padding: 14,
1913
+ listRectHeight: 2
1914
+ }
1915
+ }
1916
+ }, j = {
1917
+ name: "PRESET_MULTI_GRID_BASIC",
1918
+ description: "Basic MultiGrid",
1919
+ descriptionZh: "基本MultiGrid參數",
1920
+ chartParams: {
1921
+ colors: {
1922
+ light: {
1923
+ label: [
1924
+ "#4BABFF",
1925
+ "#94D6CB",
1662
1926
  "#F9B052",
1663
1927
  "#8454D4",
1664
1928
  "#D58C75",
@@ -1671,19 +1935,15 @@ const m = {
1671
1935
  }
1672
1936
  },
1673
1937
  padding: {
1674
- top: 60,
1675
- right: 60,
1938
+ top: 40,
1939
+ right: 40,
1676
1940
  bottom: 100,
1677
1941
  left: 80
1678
1942
  },
1679
1943
  highlightTarget: "series"
1680
1944
  },
1681
- allPluginParams: {
1682
- // ...ALL_PLUGIN_PARAMS_MULTI_GRID,
1683
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1945
+ pluginParams: {
1684
1946
  MultiGridLegend: {
1685
- // position: 'bottom',
1686
- // justify: 'center',
1687
1947
  placement: "bottom",
1688
1948
  padding: 14,
1689
1949
  gridList: [
@@ -1694,9 +1954,105 @@ const m = {
1694
1954
  ]
1695
1955
  }
1696
1956
  }
1697
- }, y = {
1957
+ }, q = {
1958
+ name: "PRESET_MULTI_GRID_DIVERGING_SIMPLE",
1959
+ description: "Simple diverging Grid",
1960
+ descriptionZh: "簡單雙向Grid",
1961
+ chartParams: {
1962
+ colors: {
1963
+ light: {
1964
+ label: [
1965
+ "#4BABFF",
1966
+ "#94D6CB",
1967
+ "#F9B052",
1968
+ "#8454D4",
1969
+ "#D58C75",
1970
+ "#42C724",
1971
+ "#FF8B8B",
1972
+ "#904026",
1973
+ "#C50669",
1974
+ "#4B25B3"
1975
+ ]
1976
+ }
1977
+ },
1978
+ padding: {
1979
+ top: 40,
1980
+ right: 40,
1981
+ bottom: 60,
1982
+ left: 40
1983
+ }
1984
+ },
1985
+ dataFormatter: {
1986
+ gridList: [
1987
+ // 第一個grid
1988
+ {
1989
+ groupAxis: {
1990
+ position: "right"
1991
+ },
1992
+ valueAxis: {
1993
+ position: "bottom",
1994
+ scaleRange: [0, 0.95]
1995
+ }
1996
+ },
1997
+ // 第二個grid
1998
+ {
1999
+ groupAxis: {
2000
+ position: "left"
2001
+ },
2002
+ valueAxis: {
2003
+ position: "bottom",
2004
+ scaleRange: [0, 0.95]
2005
+ }
2006
+ }
2007
+ ],
2008
+ // 設定排版方式
2009
+ container: {
2010
+ gap: 100,
2011
+ rowAmount: 1,
2012
+ columnAmount: 2
2013
+ },
2014
+ separateGrid: !0
2015
+ // 將兩個grid拆分
2016
+ },
2017
+ pluginParams: {
2018
+ MultiGroupAxis: {
2019
+ tickPadding: 10,
2020
+ gridIndexes: [0]
2021
+ // 只顯示一個
2022
+ },
2023
+ MultiValueAxis: {
2024
+ gridIndexes: [0, 1]
2025
+ },
2026
+ MultiStackedValueAxis: {
2027
+ gridIndexes: [0, 1]
2028
+ },
2029
+ MultiBars: {
2030
+ gridIndexes: [0, 1]
2031
+ },
2032
+ MultiStackedBars: {
2033
+ gridIndexes: [0, 1]
2034
+ },
2035
+ MultiBarsTriangle: {
2036
+ gridIndexes: [0, 1]
2037
+ },
2038
+ MultiLines: {
2039
+ gridIndexes: [0, 1]
2040
+ },
2041
+ MultiLineAreas: {
2042
+ gridIndexes: [0, 1]
2043
+ },
2044
+ MultiDots: {
2045
+ gridIndexes: [0, 1]
2046
+ },
2047
+ MultiGridLegend: {
2048
+ placement: "bottom",
2049
+ padding: 7
2050
+ }
2051
+ }
2052
+ }, J = {
1698
2053
  name: "PRESET_MULTI_GRID_DIVERGING",
1699
- description: "雙向折線圖",
2054
+ description: "Diverging Grid",
2055
+ descriptionZh: "雙向Grid",
1700
2056
  chartParams: {
1701
2057
  colors: {
1702
2058
  light: {
@@ -1715,8 +2071,8 @@ const m = {
1715
2071
  }
1716
2072
  },
1717
2073
  padding: {
1718
- top: 60,
1719
- right: 60,
2074
+ top: 40,
2075
+ right: 40,
1720
2076
  bottom: 100,
1721
2077
  left: 80
1722
2078
  }
@@ -1751,10 +2107,8 @@ const m = {
1751
2107
  separateGrid: !0
1752
2108
  // 將兩個grid拆分
1753
2109
  },
1754
- allPluginParams: {
1755
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
2110
+ pluginParams: {
1756
2111
  MultiGroupAxis: {
1757
- // tickPadding: 60, // 加長間距
1758
2112
  gridIndexes: [0]
1759
2113
  // 只顯示一個
1760
2114
  },
@@ -1767,7 +2121,7 @@ const m = {
1767
2121
  MultiBars: {
1768
2122
  gridIndexes: [0, 1]
1769
2123
  },
1770
- MultiStackedBar: {
2124
+ MultiStackedBars: {
1771
2125
  gridIndexes: [0, 1]
1772
2126
  },
1773
2127
  MultiBarsTriangle: {
@@ -1783,15 +2137,14 @@ const m = {
1783
2137
  gridIndexes: [0, 1]
1784
2138
  },
1785
2139
  MultiGridLegend: {
1786
- // position: 'bottom',
1787
- // justify: 'center',
1788
2140
  placement: "bottom",
1789
2141
  padding: 14
1790
2142
  }
1791
2143
  }
1792
- }, X = {
1793
- name: "PRESET_MULTI_GRID_ROUND_STYLE",
1794
- description: "MultiGrid圓弧風格",
2144
+ }, Q = {
2145
+ name: "PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE",
2146
+ description: "Simple MultiGrid with round style",
2147
+ descriptionZh: "簡單MultiGrid圓弧風格",
1795
2148
  chartParams: {
1796
2149
  colors: {
1797
2150
  light: {
@@ -1810,26 +2163,33 @@ const m = {
1810
2163
  }
1811
2164
  },
1812
2165
  padding: {
1813
- top: 60,
1814
- right: 60,
1815
- bottom: 100,
2166
+ top: 40,
2167
+ right: 40,
2168
+ bottom: 60,
1816
2169
  left: 80
1817
2170
  },
1818
2171
  highlightTarget: "series"
1819
2172
  },
1820
- allPluginParams: {
1821
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
2173
+ dataFormatter: {
2174
+ gridList: [
2175
+ // 設定一個所有grid一起套用
2176
+ {
2177
+ valueAxis: {
2178
+ scaleRange: [0, 0.95]
2179
+ }
2180
+ }
2181
+ ]
2182
+ },
2183
+ pluginParams: {
1822
2184
  MultiBars: {
1823
2185
  barWidth: 0,
1824
2186
  barPadding: 1,
1825
2187
  barGroupPadding: 10,
1826
2188
  barRadius: !0
1827
2189
  },
1828
- MultiStackedBar: {},
2190
+ MultiStackedBars: {},
1829
2191
  MultiDots: {},
1830
2192
  MultiGridLegend: {
1831
- // position: 'bottom',
1832
- // justify: 'center',
1833
2193
  placement: "bottom",
1834
2194
  padding: 14,
1835
2195
  gridList: [
@@ -1852,9 +2212,10 @@ const m = {
1852
2212
  OverlappingValueAxes: {},
1853
2213
  OverlappingStackedValueAxes: {}
1854
2214
  }
1855
- }, w = {
1856
- name: "PRESET_MULTI_GRID_SEPARATE_GRID",
1857
- description: "2組Grid圖表",
2215
+ }, $ = {
2216
+ name: "PRESET_MULTI_GRID_ROUND_STYLE",
2217
+ description: "MultiGrid with round style",
2218
+ descriptionZh: "MultiGrid圓弧風格",
1858
2219
  chartParams: {
1859
2220
  colors: {
1860
2221
  light: {
@@ -1873,57 +2234,49 @@ const m = {
1873
2234
  }
1874
2235
  },
1875
2236
  padding: {
1876
- top: 60,
1877
- right: 60,
1878
- bottom: 140,
2237
+ top: 40,
2238
+ right: 40,
2239
+ bottom: 100,
1879
2240
  left: 80
1880
- }
1881
- },
1882
- dataFormatter: {
1883
- separateGrid: !0
1884
- },
1885
- allPluginParams: {
1886
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1887
- MultiGroupAxis: {
1888
- tickTextRotate: -30,
1889
- gridIndexes: "all"
1890
- },
1891
- MultiValueAxis: {
1892
- gridIndexes: "all"
1893
- },
1894
- MultiStackedValueAxis: {
1895
- gridIndexes: "all"
1896
2241
  },
2242
+ highlightTarget: "series"
2243
+ },
2244
+ pluginParams: {
1897
2245
  MultiBars: {
1898
- gridIndexes: "all"
1899
- },
1900
- MultiStackedBar: {
1901
- gridIndexes: "all"
2246
+ barWidth: 0,
2247
+ barPadding: 1,
2248
+ barGroupPadding: 10,
2249
+ barRadius: !0
1902
2250
  },
1903
- MultiBarsTriangle: {
1904
- gridIndexes: "all"
2251
+ MultiStackedBars: {},
2252
+ MultiDots: {},
2253
+ MultiGridLegend: {
2254
+ placement: "bottom",
2255
+ padding: 14,
2256
+ gridList: [
2257
+ {
2258
+ listRectRadius: 7
2259
+ },
2260
+ {
2261
+ listRectHeight: 2
2262
+ }
2263
+ ]
1905
2264
  },
2265
+ MultiGroupAxis: {},
2266
+ MultiLineAreas: {},
1906
2267
  MultiLines: {
1907
- gridIndexes: "all"
1908
- },
1909
- MultiLineAreas: {
1910
- gridIndexes: "all"
1911
- },
1912
- MultiDots: {
1913
- gridIndexes: "all"
2268
+ lineCurve: "curveMonotoneX",
2269
+ lineWidth: 3
1914
2270
  },
1915
- MultiGridLegend: {
1916
- // position: 'bottom',
1917
- // justify: 'center',
1918
- placement: "bottom",
1919
- padding: 14
1920
- }
2271
+ MultiValueAxis: {},
2272
+ MultiStackedValueAxis: {},
2273
+ OverlappingValueAxes: {},
2274
+ OverlappingStackedValueAxes: {}
1921
2275
  }
1922
- }, e = {
1923
- // Tooltip: {},
1924
- }, z = {
1925
- name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID",
1926
- description: "2組區域圖表",
2276
+ }, tt = {
2277
+ name: "PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE",
2278
+ description: "Simple 2 groups of Grid chart",
2279
+ descriptionZh: "簡單2組Grid圖表",
1927
2280
  chartParams: {
1928
2281
  colors: {
1929
2282
  light: {
@@ -1942,37 +2295,29 @@ const m = {
1942
2295
  }
1943
2296
  },
1944
2297
  padding: {
1945
- top: 60,
1946
- right: 60,
1947
- bottom: 140,
1948
- left: 80
2298
+ top: 40,
2299
+ right: 40,
2300
+ bottom: 80,
2301
+ left: 40
1949
2302
  }
1950
2303
  },
1951
2304
  dataFormatter: {
1952
2305
  gridList: [
2306
+ // 設定一個所有grid一起套用
1953
2307
  {
1954
- // slotIndex: 0
1955
- groupAxis: {
1956
- scalePadding: 0
1957
- }
1958
- },
1959
- {
1960
- // slotIndex: 1,
1961
- groupAxis: {
1962
- scalePadding: 0
2308
+ valueAxis: {
2309
+ scaleRange: [0, 0.95]
1963
2310
  }
1964
2311
  }
1965
2312
  ],
1966
- separateGrid: !0
1967
- // container: {
1968
- // rowAmount: 1,
1969
- // columnAmount: 2,
1970
- // }
2313
+ separateGrid: !0,
2314
+ container: {
2315
+ gap: 40
2316
+ }
1971
2317
  },
1972
- allPluginParams: {
1973
- ...e,
2318
+ pluginParams: {
1974
2319
  MultiGroupAxis: {
1975
- tickTextRotate: -30,
2320
+ // tickTextRotate: -30,
1976
2321
  gridIndexes: "all"
1977
2322
  },
1978
2323
  MultiValueAxis: {
@@ -1984,7 +2329,7 @@ const m = {
1984
2329
  MultiBars: {
1985
2330
  gridIndexes: "all"
1986
2331
  },
1987
- MultiStackedBar: {
2332
+ MultiStackedBars: {
1988
2333
  gridIndexes: "all"
1989
2334
  },
1990
2335
  MultiBarsTriangle: {
@@ -2000,10 +2345,203 @@ const m = {
2000
2345
  gridIndexes: "all"
2001
2346
  },
2002
2347
  MultiGridLegend: {
2003
- // position: 'bottom',
2004
- // justify: 'center',
2005
2348
  placement: "bottom",
2006
- padding: 14,
2349
+ padding: 7
2350
+ }
2351
+ }
2352
+ }, et = {
2353
+ name: "PRESET_MULTI_GRID_SEPARATE_GRID",
2354
+ description: "2 groups of Grid chart",
2355
+ descriptionZh: "2組Grid圖表",
2356
+ chartParams: {
2357
+ colors: {
2358
+ light: {
2359
+ label: [
2360
+ "#4BABFF",
2361
+ "#94D6CB",
2362
+ "#F9B052",
2363
+ "#8454D4",
2364
+ "#D58C75",
2365
+ "#42C724",
2366
+ "#FF8B8B",
2367
+ "#904026",
2368
+ "#C50669",
2369
+ "#4B25B3"
2370
+ ]
2371
+ }
2372
+ },
2373
+ padding: {
2374
+ top: 40,
2375
+ right: 40,
2376
+ bottom: 140,
2377
+ left: 80
2378
+ }
2379
+ },
2380
+ dataFormatter: {
2381
+ separateGrid: !0
2382
+ },
2383
+ pluginParams: {
2384
+ MultiGroupAxis: {
2385
+ tickTextRotate: -30,
2386
+ gridIndexes: "all"
2387
+ },
2388
+ MultiValueAxis: {
2389
+ gridIndexes: "all"
2390
+ },
2391
+ MultiStackedValueAxis: {
2392
+ gridIndexes: "all"
2393
+ },
2394
+ MultiBars: {
2395
+ gridIndexes: "all"
2396
+ },
2397
+ MultiStackedBars: {
2398
+ gridIndexes: "all"
2399
+ },
2400
+ MultiBarsTriangle: {
2401
+ gridIndexes: "all"
2402
+ },
2403
+ MultiLines: {
2404
+ gridIndexes: "all"
2405
+ },
2406
+ MultiLineAreas: {
2407
+ gridIndexes: "all"
2408
+ },
2409
+ MultiDots: {
2410
+ gridIndexes: "all"
2411
+ },
2412
+ MultiGridLegend: {
2413
+ placement: "bottom",
2414
+ padding: 14
2415
+ }
2416
+ }
2417
+ }, it = {
2418
+ name: "PRESET_MULTI_GRID_SIMPLE",
2419
+ description: "Simple MultiGrid",
2420
+ descriptionZh: "簡單MultiGrid",
2421
+ chartParams: {
2422
+ colors: {
2423
+ light: {
2424
+ label: [
2425
+ "#4BABFF",
2426
+ "#94D6CB",
2427
+ "#F9B052",
2428
+ "#8454D4",
2429
+ "#D58C75",
2430
+ "#42C724",
2431
+ "#FF8B8B",
2432
+ "#904026",
2433
+ "#C50669",
2434
+ "#4B25B3"
2435
+ ]
2436
+ }
2437
+ },
2438
+ padding: {
2439
+ top: 40,
2440
+ right: 40,
2441
+ bottom: 80,
2442
+ left: 40
2443
+ },
2444
+ highlightTarget: "series"
2445
+ },
2446
+ dataFormatter: {
2447
+ gridList: [
2448
+ // 設定一個所有grid一起套用
2449
+ {
2450
+ valueAxis: {
2451
+ scaleRange: [0, 0.95]
2452
+ }
2453
+ }
2454
+ ]
2455
+ },
2456
+ pluginParams: {
2457
+ MultiGridLegend: {
2458
+ placement: "bottom",
2459
+ padding: 7,
2460
+ gridList: [
2461
+ {},
2462
+ {
2463
+ listRectHeight: 2
2464
+ }
2465
+ ]
2466
+ }
2467
+ }
2468
+ }, at = {
2469
+ name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE",
2470
+ description: "Simple 2 groups of Line Area chart",
2471
+ descriptionZh: "簡單2組區域折線圖",
2472
+ chartParams: {
2473
+ colors: {
2474
+ light: {
2475
+ label: [
2476
+ "#4BABFF",
2477
+ "#94D6CB",
2478
+ "#F9B052",
2479
+ "#8454D4",
2480
+ "#D58C75",
2481
+ "#42C724",
2482
+ "#FF8B8B",
2483
+ "#904026",
2484
+ "#C50669",
2485
+ "#4B25B3"
2486
+ ]
2487
+ }
2488
+ },
2489
+ padding: {
2490
+ top: 40,
2491
+ right: 60,
2492
+ bottom: 80,
2493
+ left: 60
2494
+ }
2495
+ },
2496
+ dataFormatter: {
2497
+ gridList: [
2498
+ // 設定一個所有grid一起套用
2499
+ {
2500
+ groupAxis: {
2501
+ scalePadding: 0
2502
+ },
2503
+ valueAxis: {
2504
+ scaleRange: [0, 0.95]
2505
+ }
2506
+ }
2507
+ ],
2508
+ separateGrid: !0
2509
+ // container: {
2510
+ // gap: 40
2511
+ // }
2512
+ },
2513
+ pluginParams: {
2514
+ MultiGroupAxis: {
2515
+ // tickTextRotate: -30,
2516
+ gridIndexes: "all"
2517
+ },
2518
+ MultiValueAxis: {
2519
+ gridIndexes: "all"
2520
+ },
2521
+ MultiStackedValueAxis: {
2522
+ gridIndexes: "all"
2523
+ },
2524
+ MultiBars: {
2525
+ gridIndexes: "all"
2526
+ },
2527
+ MultiStackedBars: {
2528
+ gridIndexes: "all"
2529
+ },
2530
+ MultiBarsTriangle: {
2531
+ gridIndexes: "all"
2532
+ },
2533
+ MultiLines: {
2534
+ gridIndexes: "all"
2535
+ },
2536
+ MultiLineAreas: {
2537
+ gridIndexes: "all"
2538
+ },
2539
+ MultiDots: {
2540
+ gridIndexes: "all"
2541
+ },
2542
+ MultiGridLegend: {
2543
+ placement: "bottom",
2544
+ padding: 7,
2007
2545
  gridList: [
2008
2546
  {
2009
2547
  listRectHeight: 2
@@ -2032,9 +2570,10 @@ const m = {
2032
2570
  ]
2033
2571
  }
2034
2572
  }
2035
- }, K = {
2036
- name: "PRESET_MULTI_LINES_SEPARATE_GRID",
2037
- description: "多組分開折線圖表",
2573
+ }, rt = {
2574
+ name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID",
2575
+ description: "2 groups of Line Area chart",
2576
+ descriptionZh: "2組區域折線圖",
2038
2577
  chartParams: {
2039
2578
  colors: {
2040
2579
  light: {
@@ -2053,17 +2592,34 @@ const m = {
2053
2592
  }
2054
2593
  },
2055
2594
  padding: {
2056
- top: 60,
2057
- right: 60,
2595
+ top: 40,
2596
+ right: 40,
2058
2597
  bottom: 140,
2059
2598
  left: 80
2060
2599
  }
2061
2600
  },
2062
2601
  dataFormatter: {
2602
+ gridList: [
2603
+ {
2604
+ // slotIndex: 0
2605
+ groupAxis: {
2606
+ scalePadding: 0
2607
+ }
2608
+ },
2609
+ {
2610
+ // slotIndex: 1,
2611
+ groupAxis: {
2612
+ scalePadding: 0
2613
+ }
2614
+ }
2615
+ ],
2063
2616
  separateGrid: !0
2617
+ // container: {
2618
+ // rowAmount: 1,
2619
+ // columnAmount: 2,
2620
+ // }
2064
2621
  },
2065
- allPluginParams: {
2066
- ...e,
2622
+ pluginParams: {
2067
2623
  MultiGroupAxis: {
2068
2624
  tickTextRotate: -30,
2069
2625
  gridIndexes: "all"
@@ -2077,7 +2633,7 @@ const m = {
2077
2633
  MultiBars: {
2078
2634
  gridIndexes: "all"
2079
2635
  },
2080
- MultiStackedBar: {
2636
+ MultiStackedBars: {
2081
2637
  gridIndexes: "all"
2082
2638
  },
2083
2639
  MultiBarsTriangle: {
@@ -2125,92 +2681,620 @@ const m = {
2125
2681
  ]
2126
2682
  }
2127
2683
  }
2128
- }, j = {
2129
- name: "PRESET_MULTI_VALUE_BASIC",
2130
- description: "基本MultiValue參數",
2684
+ }, st = {
2685
+ name: "PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE",
2686
+ description: "Simple Multiple groups of Line chart",
2687
+ descriptionZh: "簡單多組分開折線圖表",
2131
2688
  chartParams: {
2132
2689
  colors: {
2133
2690
  light: {
2134
2691
  label: [
2135
- "#7DD3C4",
2136
- "#FFA0A0",
2137
- "#6CBAFF",
2138
- "#55D339",
2692
+ "#4BABFF",
2693
+ "#94D6CB",
2139
2694
  "#F9B052",
2140
- "#FF6C6C",
2141
- "#8E6BC9",
2142
- "#0088FF",
2695
+ "#8454D4",
2696
+ "#D58C75",
2697
+ "#42C724",
2698
+ "#FF8B8B",
2143
2699
  "#904026",
2144
- "#C4C4C4"
2700
+ "#C50669",
2701
+ "#4B25B3"
2145
2702
  ]
2146
2703
  }
2147
2704
  },
2148
2705
  padding: {
2149
- top: 60,
2150
- right: 60,
2151
- bottom: 100,
2152
- left: 60
2706
+ top: 40,
2707
+ right: 40,
2708
+ bottom: 80,
2709
+ left: 40
2153
2710
  }
2154
2711
  },
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
- ]
2712
+ dataFormatter: {
2713
+ gridList: [
2714
+ // 設定一個所有grid一起套用
2715
+ {
2716
+ valueAxis: {
2717
+ scaleRange: [0, 0.95]
2718
+ }
2179
2719
  }
2180
- },
2181
- padding: {
2182
- top: 60,
2183
- right: 60,
2720
+ ],
2721
+ separateGrid: !0,
2722
+ container: {
2723
+ gap: 40
2724
+ }
2725
+ },
2726
+ pluginParams: {
2727
+ MultiGroupAxis: {
2728
+ // tickTextRotate: -30,
2729
+ gridIndexes: "all"
2730
+ },
2731
+ MultiValueAxis: {
2732
+ gridIndexes: "all"
2733
+ },
2734
+ MultiStackedValueAxis: {
2735
+ gridIndexes: "all"
2736
+ },
2737
+ MultiBars: {
2738
+ gridIndexes: "all"
2739
+ },
2740
+ MultiStackedBars: {
2741
+ gridIndexes: "all"
2742
+ },
2743
+ MultiBarsTriangle: {
2744
+ gridIndexes: "all"
2745
+ },
2746
+ MultiLines: {
2747
+ gridIndexes: "all"
2748
+ },
2749
+ MultiLineAreas: {
2750
+ gridIndexes: "all"
2751
+ },
2752
+ MultiDots: {
2753
+ gridIndexes: "all"
2754
+ },
2755
+ MultiGridLegend: {
2756
+ placement: "bottom",
2757
+ padding: 7,
2758
+ gridList: [
2759
+ {
2760
+ listRectHeight: 2
2761
+ },
2762
+ {
2763
+ listRectHeight: 2
2764
+ },
2765
+ {
2766
+ listRectHeight: 2
2767
+ },
2768
+ {
2769
+ listRectHeight: 2
2770
+ },
2771
+ {
2772
+ listRectHeight: 2
2773
+ },
2774
+ {
2775
+ listRectHeight: 2
2776
+ },
2777
+ {
2778
+ listRectHeight: 2
2779
+ },
2780
+ {
2781
+ listRectHeight: 2
2782
+ }
2783
+ ]
2784
+ }
2785
+ }
2786
+ }, ot = {
2787
+ name: "PRESET_MULTI_LINES_SEPARATE_GRID",
2788
+ description: "Multiple groups of Line chart",
2789
+ descriptionZh: "多組分開折線圖表",
2790
+ chartParams: {
2791
+ colors: {
2792
+ light: {
2793
+ label: [
2794
+ "#4BABFF",
2795
+ "#94D6CB",
2796
+ "#F9B052",
2797
+ "#8454D4",
2798
+ "#D58C75",
2799
+ "#42C724",
2800
+ "#FF8B8B",
2801
+ "#904026",
2802
+ "#C50669",
2803
+ "#4B25B3"
2804
+ ]
2805
+ }
2806
+ },
2807
+ padding: {
2808
+ top: 40,
2809
+ right: 40,
2810
+ bottom: 140,
2811
+ left: 80
2812
+ }
2813
+ },
2814
+ dataFormatter: {
2815
+ separateGrid: !0
2816
+ },
2817
+ pluginParams: {
2818
+ MultiGroupAxis: {
2819
+ tickTextRotate: -30,
2820
+ gridIndexes: "all"
2821
+ },
2822
+ MultiValueAxis: {
2823
+ gridIndexes: "all"
2824
+ },
2825
+ MultiStackedValueAxis: {
2826
+ gridIndexes: "all"
2827
+ },
2828
+ MultiBars: {
2829
+ gridIndexes: "all"
2830
+ },
2831
+ MultiStackedBars: {
2832
+ gridIndexes: "all"
2833
+ },
2834
+ MultiBarsTriangle: {
2835
+ gridIndexes: "all"
2836
+ },
2837
+ MultiLines: {
2838
+ gridIndexes: "all"
2839
+ },
2840
+ MultiLineAreas: {
2841
+ gridIndexes: "all"
2842
+ },
2843
+ MultiDots: {
2844
+ gridIndexes: "all"
2845
+ },
2846
+ MultiGridLegend: {
2847
+ // position: 'bottom',
2848
+ // justify: 'center',
2849
+ placement: "bottom",
2850
+ padding: 14,
2851
+ gridList: [
2852
+ {
2853
+ listRectHeight: 2
2854
+ },
2855
+ {
2856
+ listRectHeight: 2
2857
+ },
2858
+ {
2859
+ listRectHeight: 2
2860
+ },
2861
+ {
2862
+ listRectHeight: 2
2863
+ },
2864
+ {
2865
+ listRectHeight: 2
2866
+ },
2867
+ {
2868
+ listRectHeight: 2
2869
+ },
2870
+ {
2871
+ listRectHeight: 2
2872
+ },
2873
+ {
2874
+ listRectHeight: 2
2875
+ }
2876
+ ]
2877
+ }
2878
+ }
2879
+ }, lt = {
2880
+ name: "PRESET_MULTI_VALUE_BASIC",
2881
+ description: "Basic MultiValue",
2882
+ descriptionZh: "基本MultiValue參數",
2883
+ chartParams: {
2884
+ colors: {
2885
+ light: {
2886
+ label: [
2887
+ "#7DD3C4",
2888
+ "#FFA0A0",
2889
+ "#6CBAFF",
2890
+ "#55D339",
2891
+ "#F9B052",
2892
+ "#FF6C6C",
2893
+ "#8E6BC9",
2894
+ "#0088FF",
2895
+ "#904026",
2896
+ "#C4C4C4"
2897
+ ]
2898
+ }
2899
+ },
2900
+ padding: {
2901
+ top: 40,
2902
+ right: 40,
2184
2903
  bottom: 100,
2185
- left: 60
2904
+ left: 80
2905
+ }
2906
+ },
2907
+ pluginParams: {
2908
+ MultiValueLegend: {
2909
+ placement: "bottom",
2910
+ padding: 14
2911
+ }
2912
+ }
2913
+ }, nt = {
2914
+ name: "PRESET_MULTI_VALUE_SEPARATE_CATEGORY",
2915
+ description: "MultiValue separate category",
2916
+ descriptionZh: "MultiValue 分開顯示category",
2917
+ chartParams: {
2918
+ colors: {
2919
+ light: {
2920
+ label: [
2921
+ "#7DD3C4",
2922
+ "#FFA0A0",
2923
+ "#6CBAFF",
2924
+ "#55D339",
2925
+ "#F9B052",
2926
+ "#FF6C6C",
2927
+ "#8E6BC9",
2928
+ "#0088FF",
2929
+ "#904026",
2930
+ "#C4C4C4"
2931
+ ]
2932
+ }
2933
+ },
2934
+ padding: {
2935
+ top: 40,
2936
+ right: 40,
2937
+ bottom: 100,
2938
+ left: 80
2186
2939
  }
2187
2940
  },
2188
2941
  dataFormatter: {
2189
2942
  separateCategory: !0
2190
2943
  },
2191
- allPluginParams: {
2944
+ pluginParams: {
2945
+ XYAxes: {
2946
+ xAxis: {
2947
+ ticks: 3
2948
+ },
2949
+ yAxis: {
2950
+ ticks: 3
2951
+ }
2952
+ },
2192
2953
  MultiValueLegend: {
2193
2954
  placement: "bottom",
2194
2955
  padding: 14
2195
2956
  }
2196
2957
  }
2197
- }, J = {
2198
- name: "PRESET_SCATTER_BASIC",
2199
- description: "基本散布圖",
2958
+ }, dt = {
2959
+ name: "PRESET_MULTI_VALUE_SIMPLE",
2960
+ description: "Simple MultiValue",
2961
+ descriptionZh: "簡單MultiValue參數",
2200
2962
  chartParams: {
2201
2963
  colors: {
2202
2964
  light: {
2203
2965
  label: [
2204
- "#16B59B",
2205
- "#0088FF",
2206
- "#FF3232",
2966
+ "#7DD3C4",
2967
+ "#FFA0A0",
2968
+ "#6CBAFF",
2969
+ "#55D339",
2970
+ "#F9B052",
2971
+ "#FF6C6C",
2207
2972
  "#8E6BC9",
2973
+ "#0088FF",
2208
2974
  "#904026",
2209
- "#D117EA",
2210
- "#F38428",
2211
- "#6BDC51",
2212
- "#C50669",
2213
- "#4B25B3"
2975
+ "#C4C4C4"
2976
+ ]
2977
+ }
2978
+ },
2979
+ padding: {
2980
+ top: 40,
2981
+ right: 40,
2982
+ bottom: 60,
2983
+ left: 80
2984
+ }
2985
+ },
2986
+ pluginParams: {
2987
+ MultiValueLegend: {
2988
+ placement: "bottom",
2989
+ padding: 7
2990
+ }
2991
+ }
2992
+ }, Et = {
2993
+ name: "PRESET_RACING_BARS_ALL_ITEMS",
2994
+ description: "Racing Bars for all items",
2995
+ descriptionZh: "顯示全部項目的賽跑長條圖",
2996
+ chartParams: {
2997
+ colors: {
2998
+ light: {
2999
+ label: [
3000
+ "#4BABFF",
3001
+ "#FFA0A0",
3002
+ "#7DD3C4",
3003
+ "#F9B052",
3004
+ "#8454D4",
3005
+ "#42C724",
3006
+ "#FF4B4B",
3007
+ "#904026",
3008
+ "#4B25B3",
3009
+ "#C50669"
3010
+ ]
3011
+ }
3012
+ },
3013
+ padding: {
3014
+ top: 60,
3015
+ right: 60,
3016
+ bottom: 100,
3017
+ left: 60
3018
+ },
3019
+ transitionDuration: 500
3020
+ },
3021
+ pluginParams: {
3022
+ RacingBars: {
3023
+ rankingAmount: "auto",
3024
+ autorun: !0
3025
+ },
3026
+ MultiValueLegend: {
3027
+ placement: "bottom",
3028
+ padding: 14
3029
+ }
3030
+ }
3031
+ }, Ft = {
3032
+ name: "PRESET_RACING_BARS_BASIC",
3033
+ description: "Basic Racing Bars",
3034
+ descriptionZh: "基本賽跑長條圖",
3035
+ chartParams: {
3036
+ colors: {
3037
+ light: {
3038
+ label: [
3039
+ "#4BABFF",
3040
+ "#FFA0A0",
3041
+ "#7DD3C4",
3042
+ "#F9B052",
3043
+ "#8454D4",
3044
+ "#42C724",
3045
+ "#FF4B4B",
3046
+ "#904026",
3047
+ "#4B25B3",
3048
+ "#C50669"
3049
+ ]
3050
+ }
3051
+ },
3052
+ padding: {
3053
+ top: 60,
3054
+ right: 60,
3055
+ bottom: 100,
3056
+ left: 60
3057
+ },
3058
+ transitionDuration: 500
3059
+ },
3060
+ pluginParams: {
3061
+ RacingBars: {
3062
+ autorun: !0
3063
+ },
3064
+ MultiValueLegend: {
3065
+ placement: "bottom",
3066
+ padding: 14
3067
+ }
3068
+ }
3069
+ }, ct = {
3070
+ name: "PRESET_RACING_BARS_FAST",
3071
+ description: "Fast Racing Bars",
3072
+ descriptionZh: "快速的賽跑長條圖",
3073
+ chartParams: {
3074
+ colors: {
3075
+ light: {
3076
+ label: [
3077
+ "#4BABFF",
3078
+ "#FFA0A0",
3079
+ "#7DD3C4",
3080
+ "#F9B052",
3081
+ "#8454D4",
3082
+ "#42C724",
3083
+ "#FF4B4B",
3084
+ "#904026",
3085
+ "#4B25B3",
3086
+ "#C50669"
3087
+ ]
3088
+ }
3089
+ },
3090
+ padding: {
3091
+ top: 60,
3092
+ right: 60,
3093
+ bottom: 100,
3094
+ left: 60
3095
+ },
3096
+ transitionDuration: 250
3097
+ },
3098
+ pluginParams: {
3099
+ RacingBars: {
3100
+ autorun: !0
3101
+ },
3102
+ MultiValueLegend: {
3103
+ placement: "bottom",
3104
+ padding: 14
3105
+ }
3106
+ }
3107
+ }, gt = {
3108
+ name: "PRESET_RACING_BARS_FASTER",
3109
+ description: "Faster Racing Bars",
3110
+ descriptionZh: "更快速的賽跑長條圖",
3111
+ chartParams: {
3112
+ colors: {
3113
+ light: {
3114
+ label: [
3115
+ "#4BABFF",
3116
+ "#FFA0A0",
3117
+ "#7DD3C4",
3118
+ "#F9B052",
3119
+ "#8454D4",
3120
+ "#42C724",
3121
+ "#FF4B4B",
3122
+ "#904026",
3123
+ "#4B25B3",
3124
+ "#C50669"
3125
+ ]
3126
+ }
3127
+ },
3128
+ padding: {
3129
+ top: 60,
3130
+ right: 60,
3131
+ bottom: 100,
3132
+ left: 60
3133
+ },
3134
+ transitionDuration: 125
3135
+ },
3136
+ pluginParams: {
3137
+ RacingBars: {
3138
+ autorun: !0
3139
+ },
3140
+ MultiValueLegend: {
3141
+ placement: "bottom",
3142
+ padding: 14
3143
+ }
3144
+ }
3145
+ }, Bt = {
3146
+ name: "PRESET_RACING_BARS_OUTSIDE_LABELS",
3147
+ description: "Racing Bars with labels outside",
3148
+ descriptionZh: "標籤在外面的賽跑長條圖",
3149
+ chartParams: {
3150
+ colors: {
3151
+ light: {
3152
+ label: [
3153
+ "#4BABFF",
3154
+ "#FFA0A0",
3155
+ "#7DD3C4",
3156
+ "#F9B052",
3157
+ "#8454D4",
3158
+ "#42C724",
3159
+ "#FF4B4B",
3160
+ "#904026",
3161
+ "#4B25B3",
3162
+ "#C50669"
3163
+ ]
3164
+ }
3165
+ },
3166
+ padding: {
3167
+ top: 60,
3168
+ right: 60,
3169
+ bottom: 100,
3170
+ left: 160
3171
+ },
3172
+ transitionDuration: 500
3173
+ },
3174
+ pluginParams: {
3175
+ RacingBars: {
3176
+ barLabel: {
3177
+ position: "outside",
3178
+ colorType: "primary"
3179
+ },
3180
+ autorun: !0
3181
+ },
3182
+ MultiValueLegend: {
3183
+ placement: "bottom",
3184
+ padding: 14
3185
+ }
3186
+ }
3187
+ }, pt = {
3188
+ name: "PRESET_RACING_BARS_SEPARATE_CATEGORY",
3189
+ description: "Racing Bars with separate category",
3190
+ descriptionZh: "分開顯示category的賽跑長條圖",
3191
+ chartParams: {
3192
+ colors: {
3193
+ light: {
3194
+ label: [
3195
+ "#4BABFF",
3196
+ "#FFA0A0",
3197
+ "#7DD3C4",
3198
+ "#F9B052",
3199
+ "#8454D4",
3200
+ "#42C724",
3201
+ "#FF4B4B",
3202
+ "#904026",
3203
+ "#4B25B3",
3204
+ "#C50669"
3205
+ ]
3206
+ }
3207
+ },
3208
+ padding: {
3209
+ top: 40,
3210
+ right: 40,
3211
+ bottom: 60,
3212
+ left: 140
3213
+ },
3214
+ transitionDuration: 500
3215
+ },
3216
+ dataFormatter: {
3217
+ separateCategory: !0,
3218
+ container: {
3219
+ gap: 80
3220
+ }
3221
+ },
3222
+ pluginParams: {
3223
+ RacingBars: {
3224
+ barLabel: {
3225
+ position: "outside",
3226
+ colorType: "primary",
3227
+ padding: 10
3228
+ },
3229
+ valueLabel: {
3230
+ padding: 10
3231
+ },
3232
+ autorun: !0
3233
+ },
3234
+ RacingValueAxis: {
3235
+ ticks: 3
3236
+ },
3237
+ MultiValueLegend: {
3238
+ placement: "bottom",
3239
+ padding: 14
3240
+ }
3241
+ }
3242
+ }, At = {
3243
+ name: "PRESET_RACING_BARS_SIMPLE",
3244
+ description: "Simple Racing Bars",
3245
+ descriptionZh: "簡單賽跑長條圖",
3246
+ chartParams: {
3247
+ colors: {
3248
+ light: {
3249
+ label: [
3250
+ "#4BABFF",
3251
+ "#FFA0A0",
3252
+ "#7DD3C4",
3253
+ "#F9B052",
3254
+ "#8454D4",
3255
+ "#42C724",
3256
+ "#FF4B4B",
3257
+ "#904026",
3258
+ "#4B25B3",
3259
+ "#C50669"
3260
+ ]
3261
+ }
3262
+ },
3263
+ padding: {
3264
+ top: 60,
3265
+ right: 40,
3266
+ bottom: 40,
3267
+ left: 40
3268
+ },
3269
+ transitionDuration: 500
3270
+ },
3271
+ pluginParams: {
3272
+ RacingBars: {
3273
+ autorun: !0
3274
+ },
3275
+ MultiValueLegend: {
3276
+ placement: "bottom",
3277
+ padding: 7
3278
+ }
3279
+ }
3280
+ }, St = {
3281
+ name: "PRESET_RACING_BARS_STOP",
3282
+ description: "Stopped Racing Bars",
3283
+ descriptionZh: "停止的賽跑長條圖",
3284
+ chartParams: {
3285
+ colors: {
3286
+ light: {
3287
+ label: [
3288
+ "#4BABFF",
3289
+ "#FFA0A0",
3290
+ "#7DD3C4",
3291
+ "#F9B052",
3292
+ "#8454D4",
3293
+ "#42C724",
3294
+ "#FF4B4B",
3295
+ "#904026",
3296
+ "#4B25B3",
3297
+ "#C50669"
2214
3298
  ]
2215
3299
  }
2216
3300
  },
@@ -2221,15 +3305,19 @@ const m = {
2221
3305
  left: 60
2222
3306
  }
2223
3307
  },
2224
- allPluginParams: {
3308
+ pluginParams: {
3309
+ RacingBars: {
3310
+ autorun: !1
3311
+ },
2225
3312
  MultiValueLegend: {
2226
3313
  placement: "bottom",
2227
3314
  padding: 14
2228
3315
  }
2229
3316
  }
2230
- }, Q = {
2231
- name: "PRESET_SCATTER_SEPARATE_CATEGORY",
2232
- description: "分開顯示category的散布圖",
3317
+ }, Rt = {
3318
+ name: "PRESET_SCATTER_BASIC",
3319
+ description: "Basic Scatter",
3320
+ descriptionZh: "基本散布圖",
2233
3321
  chartParams: {
2234
3322
  colors: {
2235
3323
  light: {
@@ -2248,24 +3336,24 @@ const m = {
2248
3336
  }
2249
3337
  },
2250
3338
  padding: {
2251
- top: 60,
2252
- right: 60,
3339
+ top: 40,
3340
+ right: 40,
2253
3341
  bottom: 100,
2254
- left: 60
3342
+ left: 80
2255
3343
  }
2256
3344
  },
2257
- dataFormatter: {
2258
- separateCategory: !0
2259
- },
2260
- allPluginParams: {
3345
+ pluginParams: {
2261
3346
  MultiValueLegend: {
2262
3347
  placement: "bottom",
2263
- padding: 14
3348
+ padding: 14,
3349
+ listRectRadius: 7
3350
+ // 圓型圖例列點
2264
3351
  }
2265
3352
  }
2266
- }, $ = {
3353
+ }, ut = {
2267
3354
  name: "PRESET_SCATTER_BUBBLES_BASIC",
2268
- description: "基本的散布泡泡圖",
3355
+ description: "Basic Scatter Bubbles",
3356
+ descriptionZh: "基本的散布泡泡圖",
2269
3357
  chartParams: {
2270
3358
  colors: {
2271
3359
  light: {
@@ -2284,21 +3372,24 @@ const m = {
2284
3372
  }
2285
3373
  },
2286
3374
  padding: {
2287
- top: 60,
2288
- right: 60,
3375
+ top: 40,
3376
+ right: 40,
2289
3377
  bottom: 100,
2290
- left: 60
3378
+ left: 80
2291
3379
  }
2292
3380
  },
2293
- allPluginParams: {
3381
+ pluginParams: {
2294
3382
  MultiValueLegend: {
2295
3383
  placement: "bottom",
2296
- padding: 14
3384
+ padding: 14,
3385
+ listRectRadius: 7
3386
+ // 圓型圖例列點
2297
3387
  }
2298
3388
  }
2299
- }, tt = {
3389
+ }, _t = {
2300
3390
  name: "PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS",
2301
- description: "以半徑尺寸為比例的散布泡泡圖",
3391
+ description: "Scatter Bubbles with Radius Scaling",
3392
+ descriptionZh: "以半徑尺寸為比例的散布泡泡圖",
2302
3393
  chartParams: {
2303
3394
  colors: {
2304
3395
  light: {
@@ -2317,24 +3408,27 @@ const m = {
2317
3408
  }
2318
3409
  },
2319
3410
  padding: {
2320
- top: 60,
2321
- right: 60,
3411
+ top: 40,
3412
+ right: 40,
2322
3413
  bottom: 100,
2323
- left: 60
3414
+ left: 80
2324
3415
  }
2325
3416
  },
2326
- allPluginParams: {
3417
+ pluginParams: {
2327
3418
  MultiValueLegend: {
2328
3419
  placement: "bottom",
2329
- padding: 14
3420
+ padding: 14,
3421
+ listRectRadius: 7
3422
+ // 圓型圖例列點
2330
3423
  },
2331
3424
  ScatterBubbles: {
2332
3425
  arcScaleType: "radius"
2333
3426
  }
2334
3427
  }
2335
- }, at = {
3428
+ }, Ct = {
2336
3429
  name: "PRESET_SCATTER_BUBBLES_LINEAR_OPACITY",
2337
- description: "漸變透明度的散布泡泡圖",
3430
+ description: "Scatter Bubbles with Linear Opacity",
3431
+ descriptionZh: "漸變透明度的散布泡泡圖",
2338
3432
  chartParams: {
2339
3433
  colors: {
2340
3434
  light: {
@@ -2353,24 +3447,27 @@ const m = {
2353
3447
  }
2354
3448
  },
2355
3449
  padding: {
2356
- top: 60,
2357
- right: 60,
3450
+ top: 40,
3451
+ right: 40,
2358
3452
  bottom: 100,
2359
- left: 60
3453
+ left: 80
2360
3454
  }
2361
3455
  },
2362
- allPluginParams: {
3456
+ pluginParams: {
2363
3457
  MultiValueLegend: {
2364
3458
  placement: "bottom",
2365
- padding: 14
3459
+ padding: 14,
3460
+ listRectRadius: 7
3461
+ // 圓型圖例列點
2366
3462
  },
2367
3463
  ScatterBubbles: {
2368
3464
  valueLinearOpacity: [0.6, 0.95]
2369
3465
  }
2370
3466
  }
2371
- }, et = {
3467
+ }, mt = {
2372
3468
  name: "PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY",
2373
- description: "分開顯示category的散布泡泡圖",
3469
+ description: "Scatter Bubbles with Separate Category",
3470
+ descriptionZh: "分開顯示category的散布泡泡圖",
2374
3471
  chartParams: {
2375
3472
  colors: {
2376
3473
  light: {
@@ -2389,24 +3486,146 @@ const m = {
2389
3486
  }
2390
3487
  },
2391
3488
  padding: {
2392
- top: 60,
2393
- right: 60,
3489
+ top: 40,
3490
+ right: 40,
2394
3491
  bottom: 100,
2395
- left: 60
3492
+ left: 80
2396
3493
  }
2397
3494
  },
2398
3495
  dataFormatter: {
2399
3496
  separateCategory: !0
2400
3497
  },
2401
- allPluginParams: {
3498
+ pluginParams: {
2402
3499
  MultiValueLegend: {
2403
3500
  placement: "bottom",
2404
- padding: 14
3501
+ padding: 14,
3502
+ listRectRadius: 7
3503
+ // 圓型圖例列點
2405
3504
  }
2406
3505
  }
2407
- }, it = {
3506
+ }, ht = {
3507
+ name: "PRESET_SCATTER_BUBBLES_SIMPLE",
3508
+ description: "Simple Scatter Bubbles",
3509
+ descriptionZh: "簡單的散布泡泡圖",
3510
+ chartParams: {
3511
+ colors: {
3512
+ light: {
3513
+ label: [
3514
+ "#6CBAFF",
3515
+ "#FF6C6C",
3516
+ "#F9B052",
3517
+ "#7DD3C4",
3518
+ "#AA93D2",
3519
+ "#0088FF",
3520
+ "#FFBABA",
3521
+ "#86DC72",
3522
+ "#EF76FF",
3523
+ "#C4C4C4"
3524
+ ]
3525
+ }
3526
+ },
3527
+ padding: {
3528
+ top: 40,
3529
+ right: 40,
3530
+ bottom: 60,
3531
+ left: 80
3532
+ }
3533
+ },
3534
+ pluginParams: {
3535
+ MultiValueLegend: {
3536
+ placement: "bottom",
3537
+ padding: 7,
3538
+ listRectRadius: 7
3539
+ // 圓型圖例列點
3540
+ }
3541
+ }
3542
+ }, Pt = {
3543
+ name: "PRESET_SCATTER_SEPARATE_CATEGORY",
3544
+ description: "Scatter with Separate Category",
3545
+ descriptionZh: "分開顯示category的散布圖",
3546
+ chartParams: {
3547
+ colors: {
3548
+ light: {
3549
+ label: [
3550
+ "#16B59B",
3551
+ "#0088FF",
3552
+ "#FF3232",
3553
+ "#8E6BC9",
3554
+ "#904026",
3555
+ "#D117EA",
3556
+ "#F38428",
3557
+ "#6BDC51",
3558
+ "#C50669",
3559
+ "#4B25B3"
3560
+ ]
3561
+ }
3562
+ },
3563
+ padding: {
3564
+ top: 40,
3565
+ right: 40,
3566
+ bottom: 100,
3567
+ left: 80
3568
+ }
3569
+ },
3570
+ dataFormatter: {
3571
+ separateCategory: !0
3572
+ },
3573
+ pluginParams: {
3574
+ XYAxes: {
3575
+ xAxis: {
3576
+ ticks: 3
3577
+ },
3578
+ yAxis: {
3579
+ ticks: 3
3580
+ }
3581
+ },
3582
+ MultiValueLegend: {
3583
+ placement: "bottom",
3584
+ padding: 14,
3585
+ listRectRadius: 7
3586
+ // 圓型圖例列點
3587
+ }
3588
+ }
3589
+ }, Dt = {
3590
+ name: "PRESET_SCATTER_SIMPLE",
3591
+ description: "Simple Scatter",
3592
+ descriptionZh: "簡單散布圖",
3593
+ chartParams: {
3594
+ colors: {
3595
+ light: {
3596
+ label: [
3597
+ "#16B59B",
3598
+ "#0088FF",
3599
+ "#FF3232",
3600
+ "#8E6BC9",
3601
+ "#904026",
3602
+ "#D117EA",
3603
+ "#F38428",
3604
+ "#6BDC51",
3605
+ "#C50669",
3606
+ "#4B25B3"
3607
+ ]
3608
+ }
3609
+ },
3610
+ padding: {
3611
+ top: 40,
3612
+ right: 40,
3613
+ bottom: 60,
3614
+ left: 80
3615
+ }
3616
+ },
3617
+ pluginParams: {
3618
+ MultiValueLegend: {
3619
+ placement: "bottom",
3620
+ padding: 7,
3621
+ listRectRadius: 7
3622
+ // 圓型圖例列點
3623
+ }
3624
+ }
3625
+ }, Tt = {
2408
3626
  name: "PRESET_FORCE_DIRECTED_BASIC",
2409
- description: "基本Force Directed參數",
3627
+ description: "Basic Force Directed Chart",
3628
+ descriptionZh: "基本力導向圖",
2410
3629
  chartParams: {
2411
3630
  colors: {
2412
3631
  light: {
@@ -2424,23 +3643,18 @@ const m = {
2424
3643
  ]
2425
3644
  }
2426
3645
  }
2427
- // padding: {
2428
- // top: 40,
2429
- // right: 40,
2430
- // bottom: 60,
2431
- // left: 40
2432
- // },
2433
3646
  },
2434
- allPluginParams: {
3647
+ pluginParams: {
2435
3648
  ForceDirected: {},
2436
3649
  RelationshipLegend: {
2437
3650
  listRectRadius: 7
2438
3651
  // 圓型圖例列點
2439
3652
  }
2440
3653
  }
2441
- }, lt = {
3654
+ }, It = {
2442
3655
  name: "PRESET_FORCE_DIRECTED_BUBBLES_BASIC",
2443
- description: "基本Force Directed Bubbles參數",
3656
+ description: "Basic Force Directed Bubbles Chart",
3657
+ descriptionZh: "基本力導向泡泡圖",
2444
3658
  chartParams: {
2445
3659
  colors: {
2446
3660
  light: {
@@ -2458,23 +3672,18 @@ const m = {
2458
3672
  ]
2459
3673
  }
2460
3674
  }
2461
- // padding: {
2462
- // top: 40,
2463
- // right: 40,
2464
- // bottom: 60,
2465
- // left: 40
2466
- // },
2467
3675
  },
2468
- allPluginParams: {
3676
+ pluginParams: {
2469
3677
  ForceDirectedBubbles: {},
2470
3678
  RelationshipLegend: {
2471
3679
  listRectRadius: 7
2472
3680
  // 圓型圖例列點
2473
3681
  }
2474
3682
  }
2475
- }, rt = {
3683
+ }, Lt = {
2476
3684
  name: "PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH",
2477
- description: "Force Directed Bubbles固定箭頭寬度",
3685
+ description: "Force-directed bubble chart with fixed arrow width",
3686
+ descriptionZh: "固定箭頭寬度的力導向泡泡圖",
2478
3687
  chartParams: {
2479
3688
  colors: {
2480
3689
  light: {
@@ -2492,14 +3701,8 @@ const m = {
2492
3701
  ]
2493
3702
  }
2494
3703
  }
2495
- // padding: {
2496
- // top: 40,
2497
- // right: 40,
2498
- // bottom: 60,
2499
- // left: 40
2500
- // },
2501
3704
  },
2502
- allPluginParams: {
3705
+ pluginParams: {
2503
3706
  ForceDirectedBubbles: {
2504
3707
  arrow: {
2505
3708
  strokeWidthMin: 1.5,
@@ -2511,9 +3714,10 @@ const m = {
2511
3714
  // 圓型圖例列點
2512
3715
  }
2513
3716
  }
2514
- }, st = {
3717
+ }, bt = {
2515
3718
  name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW",
2516
- description: "Force Directed Bubbles沒有箭頭",
3719
+ description: "Force-directed bubble chart without arrows",
3720
+ descriptionZh: "沒有箭頭的力導向泡泡圖",
2517
3721
  chartParams: {
2518
3722
  colors: {
2519
3723
  light: {
@@ -2531,20 +3735,12 @@ const m = {
2531
3735
  ]
2532
3736
  }
2533
3737
  }
2534
- // padding: {
2535
- // top: 40,
2536
- // right: 40,
2537
- // bottom: 60,
2538
- // left: 40
2539
- // },
2540
3738
  },
2541
- allPluginParams: {
3739
+ pluginParams: {
2542
3740
  ForceDirectedBubbles: {
2543
3741
  arrow: {
2544
3742
  pointerWidth: 0,
2545
3743
  pointerHeight: 0
2546
- // strokeWidthMin: 1.5,
2547
- // strokeWidthMax: 9
2548
3744
  }
2549
3745
  },
2550
3746
  RelationshipLegend: {
@@ -2552,9 +3748,10 @@ const m = {
2552
3748
  // 圓型圖例列點
2553
3749
  }
2554
3750
  }
2555
- }, ot = {
3751
+ }, Mt = {
2556
3752
  name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM",
2557
- description: "Force Directed Bubbles無滑鼠托曳及縮放控制",
3753
+ description: "Force Directed Bubbles Chart without mouse drag and zoom control",
3754
+ descriptionZh: "無滑鼠托曳及縮放控制的力導向泡泡圖",
2558
3755
  chartParams: {
2559
3756
  colors: {
2560
3757
  light: {
@@ -2572,14 +3769,8 @@ const m = {
2572
3769
  ]
2573
3770
  }
2574
3771
  }
2575
- // padding: {
2576
- // top: 40,
2577
- // right: 40,
2578
- // bottom: 60,
2579
- // left: 40
2580
- // },
2581
3772
  },
2582
- allPluginParams: {
3773
+ pluginParams: {
2583
3774
  ForceDirectedBubbles: {
2584
3775
  zoomable: !1
2585
3776
  },
@@ -2588,9 +3779,40 @@ const m = {
2588
3779
  // 圓型圖例列點
2589
3780
  }
2590
3781
  }
2591
- }, Et = {
3782
+ }, xt = {
3783
+ name: "PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE",
3784
+ description: "Simple Force Directed Bubbles Chart",
3785
+ descriptionZh: "簡單力導向泡泡圖",
3786
+ chartParams: {
3787
+ colors: {
3788
+ light: {
3789
+ label: [
3790
+ "#6CBAFF",
3791
+ "#FF6C6C",
3792
+ "#F9B052",
3793
+ "#7DD3C4",
3794
+ "#AA93D2",
3795
+ "#0088FF",
3796
+ "#FFBABA",
3797
+ "#86DC72",
3798
+ "#EF76FF",
3799
+ "#C4C4C4"
3800
+ ]
3801
+ }
3802
+ }
3803
+ },
3804
+ pluginParams: {
3805
+ ForceDirectedBubbles: {},
3806
+ RelationshipLegend: {
3807
+ listRectRadius: 7,
3808
+ // 圓型圖例列點
3809
+ padding: 7
3810
+ }
3811
+ }
3812
+ }, Gt = {
2592
3813
  name: "PRESET_FORCE_DIRECTED_NONE_ZOOM",
2593
- description: "Force Directed無滑鼠托曳及縮放控制",
3814
+ description: "Force Directed Chart without mouse drag and zoom control",
3815
+ descriptionZh: "無滑鼠托曳及縮放控制的力導向圖",
2594
3816
  chartParams: {
2595
3817
  colors: {
2596
3818
  light: {
@@ -2608,14 +3830,8 @@ const m = {
2608
3830
  ]
2609
3831
  }
2610
3832
  }
2611
- // padding: {
2612
- // top: 40,
2613
- // right: 40,
2614
- // bottom: 60,
2615
- // left: 40
2616
- // },
2617
3833
  },
2618
- allPluginParams: {
3834
+ pluginParams: {
2619
3835
  ForceDirected: {
2620
3836
  zoomable: !1
2621
3837
  },
@@ -2624,9 +3840,10 @@ const m = {
2624
3840
  // 圓型圖例列點
2625
3841
  }
2626
3842
  }
2627
- }, nt = {
3843
+ }, Ot = {
2628
3844
  name: "PRESET_FORCE_DIRECTED_FIX_FONT_SIZE",
2629
- description: "基本Force Directed參數",
3845
+ description: "Force Directed Chart with fixed font size",
3846
+ descriptionZh: "固定字體大小的力導向圖",
2630
3847
  chartParams: {
2631
3848
  colors: {
2632
3849
  light: {
@@ -2644,14 +3861,8 @@ const m = {
2644
3861
  ]
2645
3862
  }
2646
3863
  }
2647
- // padding: {
2648
- // top: 40,
2649
- // right: 40,
2650
- // bottom: 60,
2651
- // left: 40
2652
- // },
2653
3864
  },
2654
- allPluginParams: {
3865
+ pluginParams: {
2655
3866
  ForceDirected: {
2656
3867
  dotLabel: {
2657
3868
  sizeFixed: !0
@@ -2665,9 +3876,10 @@ const m = {
2665
3876
  // 圓型圖例列點
2666
3877
  }
2667
3878
  }
2668
- }, Ft = {
3879
+ }, Nt = {
2669
3880
  name: "PRESET_FORCE_DIRECTED_NONE_ARROW",
2670
- description: "Force Directed沒有箭頭",
3881
+ description: "Force Directed Chart without Arrows",
3882
+ descriptionZh: "沒有箭頭的力導向圖",
2671
3883
  chartParams: {
2672
3884
  colors: {
2673
3885
  light: {
@@ -2685,14 +3897,8 @@ const m = {
2685
3897
  ]
2686
3898
  }
2687
3899
  }
2688
- // padding: {
2689
- // top: 40,
2690
- // right: 40,
2691
- // bottom: 60,
2692
- // left: 40
2693
- // },
2694
3900
  },
2695
- allPluginParams: {
3901
+ pluginParams: {
2696
3902
  ForceDirected: {
2697
3903
  arrow: {
2698
3904
  pointerWidth: 0,
@@ -2704,9 +3910,40 @@ const m = {
2704
3910
  // 圓型圖例列點
2705
3911
  }
2706
3912
  }
2707
- }, dt = {
3913
+ }, vt = {
3914
+ name: "PRESET_FORCE_DIRECTED_SIMPLE",
3915
+ description: "Simple Force Directed Chart",
3916
+ descriptionZh: "簡單力導向圖",
3917
+ chartParams: {
3918
+ colors: {
3919
+ light: {
3920
+ label: [
3921
+ "#4BABFF",
3922
+ "#FFA0A0",
3923
+ "#7DD3C4",
3924
+ "#F9B052",
3925
+ "#8454D4",
3926
+ "#42C724",
3927
+ "#FF4B4B",
3928
+ "#904026",
3929
+ "#4B25B3",
3930
+ "#C50669"
3931
+ ]
3932
+ }
3933
+ }
3934
+ },
3935
+ pluginParams: {
3936
+ ForceDirected: {},
3937
+ RelationshipLegend: {
3938
+ listRectRadius: 7,
3939
+ // 圓型圖例列點
3940
+ padding: 7
3941
+ }
3942
+ }
3943
+ }, Zt = {
2708
3944
  name: "PRESET_TREE_MAP_BASIC",
2709
- description: "基本Tree Map參數",
3945
+ description: "Basic Tree Map",
3946
+ descriptionZh: "基本樹狀矩形圖",
2710
3947
  chartParams: {
2711
3948
  colors: {
2712
3949
  light: {
@@ -2731,7 +3968,7 @@ const m = {
2731
3968
  left: 40
2732
3969
  }
2733
3970
  },
2734
- allPluginParams: {
3971
+ pluginParams: {
2735
3972
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
2736
3973
  TreeMap: {},
2737
3974
  TreeLegend: {
@@ -2741,69 +3978,134 @@ const m = {
2741
3978
  padding: 14
2742
3979
  }
2743
3980
  }
3981
+ }, Ut = {
3982
+ name: "PRESET_TREE_MAP_SIMPLE",
3983
+ description: "Simple Tree Map",
3984
+ descriptionZh: "簡單樹狀矩形圖",
3985
+ chartParams: {
3986
+ colors: {
3987
+ light: {
3988
+ label: [
3989
+ "#4BABFF",
3990
+ "#94D6CB",
3991
+ "#F9B052",
3992
+ "#8454D4",
3993
+ "#D58C75",
3994
+ "#42C724",
3995
+ "#FF8B8B",
3996
+ "#904026",
3997
+ "#C50669",
3998
+ "#4B25B3"
3999
+ ]
4000
+ }
4001
+ },
4002
+ padding: {
4003
+ top: 40,
4004
+ right: 40,
4005
+ bottom: 60,
4006
+ left: 40
4007
+ }
4008
+ },
4009
+ pluginParams: {
4010
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
4011
+ TreeMap: {},
4012
+ TreeLegend: {
4013
+ // position: 'bottom',
4014
+ // justify: 'center',
4015
+ placement: "bottom",
4016
+ padding: 7
4017
+ }
4018
+ }
2744
4019
  };
2745
4020
  export {
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,
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,
2753
4029
  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,
4030
+ Tt as PRESET_FORCE_DIRECTED_BASIC,
4031
+ It as PRESET_FORCE_DIRECTED_BUBBLES_BASIC,
4032
+ 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,
4036
+ Ot as PRESET_FORCE_DIRECTED_FIX_FONT_SIZE,
4037
+ Nt as PRESET_FORCE_DIRECTED_NONE_ARROW,
4038
+ Gt as PRESET_FORCE_DIRECTED_NONE_ZOOM,
4039
+ vt as PRESET_FORCE_DIRECTED_SIMPLE,
4040
+ L as PRESET_GRID_BASIC,
4041
+ b as PRESET_GRID_HORIZONTAL,
4042
+ x as PRESET_GRID_PN_SCALE,
4043
+ M as PRESET_GRID_PN_SCALE_SIMPLE,
4044
+ G as PRESET_GRID_ROTATE_AXIS_LABEL,
4045
+ O as PRESET_GRID_SEPARATE_SERIES,
4046
+ N as PRESET_GRID_SIMPLE,
4047
+ y as PRESET_LINES_BASIC,
4048
+ w as PRESET_LINES_CURVE,
4049
+ W as PRESET_LINES_HORIZONTAL,
4050
+ Y as PRESET_LINES_LOOSE_TICKS,
4051
+ X as PRESET_LINES_ROTATE_AXIS_LABEL,
4052
+ z as PRESET_LINES_SIMPLE,
4053
+ 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,
4061
+ j as PRESET_MULTI_GRID_BASIC,
4062
+ J as PRESET_MULTI_GRID_DIVERGING,
4063
+ q as PRESET_MULTI_GRID_DIVERGING_SIMPLE,
4064
+ $ as PRESET_MULTI_GRID_ROUND_STYLE,
4065
+ Q as PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE,
4066
+ et as PRESET_MULTI_GRID_SEPARATE_GRID,
4067
+ 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,
4071
+ 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,
2788
4077
  r as PRESET_PIE_DONUT,
2789
4078
  s as PRESET_PIE_HALF_DONUT,
2790
- E as PRESET_PIE_SEPARATE_SERIES,
2791
- n as PRESET_PIE_SUM_SERIES,
4079
+ l as PRESET_PIE_SEPARATE_SERIES,
4080
+ n as PRESET_PIE_SIMPLE,
4081
+ d as PRESET_PIE_SUM_SERIES,
2792
4082
  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,
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,
2797
4096
  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
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,
4101
+ mt as PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY,
4102
+ ht as PRESET_SCATTER_BUBBLES_SIMPLE,
4103
+ 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,
4109
+ Zt as PRESET_TREE_MAP_BASIC,
4110
+ Ut as PRESET_TREE_MAP_SIMPLE
2809
4111
  };