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

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 (147) hide show
  1. package/LICENSE +200 -200
  2. package/dist/orbcharts-presets-basic.es.js +1985 -644
  3. package/dist/orbcharts-presets-basic.umd.js +1 -1
  4. package/dist/src/grid/PRESET_GRID_PN_SCALE_SIMPLE.d.ts +4 -0
  5. package/dist/src/grid/PRESET_GRID_SIMPLE.d.ts +4 -0
  6. package/dist/src/grid/PRESET_LINES_SIMPLE.d.ts +4 -0
  7. package/dist/src/grid/PRESET_LINE_AREAS_SIMPLE.d.ts +4 -0
  8. package/dist/src/grid/index.d.ts +4 -0
  9. package/dist/src/multiGrid/PRESET_MULTI_GRID_DIVERGING_SIMPLE.d.ts +4 -0
  10. package/dist/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.d.ts +3 -1
  11. package/dist/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE.d.ts +6 -0
  12. package/dist/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE.d.ts +4 -0
  13. package/dist/src/multiGrid/PRESET_MULTI_GRID_SIMPLE.d.ts +4 -0
  14. package/dist/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE.d.ts +4 -0
  15. package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE.d.ts +4 -0
  16. package/dist/src/multiGrid/index.d.ts +6 -0
  17. package/dist/src/multiValue/PRESET_MULTI_VALUE_SIMPLE.d.ts +4 -0
  18. package/dist/src/multiValue/PRESET_RACING_BARS_ALL_ITEMS.d.ts +4 -0
  19. package/dist/src/multiValue/PRESET_RACING_BARS_BASIC.d.ts +4 -0
  20. package/dist/src/multiValue/PRESET_RACING_BARS_FAST.d.ts +4 -0
  21. package/dist/src/multiValue/PRESET_RACING_BARS_FASTER.d.ts +4 -0
  22. package/dist/src/multiValue/PRESET_RACING_BARS_LOOP.d.ts +4 -0
  23. package/dist/src/multiValue/PRESET_RACING_BARS_OUTSIDE_LABELS.d.ts +4 -0
  24. package/dist/src/multiValue/PRESET_RACING_BARS_SEPARATE_CATEGORY.d.ts +4 -0
  25. package/dist/src/multiValue/PRESET_RACING_BARS_SIMPLE.d.ts +4 -0
  26. package/dist/src/multiValue/PRESET_RACING_BARS_STOP.d.ts +4 -0
  27. package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_SIMPLE.d.ts +4 -0
  28. package/dist/src/multiValue/PRESET_SCATTER_SIMPLE.d.ts +4 -0
  29. package/dist/src/multiValue/index.d.ts +13 -1
  30. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE.d.ts +4 -0
  31. package/dist/src/relationship/PRESET_FORCE_DIRECTED_SIMPLE.d.ts +4 -0
  32. package/dist/src/relationship/index.d.ts +2 -0
  33. package/dist/src/series/PRESET_BUBBLES_SIMPLE.d.ts +4 -0
  34. package/dist/src/series/PRESET_PIE_SIMPLE.d.ts +4 -0
  35. package/dist/src/series/PRESET_ROSE_SIMPLE.d.ts +4 -0
  36. package/dist/src/series/index.d.ts +3 -0
  37. package/dist/src/tree/PRESET_TREE_MAP_SIMPLE.d.ts +4 -0
  38. package/dist/src/tree/index.d.ts +1 -0
  39. package/dist/src/types.d.ts +23 -17
  40. package/lib/core-types.ts +7 -7
  41. package/lib/plugins-basic-types.ts +6 -6
  42. package/package.json +42 -42
  43. package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +60 -72
  44. package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +61 -68
  45. package/src/grid/PRESET_BARS_ROUND.ts +56 -55
  46. package/src/grid/PRESET_BARS_THIN.ts +53 -52
  47. package/src/grid/PRESET_GRID_BASIC.ts +44 -43
  48. package/src/grid/PRESET_GRID_HORIZONTAL.ts +61 -60
  49. package/src/grid/PRESET_GRID_PN_SCALE.ts +52 -51
  50. package/src/grid/PRESET_GRID_PN_SCALE_SIMPLE.ts +49 -0
  51. package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +52 -51
  52. package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +57 -56
  53. package/src/grid/PRESET_GRID_SIMPLE.ts +44 -0
  54. package/src/grid/PRESET_LINES_BASIC.ts +48 -51
  55. package/src/grid/PRESET_LINES_CURVE.ts +51 -54
  56. package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +50 -53
  57. package/src/grid/PRESET_LINES_HORIZONTAL.ts +56 -67
  58. package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +50 -53
  59. package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +53 -56
  60. package/src/grid/PRESET_LINES_SIMPLE.ts +53 -0
  61. package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +52 -55
  62. package/src/grid/PRESET_LINE_AREAS_BASIC.ts +54 -59
  63. package/src/grid/PRESET_LINE_AREAS_CURVE.ts +65 -64
  64. package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +58 -63
  65. package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +58 -63
  66. package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +56 -61
  67. package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +59 -64
  68. package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +60 -66
  69. package/src/grid/PRESET_LINE_AREAS_SIMPLE.ts +57 -0
  70. package/src/grid/index.ts +26 -22
  71. package/src/index.ts +6 -6
  72. package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +50 -54
  73. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +98 -102
  74. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING_SIMPLE.ts +101 -0
  75. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +71 -74
  76. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE.ts +81 -0
  77. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +73 -76
  78. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE.ts +84 -0
  79. package/src/multiGrid/PRESET_MULTI_GRID_SIMPLE.ts +60 -0
  80. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +101 -102
  81. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE.ts +110 -0
  82. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +119 -120
  83. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE.ts +113 -0
  84. package/src/multiGrid/index.ts +12 -6
  85. package/src/multiValue/PRESET_MULTI_VALUE_BASIC.ts +39 -39
  86. package/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.ts +50 -42
  87. package/src/multiValue/PRESET_MULTI_VALUE_SIMPLE.ts +39 -0
  88. package/src/multiValue/PRESET_RACING_BARS_ALL_ITEMS.ts +44 -0
  89. package/src/multiValue/PRESET_RACING_BARS_BASIC.ts +43 -0
  90. package/src/multiValue/PRESET_RACING_BARS_FAST.ts +43 -0
  91. package/src/multiValue/PRESET_RACING_BARS_FASTER.ts +43 -0
  92. package/src/multiValue/PRESET_RACING_BARS_LOOP.ts +44 -0
  93. package/src/multiValue/PRESET_RACING_BARS_OUTSIDE_LABELS.ts +47 -0
  94. package/src/multiValue/PRESET_RACING_BARS_SEPARATE_CATEGORY.ts +60 -0
  95. package/src/multiValue/PRESET_RACING_BARS_SIMPLE.ts +43 -0
  96. package/src/multiValue/PRESET_RACING_BARS_STOP.ts +42 -0
  97. package/src/multiValue/PRESET_SCATTER_BASIC.ts +40 -39
  98. package/src/multiValue/PRESET_SCATTER_BUBBLES_BASIC.ts +40 -39
  99. package/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.ts +43 -42
  100. package/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.ts +43 -42
  101. package/src/multiValue/PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY.ts +43 -42
  102. package/src/multiValue/PRESET_SCATTER_BUBBLES_SIMPLE.ts +40 -0
  103. package/src/multiValue/PRESET_SCATTER_SEPARATE_CATEGORY.ts +51 -42
  104. package/src/multiValue/PRESET_SCATTER_SIMPLE.ts +40 -0
  105. package/src/multiValue/index.ts +20 -8
  106. package/src/params.ts +83 -80
  107. package/src/relationship/PRESET_FORCE_DIRECTED_BASIC.ts +33 -39
  108. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.ts +33 -39
  109. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.ts +38 -44
  110. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.ts +38 -46
  111. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.ts +35 -41
  112. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE.ts +34 -0
  113. package/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.ts +40 -46
  114. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.ts +38 -44
  115. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.ts +35 -41
  116. package/src/relationship/PRESET_FORCE_DIRECTED_SIMPLE.ts +34 -0
  117. package/src/relationship/index.ts +10 -8
  118. package/src/series/PRESET_BUBBLES_BASIC.ts +32 -34
  119. package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +35 -36
  120. package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +44 -45
  121. package/src/series/PRESET_BUBBLES_SIMPLE.ts +39 -0
  122. package/src/series/PRESET_BUBBLES_SUM_SERIES.ts +34 -36
  123. package/src/series/PRESET_PIE_BASIC.ts +35 -36
  124. package/src/series/PRESET_PIE_DONUT.ts +40 -41
  125. package/src/series/PRESET_PIE_HALF_DONUT.ts +52 -53
  126. package/src/series/PRESET_PIE_SEPARATE_SERIES.ts +33 -35
  127. package/src/series/PRESET_PIE_SIMPLE.ts +43 -0
  128. package/src/series/PRESET_PIE_SUM_SERIES.ts +34 -36
  129. package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +41 -42
  130. package/src/series/PRESET_ROSE_BASIC.ts +41 -37
  131. package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +47 -42
  132. package/src/series/PRESET_ROSE_SEPARATE_SERIES.ts +41 -35
  133. package/src/series/PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES.ts +42 -36
  134. package/src/series/PRESET_ROSE_SIMPLE.ts +43 -0
  135. package/src/series/PRESET_ROSE_SUM_SERIES.ts +40 -36
  136. package/src/series/PRESET_SERIES_BASIC.ts +32 -34
  137. package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +15 -17
  138. package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +16 -18
  139. package/src/series/PRESET_SERIES_SUM_SERIES.ts +17 -18
  140. package/src/series/index.ts +23 -20
  141. package/src/tree/PRESET_TREE_MAP_BASIC.ts +44 -43
  142. package/src/tree/PRESET_TREE_MAP_SIMPLE.ts +40 -0
  143. package/src/tree/index.ts +2 -1
  144. package/src/types.ts +368 -349
  145. package/tsconfig.base.json +13 -13
  146. package/tsconfig.json +2 -2
  147. package/vite.config.js +22 -22
@@ -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,
@@ -250,9 +282,10 @@ const s = {
250
282
  }
251
283
  };
252
284
  s.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
253
- const o = {
285
+ const l = {
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,
@@ -289,10 +321,11 @@ const o = {
289
321
  }
290
322
  }
291
323
  };
292
- o.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
293
- const E = {
324
+ l.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
325
+ const o = {
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
+ o.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 c = {
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
+ c.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
507
+ const F = {
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
+ F.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
+ }, b = {
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
+ }, L = {
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,19 +1074,65 @@ 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: {
970
- // ...ALL_PLUGIN_PARAMS_GRID,
971
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
972
- GroupAux: {
973
- labelRotate: -30
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: {
1132
+ // ...ALL_PLUGIN_PARAMS_GRID,
1133
+ // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1134
+ GroupAux: {
1135
+ labelRotate: -30
974
1136
  },
975
1137
  GroupAxis: {
976
1138
  tickPadding: 15,
@@ -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,22 +1257,20 @@ const m = {
1054
1257
  }
1055
1258
  },
1056
1259
  padding: {
1057
- top: 60,
1058
- right: 60,
1260
+ top: 40,
1261
+ right: 80,
1262
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
1059
1263
  bottom: 100,
1060
1264
  left: 80
1061
1265
  },
1062
1266
  highlightTarget: "series"
1063
1267
  },
1064
1268
  dataFormatter: {
1065
- // grid: {
1066
1269
  groupAxis: {
1067
1270
  scalePadding: 0
1068
1271
  }
1069
- // }
1070
1272
  },
1071
- allPluginParams: {
1072
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1273
+ pluginParams: {
1073
1274
  Lines: {},
1074
1275
  LineAreas: {},
1075
1276
  Dots: {},
@@ -1077,16 +1278,15 @@ const m = {
1077
1278
  ValueAxis: {},
1078
1279
  GroupAux: {},
1079
1280
  GridLegend: {
1080
- // position: 'bottom',
1081
- // justify: 'center',
1082
1281
  placement: "bottom",
1083
1282
  padding: 14,
1084
1283
  listRectHeight: 2
1085
1284
  }
1086
1285
  }
1087
- }, O = {
1286
+ }, Z = {
1088
1287
  name: "PRESET_LINE_AREAS_CURVE",
1089
- description: "弧線折線圖",
1288
+ description: "Curve LineArea",
1289
+ descriptionZh: "弧線的折線區域圖",
1090
1290
  chartParams: {
1091
1291
  colors: {
1092
1292
  light: {
@@ -1105,8 +1305,9 @@ const m = {
1105
1305
  }
1106
1306
  },
1107
1307
  padding: {
1108
- top: 60,
1109
- right: 60,
1308
+ top: 40,
1309
+ right: 80,
1310
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
1110
1311
  bottom: 100,
1111
1312
  left: 80
1112
1313
  },
@@ -1119,7 +1320,7 @@ const m = {
1119
1320
  }
1120
1321
  // }
1121
1322
  },
1122
- allPluginParams: {
1323
+ pluginParams: {
1123
1324
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1124
1325
  Lines: {
1125
1326
  lineCurve: "curveMonotoneX",
@@ -1140,9 +1341,10 @@ const m = {
1140
1341
  listRectHeight: 2
1141
1342
  }
1142
1343
  }
1143
- }, M = {
1344
+ }, U = {
1144
1345
  name: "PRESET_LINE_AREAS_HORIZONTAL",
1145
- description: "橫向折線圖",
1346
+ description: "Horizontal LineArea",
1347
+ descriptionZh: "橫向折線區域圖",
1146
1348
  chartParams: {
1147
1349
  colors: {
1148
1350
  light: {
@@ -1161,15 +1363,14 @@ const m = {
1161
1363
  }
1162
1364
  },
1163
1365
  padding: {
1164
- top: 60,
1165
- right: 60,
1366
+ top: 40,
1367
+ right: 40,
1166
1368
  bottom: 100,
1167
1369
  left: 160
1168
1370
  },
1169
1371
  highlightTarget: "series"
1170
1372
  },
1171
1373
  dataFormatter: {
1172
- // grid: {
1173
1374
  valueAxis: {
1174
1375
  position: "bottom"
1175
1376
  },
@@ -1177,10 +1378,8 @@ const m = {
1177
1378
  position: "left",
1178
1379
  scalePadding: 0
1179
1380
  }
1180
- // }
1181
1381
  },
1182
- allPluginParams: {
1183
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1382
+ pluginParams: {
1184
1383
  Lines: {},
1185
1384
  LineAreas: {},
1186
1385
  Dots: {},
@@ -1188,16 +1387,15 @@ const m = {
1188
1387
  ValueAxis: {},
1189
1388
  GroupAux: {},
1190
1389
  GridLegend: {
1191
- // position: 'bottom',
1192
- // justify: 'center',
1193
1390
  placement: "bottom",
1194
1391
  padding: 14,
1195
1392
  listRectHeight: 2
1196
1393
  }
1197
1394
  }
1198
- }, N = {
1395
+ }, f = {
1199
1396
  name: "PRESET_LINE_AREAS_LOOSE_TICKS",
1200
- description: "寬鬆標籤",
1397
+ description: "Loose Ticks LineArea",
1398
+ descriptionZh: "寬鬆標籤的折線區域圖",
1201
1399
  chartParams: {
1202
1400
  colors: {
1203
1401
  light: {
@@ -1216,22 +1414,20 @@ const m = {
1216
1414
  }
1217
1415
  },
1218
1416
  padding: {
1219
- top: 60,
1220
- right: 60,
1417
+ top: 40,
1418
+ right: 80,
1419
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
1221
1420
  bottom: 100,
1222
1421
  left: 80
1223
1422
  },
1224
1423
  highlightTarget: "series"
1225
1424
  },
1226
1425
  dataFormatter: {
1227
- // grid: {
1228
1426
  groupAxis: {
1229
1427
  scalePadding: 0
1230
1428
  }
1231
- // }
1232
1429
  },
1233
- allPluginParams: {
1234
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1430
+ pluginParams: {
1235
1431
  Lines: {},
1236
1432
  LineAreas: {},
1237
1433
  Dots: {},
@@ -1241,16 +1437,15 @@ const m = {
1241
1437
  ValueAxis: {},
1242
1438
  GroupAux: {},
1243
1439
  GridLegend: {
1244
- // position: 'bottom',
1245
- // justify: 'center',
1246
1440
  placement: "bottom",
1247
1441
  padding: 14,
1248
1442
  listRectHeight: 2
1249
1443
  }
1250
1444
  }
1251
- }, v = {
1445
+ }, V = {
1252
1446
  name: "PRESET_LINE_AREAS_ROTATE_AXIS_LABEL",
1253
- description: "傾斜標籤",
1447
+ description: "Rotate Axis Label LineArea",
1448
+ descriptionZh: "傾斜標籤的折線區域圖",
1254
1449
  chartParams: {
1255
1450
  colors: {
1256
1451
  light: {
@@ -1269,22 +1464,19 @@ const m = {
1269
1464
  }
1270
1465
  },
1271
1466
  padding: {
1272
- top: 60,
1273
- right: 60,
1467
+ top: 40,
1468
+ right: 40,
1274
1469
  bottom: 140,
1275
1470
  left: 80
1276
1471
  },
1277
1472
  highlightTarget: "series"
1278
1473
  },
1279
1474
  dataFormatter: {
1280
- // grid: {
1281
1475
  groupAxis: {
1282
1476
  scalePadding: 0
1283
1477
  }
1284
- // }
1285
1478
  },
1286
- allPluginParams: {
1287
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1479
+ pluginParams: {
1288
1480
  Lines: {},
1289
1481
  LineAreas: {},
1290
1482
  Dots: {},
@@ -1297,16 +1489,15 @@ const m = {
1297
1489
  labelRotate: -30
1298
1490
  },
1299
1491
  GridLegend: {
1300
- // position: 'bottom',
1301
- // justify: 'center',
1302
1492
  placement: "bottom",
1303
1493
  padding: 14,
1304
1494
  listRectHeight: 2
1305
1495
  }
1306
1496
  }
1307
- }, U = {
1497
+ }, H = {
1308
1498
  name: "PRESET_LINE_AREAS_SEPARATE_SERIES",
1309
- description: "LineAreas 分開顯示Series",
1499
+ description: "Separate Series LineArea",
1500
+ descriptionZh: "分開顯示Series的折線區域圖",
1310
1501
  chartParams: {
1311
1502
  colors: {
1312
1503
  light: {
@@ -1325,24 +1516,20 @@ const m = {
1325
1516
  }
1326
1517
  },
1327
1518
  padding: {
1328
- top: 60,
1329
- right: 60,
1519
+ top: 40,
1520
+ right: 40,
1330
1521
  bottom: 140,
1331
1522
  left: 80
1332
1523
  },
1333
1524
  highlightTarget: "series"
1334
1525
  },
1335
1526
  dataFormatter: {
1336
- // grid: {
1337
- // seriesSlotIndexes: [0, 1],
1338
1527
  separateSeries: !0,
1339
1528
  groupAxis: {
1340
1529
  scalePadding: 0
1341
1530
  }
1342
- // },
1343
1531
  },
1344
- allPluginParams: {
1345
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1532
+ pluginParams: {
1346
1533
  Lines: {},
1347
1534
  LineAreas: {},
1348
1535
  Dots: {},
@@ -1355,16 +1542,67 @@ const m = {
1355
1542
  labelRotate: -30
1356
1543
  },
1357
1544
  GridLegend: {
1358
- // position: 'bottom',
1359
- // justify: 'center',
1360
1545
  placement: "bottom",
1361
1546
  padding: 14,
1362
1547
  listRectHeight: 2
1363
1548
  }
1364
1549
  }
1365
- }, H = {
1550
+ }, k = {
1551
+ name: "PRESET_LINE_AREAS_SIMPLE",
1552
+ description: "Simple LineArea",
1553
+ descriptionZh: "簡單折線區域圖",
1554
+ chartParams: {
1555
+ colors: {
1556
+ light: {
1557
+ label: [
1558
+ "#4BABFF",
1559
+ "#FFA0A0",
1560
+ "#7DD3C4",
1561
+ "#F9B052",
1562
+ "#8454D4",
1563
+ "#42C724",
1564
+ "#FF4B4B",
1565
+ "#904026",
1566
+ "#4B25B3",
1567
+ "#C50669"
1568
+ ]
1569
+ }
1570
+ },
1571
+ padding: {
1572
+ top: 40,
1573
+ right: 80,
1574
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
1575
+ bottom: 80,
1576
+ left: 80
1577
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
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,17 +1844,62 @@ 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: {
1861
+ Dots: {},
1862
+ GroupAxis: {},
1863
+ ValueAxis: {},
1864
+ GroupAux: {},
1865
+ GridLegend: {
1866
+ placement: "bottom",
1867
+ padding: 7,
1868
+ listRectHeight: 2
1869
+ }
1870
+ }
1871
+ }, K = {
1872
+ name: "PRESET_LINES_WITH_SOLID_DOTS",
1873
+ description: "Solid Dots Line",
1874
+ descriptionZh: "實心圓點的折線圖",
1875
+ chartParams: {
1876
+ colors: {
1877
+ light: {
1878
+ label: [
1879
+ "#4BABFF",
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: {
1638
1903
  radius: 3,
1639
1904
  fillColorType: "label",
1640
1905
  onlyShowHighlighted: !1
@@ -1643,16 +1908,15 @@ const m = {
1643
1908
  ValueAxis: {},
1644
1909
  GroupAux: {},
1645
1910
  GridLegend: {
1646
- // position: 'bottom',
1647
- // justify: 'center',
1648
1911
  placement: "bottom",
1649
1912
  padding: 14,
1650
1913
  listRectHeight: 2
1651
1914
  }
1652
1915
  }
1653
- }, Z = {
1916
+ }, j = {
1654
1917
  name: "PRESET_MULTI_GRID_BASIC",
1655
- description: "基本MultiGrid參數",
1918
+ description: "Basic MultiGrid",
1919
+ descriptionZh: "基本MultiGrid",
1656
1920
  chartParams: {
1657
1921
  colors: {
1658
1922
  light: {
@@ -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: 140,
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 separate grid",
2279
+ descriptionZh: "簡單的分開顯示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,205 @@ 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: "Separate Grid",
2355
+ descriptionZh: "分開顯示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 separate grid line areas",
2471
+ descriptionZh: "簡單的分開顯示Grid的折線區域圖",
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: 80,
2492
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
2493
+ bottom: 80,
2494
+ left: 80
2495
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
2496
+ }
2497
+ },
2498
+ dataFormatter: {
2499
+ gridList: [
2500
+ // 設定一個所有grid一起套用
2501
+ {
2502
+ groupAxis: {
2503
+ scalePadding: 0
2504
+ },
2505
+ valueAxis: {
2506
+ scaleRange: [0, 0.95]
2507
+ }
2508
+ }
2509
+ ],
2510
+ separateGrid: !0,
2511
+ container: {
2512
+ gap: 160
2513
+ }
2514
+ },
2515
+ pluginParams: {
2516
+ MultiGroupAxis: {
2517
+ // tickTextRotate: -30,
2518
+ gridIndexes: "all"
2519
+ },
2520
+ MultiValueAxis: {
2521
+ gridIndexes: "all"
2522
+ },
2523
+ MultiStackedValueAxis: {
2524
+ gridIndexes: "all"
2525
+ },
2526
+ MultiBars: {
2527
+ gridIndexes: "all"
2528
+ },
2529
+ MultiStackedBars: {
2530
+ gridIndexes: "all"
2531
+ },
2532
+ MultiBarsTriangle: {
2533
+ gridIndexes: "all"
2534
+ },
2535
+ MultiLines: {
2536
+ gridIndexes: "all"
2537
+ },
2538
+ MultiLineAreas: {
2539
+ gridIndexes: "all"
2540
+ },
2541
+ MultiDots: {
2542
+ gridIndexes: "all"
2543
+ },
2544
+ MultiGridLegend: {
2545
+ placement: "bottom",
2546
+ padding: 7,
2007
2547
  gridList: [
2008
2548
  {
2009
2549
  listRectHeight: 2
@@ -2032,9 +2572,10 @@ const m = {
2032
2572
  ]
2033
2573
  }
2034
2574
  }
2035
- }, K = {
2036
- name: "PRESET_MULTI_LINES_SEPARATE_GRID",
2037
- description: "多組分開折線圖表",
2575
+ }, rt = {
2576
+ name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID",
2577
+ description: "Separate Grid line areas",
2578
+ descriptionZh: "分開顯示Grid的折線區域圖",
2038
2579
  chartParams: {
2039
2580
  colors: {
2040
2581
  light: {
@@ -2053,17 +2594,34 @@ const m = {
2053
2594
  }
2054
2595
  },
2055
2596
  padding: {
2056
- top: 60,
2057
- right: 60,
2597
+ top: 40,
2598
+ right: 40,
2058
2599
  bottom: 140,
2059
2600
  left: 80
2060
2601
  }
2061
2602
  },
2062
2603
  dataFormatter: {
2604
+ gridList: [
2605
+ {
2606
+ // slotIndex: 0
2607
+ groupAxis: {
2608
+ scalePadding: 0
2609
+ }
2610
+ },
2611
+ {
2612
+ // slotIndex: 1,
2613
+ groupAxis: {
2614
+ scalePadding: 0
2615
+ }
2616
+ }
2617
+ ],
2063
2618
  separateGrid: !0
2619
+ // container: {
2620
+ // rowAmount: 1,
2621
+ // columnAmount: 2,
2622
+ // }
2064
2623
  },
2065
- allPluginParams: {
2066
- ...e,
2624
+ pluginParams: {
2067
2625
  MultiGroupAxis: {
2068
2626
  tickTextRotate: -30,
2069
2627
  gridIndexes: "all"
@@ -2077,7 +2635,7 @@ const m = {
2077
2635
  MultiBars: {
2078
2636
  gridIndexes: "all"
2079
2637
  },
2080
- MultiStackedBar: {
2638
+ MultiStackedBars: {
2081
2639
  gridIndexes: "all"
2082
2640
  },
2083
2641
  MultiBarsTriangle: {
@@ -2125,57 +2683,333 @@ const m = {
2125
2683
  ]
2126
2684
  }
2127
2685
  }
2128
- }, j = {
2129
- name: "PRESET_MULTI_VALUE_BASIC",
2130
- description: "基本MultiValue參數",
2686
+ }, st = {
2687
+ name: "PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE",
2688
+ description: "Simple separate grid line",
2689
+ descriptionZh: "簡單的分開顯示Grid的折線圖",
2131
2690
  chartParams: {
2132
2691
  colors: {
2133
2692
  light: {
2134
2693
  label: [
2135
- "#7DD3C4",
2136
- "#FFA0A0",
2137
- "#6CBAFF",
2138
- "#55D339",
2694
+ "#4BABFF",
2695
+ "#94D6CB",
2139
2696
  "#F9B052",
2140
- "#FF6C6C",
2141
- "#8E6BC9",
2142
- "#0088FF",
2697
+ "#8454D4",
2698
+ "#D58C75",
2699
+ "#42C724",
2700
+ "#FF8B8B",
2143
2701
  "#904026",
2144
- "#C4C4C4"
2702
+ "#C50669",
2703
+ "#4B25B3"
2145
2704
  ]
2146
2705
  }
2147
2706
  },
2148
2707
  padding: {
2149
- top: 60,
2150
- right: 60,
2151
- bottom: 100,
2152
- left: 60
2708
+ top: 40,
2709
+ right: 40,
2710
+ bottom: 80,
2711
+ left: 40
2153
2712
  }
2154
2713
  },
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
- ]
2714
+ dataFormatter: {
2715
+ gridList: [
2716
+ // 設定一個所有grid一起套用
2717
+ {
2718
+ valueAxis: {
2719
+ scaleRange: [0, 0.95]
2720
+ }
2721
+ }
2722
+ ],
2723
+ separateGrid: !0,
2724
+ container: {
2725
+ gap: 40
2726
+ }
2727
+ },
2728
+ pluginParams: {
2729
+ MultiGroupAxis: {
2730
+ // tickTextRotate: -30,
2731
+ gridIndexes: "all"
2732
+ },
2733
+ MultiValueAxis: {
2734
+ gridIndexes: "all"
2735
+ },
2736
+ MultiStackedValueAxis: {
2737
+ gridIndexes: "all"
2738
+ },
2739
+ MultiBars: {
2740
+ gridIndexes: "all"
2741
+ },
2742
+ MultiStackedBars: {
2743
+ gridIndexes: "all"
2744
+ },
2745
+ MultiBarsTriangle: {
2746
+ gridIndexes: "all"
2747
+ },
2748
+ MultiLines: {
2749
+ gridIndexes: "all"
2750
+ },
2751
+ MultiLineAreas: {
2752
+ gridIndexes: "all"
2753
+ },
2754
+ MultiDots: {
2755
+ gridIndexes: "all"
2756
+ },
2757
+ MultiGridLegend: {
2758
+ placement: "bottom",
2759
+ padding: 7,
2760
+ gridList: [
2761
+ {
2762
+ listRectHeight: 2
2763
+ },
2764
+ {
2765
+ listRectHeight: 2
2766
+ },
2767
+ {
2768
+ listRectHeight: 2
2769
+ },
2770
+ {
2771
+ listRectHeight: 2
2772
+ },
2773
+ {
2774
+ listRectHeight: 2
2775
+ },
2776
+ {
2777
+ listRectHeight: 2
2778
+ },
2779
+ {
2780
+ listRectHeight: 2
2781
+ },
2782
+ {
2783
+ listRectHeight: 2
2784
+ }
2785
+ ]
2786
+ }
2787
+ }
2788
+ }, lt = {
2789
+ name: "PRESET_MULTI_LINES_SEPARATE_GRID",
2790
+ description: "Separate Grid line",
2791
+ descriptionZh: "分開顯示Grid的折線圖",
2792
+ chartParams: {
2793
+ colors: {
2794
+ light: {
2795
+ label: [
2796
+ "#4BABFF",
2797
+ "#94D6CB",
2798
+ "#F9B052",
2799
+ "#8454D4",
2800
+ "#D58C75",
2801
+ "#42C724",
2802
+ "#FF8B8B",
2803
+ "#904026",
2804
+ "#C50669",
2805
+ "#4B25B3"
2806
+ ]
2807
+ }
2808
+ },
2809
+ padding: {
2810
+ top: 40,
2811
+ right: 40,
2812
+ bottom: 140,
2813
+ left: 80
2814
+ }
2815
+ },
2816
+ dataFormatter: {
2817
+ separateGrid: !0
2818
+ },
2819
+ pluginParams: {
2820
+ MultiGroupAxis: {
2821
+ tickTextRotate: -30,
2822
+ gridIndexes: "all"
2823
+ },
2824
+ MultiValueAxis: {
2825
+ gridIndexes: "all"
2826
+ },
2827
+ MultiStackedValueAxis: {
2828
+ gridIndexes: "all"
2829
+ },
2830
+ MultiBars: {
2831
+ gridIndexes: "all"
2832
+ },
2833
+ MultiStackedBars: {
2834
+ gridIndexes: "all"
2835
+ },
2836
+ MultiBarsTriangle: {
2837
+ gridIndexes: "all"
2838
+ },
2839
+ MultiLines: {
2840
+ gridIndexes: "all"
2841
+ },
2842
+ MultiLineAreas: {
2843
+ gridIndexes: "all"
2844
+ },
2845
+ MultiDots: {
2846
+ gridIndexes: "all"
2847
+ },
2848
+ MultiGridLegend: {
2849
+ // position: 'bottom',
2850
+ // justify: 'center',
2851
+ placement: "bottom",
2852
+ padding: 14,
2853
+ gridList: [
2854
+ {
2855
+ listRectHeight: 2
2856
+ },
2857
+ {
2858
+ listRectHeight: 2
2859
+ },
2860
+ {
2861
+ listRectHeight: 2
2862
+ },
2863
+ {
2864
+ listRectHeight: 2
2865
+ },
2866
+ {
2867
+ listRectHeight: 2
2868
+ },
2869
+ {
2870
+ listRectHeight: 2
2871
+ },
2872
+ {
2873
+ listRectHeight: 2
2874
+ },
2875
+ {
2876
+ listRectHeight: 2
2877
+ }
2878
+ ]
2879
+ }
2880
+ }
2881
+ }, ot = {
2882
+ name: "PRESET_MULTI_VALUE_BASIC",
2883
+ description: "Basic MultiValue",
2884
+ descriptionZh: "基本MultiValue參數",
2885
+ chartParams: {
2886
+ colors: {
2887
+ light: {
2888
+ label: [
2889
+ "#7DD3C4",
2890
+ "#FFA0A0",
2891
+ "#6CBAFF",
2892
+ "#55D339",
2893
+ "#F9B052",
2894
+ "#FF6C6C",
2895
+ "#8E6BC9",
2896
+ "#0088FF",
2897
+ "#904026",
2898
+ "#C4C4C4"
2899
+ ]
2900
+ }
2901
+ },
2902
+ padding: {
2903
+ top: 40,
2904
+ right: 40,
2905
+ bottom: 100,
2906
+ left: 80
2907
+ }
2908
+ },
2909
+ pluginParams: {
2910
+ MultiValueLegend: {
2911
+ placement: "bottom",
2912
+ padding: 14
2913
+ }
2914
+ }
2915
+ }, nt = {
2916
+ name: "PRESET_MULTI_VALUE_SEPARATE_CATEGORY",
2917
+ description: "MultiValue separate category",
2918
+ descriptionZh: "MultiValue 分開顯示category",
2919
+ chartParams: {
2920
+ colors: {
2921
+ light: {
2922
+ label: [
2923
+ "#7DD3C4",
2924
+ "#FFA0A0",
2925
+ "#6CBAFF",
2926
+ "#55D339",
2927
+ "#F9B052",
2928
+ "#FF6C6C",
2929
+ "#8E6BC9",
2930
+ "#0088FF",
2931
+ "#904026",
2932
+ "#C4C4C4"
2933
+ ]
2934
+ }
2935
+ },
2936
+ padding: {
2937
+ top: 40,
2938
+ right: 40,
2939
+ bottom: 100,
2940
+ left: 80
2941
+ }
2942
+ },
2943
+ dataFormatter: {
2944
+ separateCategory: !0
2945
+ },
2946
+ pluginParams: {
2947
+ XYAxes: {
2948
+ xAxis: {
2949
+ ticks: 3
2950
+ },
2951
+ yAxis: {
2952
+ ticks: 3
2953
+ }
2954
+ },
2955
+ MultiValueLegend: {
2956
+ placement: "bottom",
2957
+ padding: 14
2958
+ }
2959
+ }
2960
+ }, dt = {
2961
+ name: "PRESET_MULTI_VALUE_SIMPLE",
2962
+ description: "Simple MultiValue",
2963
+ descriptionZh: "簡單MultiValue參數",
2964
+ chartParams: {
2965
+ colors: {
2966
+ light: {
2967
+ label: [
2968
+ "#7DD3C4",
2969
+ "#FFA0A0",
2970
+ "#6CBAFF",
2971
+ "#55D339",
2972
+ "#F9B052",
2973
+ "#FF6C6C",
2974
+ "#8E6BC9",
2975
+ "#0088FF",
2976
+ "#904026",
2977
+ "#C4C4C4"
2978
+ ]
2979
+ }
2980
+ },
2981
+ padding: {
2982
+ top: 40,
2983
+ right: 40,
2984
+ bottom: 60,
2985
+ left: 80
2986
+ }
2987
+ },
2988
+ pluginParams: {
2989
+ MultiValueLegend: {
2990
+ placement: "bottom",
2991
+ padding: 7
2992
+ }
2993
+ }
2994
+ }, Et = {
2995
+ name: "PRESET_RACING_BARS_ALL_ITEMS",
2996
+ description: "Racing bars for all items",
2997
+ descriptionZh: "顯示全部項目的賽跑長條圖",
2998
+ chartParams: {
2999
+ colors: {
3000
+ light: {
3001
+ label: [
3002
+ "#4BABFF",
3003
+ "#FFA0A0",
3004
+ "#7DD3C4",
3005
+ "#F9B052",
3006
+ "#8454D4",
3007
+ "#42C724",
3008
+ "#FF4B4B",
3009
+ "#904026",
3010
+ "#4B25B3",
3011
+ "#C50669"
3012
+ ]
2179
3013
  }
2180
3014
  },
2181
3015
  padding: {
@@ -2183,34 +3017,325 @@ const m = {
2183
3017
  right: 60,
2184
3018
  bottom: 100,
2185
3019
  left: 60
3020
+ },
3021
+ transitionDuration: 500
3022
+ },
3023
+ pluginParams: {
3024
+ RacingBars: {
3025
+ rankingAmount: "auto",
3026
+ autorun: !0
3027
+ },
3028
+ MultiValueLegend: {
3029
+ placement: "bottom",
3030
+ padding: 14
2186
3031
  }
3032
+ }
3033
+ }, ct = {
3034
+ name: "PRESET_RACING_BARS_BASIC",
3035
+ description: "Basic racing bars",
3036
+ descriptionZh: "基本賽跑長條圖",
3037
+ chartParams: {
3038
+ colors: {
3039
+ light: {
3040
+ label: [
3041
+ "#4BABFF",
3042
+ "#FFA0A0",
3043
+ "#7DD3C4",
3044
+ "#F9B052",
3045
+ "#8454D4",
3046
+ "#42C724",
3047
+ "#FF4B4B",
3048
+ "#904026",
3049
+ "#4B25B3",
3050
+ "#C50669"
3051
+ ]
3052
+ }
3053
+ },
3054
+ padding: {
3055
+ top: 60,
3056
+ right: 60,
3057
+ bottom: 100,
3058
+ left: 60
3059
+ },
3060
+ transitionDuration: 500
3061
+ },
3062
+ pluginParams: {
3063
+ RacingBars: {
3064
+ autorun: !0
3065
+ },
3066
+ MultiValueLegend: {
3067
+ placement: "bottom",
3068
+ padding: 14
3069
+ }
3070
+ }
3071
+ }, Ft = {
3072
+ name: "PRESET_RACING_BARS_FAST",
3073
+ description: "Fast racing bars",
3074
+ descriptionZh: "快速的賽跑長條圖",
3075
+ chartParams: {
3076
+ colors: {
3077
+ light: {
3078
+ label: [
3079
+ "#4BABFF",
3080
+ "#FFA0A0",
3081
+ "#7DD3C4",
3082
+ "#F9B052",
3083
+ "#8454D4",
3084
+ "#42C724",
3085
+ "#FF4B4B",
3086
+ "#904026",
3087
+ "#4B25B3",
3088
+ "#C50669"
3089
+ ]
3090
+ }
3091
+ },
3092
+ padding: {
3093
+ top: 60,
3094
+ right: 60,
3095
+ bottom: 100,
3096
+ left: 60
3097
+ },
3098
+ transitionDuration: 250
3099
+ },
3100
+ pluginParams: {
3101
+ RacingBars: {
3102
+ autorun: !0
3103
+ },
3104
+ MultiValueLegend: {
3105
+ placement: "bottom",
3106
+ padding: 14
3107
+ }
3108
+ }
3109
+ }, gt = {
3110
+ name: "PRESET_RACING_BARS_FASTER",
3111
+ description: "Faster racing bars",
3112
+ descriptionZh: "更快速的賽跑長條圖",
3113
+ chartParams: {
3114
+ colors: {
3115
+ light: {
3116
+ label: [
3117
+ "#4BABFF",
3118
+ "#FFA0A0",
3119
+ "#7DD3C4",
3120
+ "#F9B052",
3121
+ "#8454D4",
3122
+ "#42C724",
3123
+ "#FF4B4B",
3124
+ "#904026",
3125
+ "#4B25B3",
3126
+ "#C50669"
3127
+ ]
3128
+ }
3129
+ },
3130
+ padding: {
3131
+ top: 60,
3132
+ right: 60,
3133
+ bottom: 100,
3134
+ left: 60
3135
+ },
3136
+ transitionDuration: 125
3137
+ },
3138
+ pluginParams: {
3139
+ RacingBars: {
3140
+ autorun: !0
3141
+ },
3142
+ MultiValueLegend: {
3143
+ placement: "bottom",
3144
+ padding: 14
3145
+ }
3146
+ }
3147
+ }, Bt = {
3148
+ name: "PRESET_RACING_BARS_LOOP",
3149
+ description: "Looping racing bars",
3150
+ descriptionZh: "循環的賽跑長條圖",
3151
+ chartParams: {
3152
+ colors: {
3153
+ light: {
3154
+ label: [
3155
+ "#4BABFF",
3156
+ "#FFA0A0",
3157
+ "#7DD3C4",
3158
+ "#F9B052",
3159
+ "#8454D4",
3160
+ "#42C724",
3161
+ "#FF4B4B",
3162
+ "#904026",
3163
+ "#4B25B3",
3164
+ "#C50669"
3165
+ ]
3166
+ }
3167
+ },
3168
+ padding: {
3169
+ top: 60,
3170
+ right: 60,
3171
+ bottom: 100,
3172
+ left: 60
3173
+ },
3174
+ transitionDuration: 500
3175
+ },
3176
+ pluginParams: {
3177
+ RacingBars: {
3178
+ autorun: !0,
3179
+ loop: !0
3180
+ },
3181
+ MultiValueLegend: {
3182
+ placement: "bottom",
3183
+ padding: 14
3184
+ }
3185
+ }
3186
+ }, pt = {
3187
+ name: "PRESET_RACING_BARS_OUTSIDE_LABELS",
3188
+ description: "Racing bars with labels outside",
3189
+ descriptionZh: "標籤在外面的賽跑長條圖",
3190
+ chartParams: {
3191
+ colors: {
3192
+ light: {
3193
+ label: [
3194
+ "#4BABFF",
3195
+ "#FFA0A0",
3196
+ "#7DD3C4",
3197
+ "#F9B052",
3198
+ "#8454D4",
3199
+ "#42C724",
3200
+ "#FF4B4B",
3201
+ "#904026",
3202
+ "#4B25B3",
3203
+ "#C50669"
3204
+ ]
3205
+ }
3206
+ },
3207
+ padding: {
3208
+ top: 60,
3209
+ right: 60,
3210
+ bottom: 100,
3211
+ left: 160
3212
+ },
3213
+ transitionDuration: 500
3214
+ },
3215
+ pluginParams: {
3216
+ RacingBars: {
3217
+ barLabel: {
3218
+ position: "outside",
3219
+ colorType: "primary"
3220
+ },
3221
+ autorun: !0
3222
+ },
3223
+ MultiValueLegend: {
3224
+ placement: "bottom",
3225
+ padding: 14
3226
+ }
3227
+ }
3228
+ }, At = {
3229
+ name: "PRESET_RACING_BARS_SEPARATE_CATEGORY",
3230
+ description: "Racing bars with separate category",
3231
+ descriptionZh: "分開顯示category的賽跑長條圖",
3232
+ chartParams: {
3233
+ colors: {
3234
+ light: {
3235
+ label: [
3236
+ "#4BABFF",
3237
+ "#FFA0A0",
3238
+ "#7DD3C4",
3239
+ "#F9B052",
3240
+ "#8454D4",
3241
+ "#42C724",
3242
+ "#FF4B4B",
3243
+ "#904026",
3244
+ "#4B25B3",
3245
+ "#C50669"
3246
+ ]
3247
+ }
3248
+ },
3249
+ padding: {
3250
+ top: 40,
3251
+ right: 40,
3252
+ bottom: 60,
3253
+ left: 140
3254
+ },
3255
+ transitionDuration: 500
2187
3256
  },
2188
3257
  dataFormatter: {
2189
- separateCategory: !0
3258
+ separateCategory: !0,
3259
+ container: {
3260
+ gap: 80
3261
+ }
2190
3262
  },
2191
- allPluginParams: {
3263
+ pluginParams: {
3264
+ RacingBars: {
3265
+ barLabel: {
3266
+ position: "outside",
3267
+ colorType: "primary",
3268
+ padding: 10
3269
+ },
3270
+ valueLabel: {
3271
+ padding: 10
3272
+ },
3273
+ autorun: !0
3274
+ },
3275
+ RacingValueAxis: {
3276
+ ticks: 3
3277
+ },
2192
3278
  MultiValueLegend: {
2193
3279
  placement: "bottom",
2194
3280
  padding: 14
2195
3281
  }
2196
3282
  }
2197
- }, J = {
2198
- name: "PRESET_SCATTER_BASIC",
2199
- description: "基本散布圖",
3283
+ }, St = {
3284
+ name: "PRESET_RACING_BARS_SIMPLE",
3285
+ description: "Simple racing bars",
3286
+ descriptionZh: "簡單賽跑長條圖",
2200
3287
  chartParams: {
2201
3288
  colors: {
2202
3289
  light: {
2203
3290
  label: [
2204
- "#16B59B",
2205
- "#0088FF",
2206
- "#FF3232",
2207
- "#8E6BC9",
3291
+ "#4BABFF",
3292
+ "#FFA0A0",
3293
+ "#7DD3C4",
3294
+ "#F9B052",
3295
+ "#8454D4",
3296
+ "#42C724",
3297
+ "#FF4B4B",
3298
+ "#904026",
3299
+ "#4B25B3",
3300
+ "#C50669"
3301
+ ]
3302
+ }
3303
+ },
3304
+ padding: {
3305
+ top: 60,
3306
+ right: 40,
3307
+ bottom: 40,
3308
+ left: 40
3309
+ },
3310
+ transitionDuration: 500
3311
+ },
3312
+ pluginParams: {
3313
+ RacingBars: {
3314
+ autorun: !0
3315
+ },
3316
+ MultiValueLegend: {
3317
+ placement: "bottom",
3318
+ padding: 7
3319
+ }
3320
+ }
3321
+ }, Rt = {
3322
+ name: "PRESET_RACING_BARS_STOP",
3323
+ description: "Stopped racing bars",
3324
+ descriptionZh: "停止的賽跑長條圖",
3325
+ chartParams: {
3326
+ colors: {
3327
+ light: {
3328
+ label: [
3329
+ "#4BABFF",
3330
+ "#FFA0A0",
3331
+ "#7DD3C4",
3332
+ "#F9B052",
3333
+ "#8454D4",
3334
+ "#42C724",
3335
+ "#FF4B4B",
2208
3336
  "#904026",
2209
- "#D117EA",
2210
- "#F38428",
2211
- "#6BDC51",
2212
- "#C50669",
2213
- "#4B25B3"
3337
+ "#4B25B3",
3338
+ "#C50669"
2214
3339
  ]
2215
3340
  }
2216
3341
  },
@@ -2221,15 +3346,19 @@ const m = {
2221
3346
  left: 60
2222
3347
  }
2223
3348
  },
2224
- allPluginParams: {
3349
+ pluginParams: {
3350
+ RacingBars: {
3351
+ autorun: !1
3352
+ },
2225
3353
  MultiValueLegend: {
2226
3354
  placement: "bottom",
2227
3355
  padding: 14
2228
3356
  }
2229
3357
  }
2230
- }, Q = {
2231
- name: "PRESET_SCATTER_SEPARATE_CATEGORY",
2232
- description: "分開顯示category的散布圖",
3358
+ }, ut = {
3359
+ name: "PRESET_SCATTER_BASIC",
3360
+ description: "Basic scatter",
3361
+ descriptionZh: "基本散布圖",
2233
3362
  chartParams: {
2234
3363
  colors: {
2235
3364
  light: {
@@ -2248,24 +3377,24 @@ const m = {
2248
3377
  }
2249
3378
  },
2250
3379
  padding: {
2251
- top: 60,
2252
- right: 60,
3380
+ top: 40,
3381
+ right: 40,
2253
3382
  bottom: 100,
2254
- left: 60
3383
+ left: 80
2255
3384
  }
2256
3385
  },
2257
- dataFormatter: {
2258
- separateCategory: !0
2259
- },
2260
- allPluginParams: {
3386
+ pluginParams: {
2261
3387
  MultiValueLegend: {
2262
3388
  placement: "bottom",
2263
- padding: 14
3389
+ padding: 14,
3390
+ listRectRadius: 7
3391
+ // 圓型圖例列點
2264
3392
  }
2265
3393
  }
2266
- }, $ = {
3394
+ }, _t = {
2267
3395
  name: "PRESET_SCATTER_BUBBLES_BASIC",
2268
- description: "基本的散布泡泡圖",
3396
+ description: "Basic scatter bubbles",
3397
+ descriptionZh: "基本的散布泡泡圖",
2269
3398
  chartParams: {
2270
3399
  colors: {
2271
3400
  light: {
@@ -2284,21 +3413,24 @@ const m = {
2284
3413
  }
2285
3414
  },
2286
3415
  padding: {
2287
- top: 60,
2288
- right: 60,
3416
+ top: 40,
3417
+ right: 40,
2289
3418
  bottom: 100,
2290
- left: 60
3419
+ left: 80
2291
3420
  }
2292
3421
  },
2293
- allPluginParams: {
3422
+ pluginParams: {
2294
3423
  MultiValueLegend: {
2295
3424
  placement: "bottom",
2296
- padding: 14
3425
+ padding: 14,
3426
+ listRectRadius: 7
3427
+ // 圓型圖例列點
2297
3428
  }
2298
3429
  }
2299
- }, tt = {
3430
+ }, Ct = {
2300
3431
  name: "PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS",
2301
- description: "以半徑尺寸為比例的散布泡泡圖",
3432
+ description: "Scatter bubbles with radius scaling",
3433
+ descriptionZh: "以半徑尺寸為比例的散布泡泡圖",
2302
3434
  chartParams: {
2303
3435
  colors: {
2304
3436
  light: {
@@ -2317,24 +3449,27 @@ const m = {
2317
3449
  }
2318
3450
  },
2319
3451
  padding: {
2320
- top: 60,
2321
- right: 60,
3452
+ top: 40,
3453
+ right: 40,
2322
3454
  bottom: 100,
2323
- left: 60
3455
+ left: 80
2324
3456
  }
2325
3457
  },
2326
- allPluginParams: {
3458
+ pluginParams: {
2327
3459
  MultiValueLegend: {
2328
3460
  placement: "bottom",
2329
- padding: 14
3461
+ padding: 14,
3462
+ listRectRadius: 7
3463
+ // 圓型圖例列點
2330
3464
  },
2331
3465
  ScatterBubbles: {
2332
3466
  arcScaleType: "radius"
2333
3467
  }
2334
3468
  }
2335
- }, at = {
3469
+ }, mt = {
2336
3470
  name: "PRESET_SCATTER_BUBBLES_LINEAR_OPACITY",
2337
- description: "漸變透明度的散布泡泡圖",
3471
+ description: "Scatter bubbles with linear opacity",
3472
+ descriptionZh: "漸變透明度的散布泡泡圖",
2338
3473
  chartParams: {
2339
3474
  colors: {
2340
3475
  light: {
@@ -2353,24 +3488,27 @@ const m = {
2353
3488
  }
2354
3489
  },
2355
3490
  padding: {
2356
- top: 60,
2357
- right: 60,
3491
+ top: 40,
3492
+ right: 40,
2358
3493
  bottom: 100,
2359
- left: 60
3494
+ left: 80
2360
3495
  }
2361
3496
  },
2362
- allPluginParams: {
3497
+ pluginParams: {
2363
3498
  MultiValueLegend: {
2364
3499
  placement: "bottom",
2365
- padding: 14
3500
+ padding: 14,
3501
+ listRectRadius: 7
3502
+ // 圓型圖例列點
2366
3503
  },
2367
3504
  ScatterBubbles: {
2368
3505
  valueLinearOpacity: [0.6, 0.95]
2369
3506
  }
2370
3507
  }
2371
- }, et = {
3508
+ }, ht = {
2372
3509
  name: "PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY",
2373
- description: "分開顯示category的散布泡泡圖",
3510
+ description: "Scatter bubbles with separate category",
3511
+ descriptionZh: "分開顯示category的散布泡泡圖",
2374
3512
  chartParams: {
2375
3513
  colors: {
2376
3514
  light: {
@@ -2389,24 +3527,146 @@ const m = {
2389
3527
  }
2390
3528
  },
2391
3529
  padding: {
2392
- top: 60,
2393
- right: 60,
3530
+ top: 40,
3531
+ right: 40,
2394
3532
  bottom: 100,
2395
- left: 60
3533
+ left: 80
2396
3534
  }
2397
3535
  },
2398
3536
  dataFormatter: {
2399
3537
  separateCategory: !0
2400
3538
  },
2401
- allPluginParams: {
3539
+ pluginParams: {
2402
3540
  MultiValueLegend: {
2403
3541
  placement: "bottom",
2404
- padding: 14
3542
+ padding: 14,
3543
+ listRectRadius: 7
3544
+ // 圓型圖例列點
2405
3545
  }
2406
3546
  }
2407
- }, it = {
3547
+ }, Pt = {
3548
+ name: "PRESET_SCATTER_BUBBLES_SIMPLE",
3549
+ description: "Simple scatter bubbles",
3550
+ descriptionZh: "簡單的散布泡泡圖",
3551
+ chartParams: {
3552
+ colors: {
3553
+ light: {
3554
+ label: [
3555
+ "#6CBAFF",
3556
+ "#FF6C6C",
3557
+ "#F9B052",
3558
+ "#7DD3C4",
3559
+ "#AA93D2",
3560
+ "#0088FF",
3561
+ "#FFBABA",
3562
+ "#86DC72",
3563
+ "#EF76FF",
3564
+ "#C4C4C4"
3565
+ ]
3566
+ }
3567
+ },
3568
+ padding: {
3569
+ top: 40,
3570
+ right: 40,
3571
+ bottom: 60,
3572
+ left: 80
3573
+ }
3574
+ },
3575
+ pluginParams: {
3576
+ MultiValueLegend: {
3577
+ placement: "bottom",
3578
+ padding: 7,
3579
+ listRectRadius: 7
3580
+ // 圓型圖例列點
3581
+ }
3582
+ }
3583
+ }, Dt = {
3584
+ name: "PRESET_SCATTER_SEPARATE_CATEGORY",
3585
+ description: "Scatter with separate category",
3586
+ descriptionZh: "分開顯示category的散布圖",
3587
+ chartParams: {
3588
+ colors: {
3589
+ light: {
3590
+ label: [
3591
+ "#16B59B",
3592
+ "#0088FF",
3593
+ "#FF3232",
3594
+ "#8E6BC9",
3595
+ "#904026",
3596
+ "#D117EA",
3597
+ "#F38428",
3598
+ "#6BDC51",
3599
+ "#C50669",
3600
+ "#4B25B3"
3601
+ ]
3602
+ }
3603
+ },
3604
+ padding: {
3605
+ top: 40,
3606
+ right: 40,
3607
+ bottom: 100,
3608
+ left: 80
3609
+ }
3610
+ },
3611
+ dataFormatter: {
3612
+ separateCategory: !0
3613
+ },
3614
+ pluginParams: {
3615
+ XYAxes: {
3616
+ xAxis: {
3617
+ ticks: 3
3618
+ },
3619
+ yAxis: {
3620
+ ticks: 3
3621
+ }
3622
+ },
3623
+ MultiValueLegend: {
3624
+ placement: "bottom",
3625
+ padding: 14,
3626
+ listRectRadius: 7
3627
+ // 圓型圖例列點
3628
+ }
3629
+ }
3630
+ }, Tt = {
3631
+ name: "PRESET_SCATTER_SIMPLE",
3632
+ description: "Simple scatter",
3633
+ descriptionZh: "簡單散布圖",
3634
+ chartParams: {
3635
+ colors: {
3636
+ light: {
3637
+ label: [
3638
+ "#16B59B",
3639
+ "#0088FF",
3640
+ "#FF3232",
3641
+ "#8E6BC9",
3642
+ "#904026",
3643
+ "#D117EA",
3644
+ "#F38428",
3645
+ "#6BDC51",
3646
+ "#C50669",
3647
+ "#4B25B3"
3648
+ ]
3649
+ }
3650
+ },
3651
+ padding: {
3652
+ top: 40,
3653
+ right: 40,
3654
+ bottom: 60,
3655
+ left: 80
3656
+ }
3657
+ },
3658
+ pluginParams: {
3659
+ MultiValueLegend: {
3660
+ placement: "bottom",
3661
+ padding: 7,
3662
+ listRectRadius: 7
3663
+ // 圓型圖例列點
3664
+ }
3665
+ }
3666
+ }, It = {
2408
3667
  name: "PRESET_FORCE_DIRECTED_BASIC",
2409
- description: "基本Force Directed參數",
3668
+ description: "Basic force directed chart",
3669
+ descriptionZh: "基本力導向圖",
2410
3670
  chartParams: {
2411
3671
  colors: {
2412
3672
  light: {
@@ -2424,23 +3684,18 @@ const m = {
2424
3684
  ]
2425
3685
  }
2426
3686
  }
2427
- // padding: {
2428
- // top: 40,
2429
- // right: 40,
2430
- // bottom: 60,
2431
- // left: 40
2432
- // },
2433
3687
  },
2434
- allPluginParams: {
3688
+ pluginParams: {
2435
3689
  ForceDirected: {},
2436
3690
  RelationshipLegend: {
2437
3691
  listRectRadius: 7
2438
3692
  // 圓型圖例列點
2439
3693
  }
2440
3694
  }
2441
- }, lt = {
3695
+ }, bt = {
2442
3696
  name: "PRESET_FORCE_DIRECTED_BUBBLES_BASIC",
2443
- description: "基本Force Directed Bubbles參數",
3697
+ description: "Basic force directed bubbles chart",
3698
+ descriptionZh: "基本力導向泡泡圖",
2444
3699
  chartParams: {
2445
3700
  colors: {
2446
3701
  light: {
@@ -2458,23 +3713,18 @@ const m = {
2458
3713
  ]
2459
3714
  }
2460
3715
  }
2461
- // padding: {
2462
- // top: 40,
2463
- // right: 40,
2464
- // bottom: 60,
2465
- // left: 40
2466
- // },
2467
3716
  },
2468
- allPluginParams: {
3717
+ pluginParams: {
2469
3718
  ForceDirectedBubbles: {},
2470
3719
  RelationshipLegend: {
2471
3720
  listRectRadius: 7
2472
3721
  // 圓型圖例列點
2473
3722
  }
2474
3723
  }
2475
- }, rt = {
3724
+ }, Lt = {
2476
3725
  name: "PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH",
2477
- description: "Force Directed Bubbles固定箭頭寬度",
3726
+ description: "Force-directed bubble chart with fixed arrow width",
3727
+ descriptionZh: "固定箭頭寬度的力導向泡泡圖",
2478
3728
  chartParams: {
2479
3729
  colors: {
2480
3730
  light: {
@@ -2492,14 +3742,8 @@ const m = {
2492
3742
  ]
2493
3743
  }
2494
3744
  }
2495
- // padding: {
2496
- // top: 40,
2497
- // right: 40,
2498
- // bottom: 60,
2499
- // left: 40
2500
- // },
2501
3745
  },
2502
- allPluginParams: {
3746
+ pluginParams: {
2503
3747
  ForceDirectedBubbles: {
2504
3748
  arrow: {
2505
3749
  strokeWidthMin: 1.5,
@@ -2511,9 +3755,10 @@ const m = {
2511
3755
  // 圓型圖例列點
2512
3756
  }
2513
3757
  }
2514
- }, st = {
3758
+ }, Mt = {
2515
3759
  name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW",
2516
- description: "Force Directed Bubbles沒有箭頭",
3760
+ description: "Force-directed bubble chart without arrows",
3761
+ descriptionZh: "沒有箭頭的力導向泡泡圖",
2517
3762
  chartParams: {
2518
3763
  colors: {
2519
3764
  light: {
@@ -2531,20 +3776,12 @@ const m = {
2531
3776
  ]
2532
3777
  }
2533
3778
  }
2534
- // padding: {
2535
- // top: 40,
2536
- // right: 40,
2537
- // bottom: 60,
2538
- // left: 40
2539
- // },
2540
3779
  },
2541
- allPluginParams: {
3780
+ pluginParams: {
2542
3781
  ForceDirectedBubbles: {
2543
3782
  arrow: {
2544
3783
  pointerWidth: 0,
2545
3784
  pointerHeight: 0
2546
- // strokeWidthMin: 1.5,
2547
- // strokeWidthMax: 9
2548
3785
  }
2549
3786
  },
2550
3787
  RelationshipLegend: {
@@ -2552,9 +3789,10 @@ const m = {
2552
3789
  // 圓型圖例列點
2553
3790
  }
2554
3791
  }
2555
- }, ot = {
3792
+ }, xt = {
2556
3793
  name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM",
2557
- description: "Force Directed Bubbles無滑鼠托曳及縮放控制",
3794
+ description: "Force Directed bubbles chart without mouse drag and zoom control",
3795
+ descriptionZh: "無滑鼠托曳及縮放控制的力導向泡泡圖",
2558
3796
  chartParams: {
2559
3797
  colors: {
2560
3798
  light: {
@@ -2572,14 +3810,8 @@ const m = {
2572
3810
  ]
2573
3811
  }
2574
3812
  }
2575
- // padding: {
2576
- // top: 40,
2577
- // right: 40,
2578
- // bottom: 60,
2579
- // left: 40
2580
- // },
2581
3813
  },
2582
- allPluginParams: {
3814
+ pluginParams: {
2583
3815
  ForceDirectedBubbles: {
2584
3816
  zoomable: !1
2585
3817
  },
@@ -2588,9 +3820,40 @@ const m = {
2588
3820
  // 圓型圖例列點
2589
3821
  }
2590
3822
  }
2591
- }, Et = {
3823
+ }, Gt = {
3824
+ name: "PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE",
3825
+ description: "Simple force directed bubbles chart",
3826
+ descriptionZh: "簡單力導向泡泡圖",
3827
+ chartParams: {
3828
+ colors: {
3829
+ light: {
3830
+ label: [
3831
+ "#6CBAFF",
3832
+ "#FF6C6C",
3833
+ "#F9B052",
3834
+ "#7DD3C4",
3835
+ "#AA93D2",
3836
+ "#0088FF",
3837
+ "#FFBABA",
3838
+ "#86DC72",
3839
+ "#EF76FF",
3840
+ "#C4C4C4"
3841
+ ]
3842
+ }
3843
+ }
3844
+ },
3845
+ pluginParams: {
3846
+ ForceDirectedBubbles: {},
3847
+ RelationshipLegend: {
3848
+ listRectRadius: 7,
3849
+ // 圓型圖例列點
3850
+ padding: 7
3851
+ }
3852
+ }
3853
+ }, Ot = {
2592
3854
  name: "PRESET_FORCE_DIRECTED_NONE_ZOOM",
2593
- description: "Force Directed無滑鼠托曳及縮放控制",
3855
+ description: "Force directed chart without mouse drag and zoom control",
3856
+ descriptionZh: "無滑鼠托曳及縮放控制的力導向圖",
2594
3857
  chartParams: {
2595
3858
  colors: {
2596
3859
  light: {
@@ -2608,14 +3871,8 @@ const m = {
2608
3871
  ]
2609
3872
  }
2610
3873
  }
2611
- // padding: {
2612
- // top: 40,
2613
- // right: 40,
2614
- // bottom: 60,
2615
- // left: 40
2616
- // },
2617
3874
  },
2618
- allPluginParams: {
3875
+ pluginParams: {
2619
3876
  ForceDirected: {
2620
3877
  zoomable: !1
2621
3878
  },
@@ -2624,9 +3881,10 @@ const m = {
2624
3881
  // 圓型圖例列點
2625
3882
  }
2626
3883
  }
2627
- }, nt = {
3884
+ }, Nt = {
2628
3885
  name: "PRESET_FORCE_DIRECTED_FIX_FONT_SIZE",
2629
- description: "基本Force Directed參數",
3886
+ description: "Force directed chart with fixed font size",
3887
+ descriptionZh: "固定字體大小的力導向圖",
2630
3888
  chartParams: {
2631
3889
  colors: {
2632
3890
  light: {
@@ -2644,14 +3902,8 @@ const m = {
2644
3902
  ]
2645
3903
  }
2646
3904
  }
2647
- // padding: {
2648
- // top: 40,
2649
- // right: 40,
2650
- // bottom: 60,
2651
- // left: 40
2652
- // },
2653
3905
  },
2654
- allPluginParams: {
3906
+ pluginParams: {
2655
3907
  ForceDirected: {
2656
3908
  dotLabel: {
2657
3909
  sizeFixed: !0
@@ -2665,9 +3917,10 @@ const m = {
2665
3917
  // 圓型圖例列點
2666
3918
  }
2667
3919
  }
2668
- }, Ft = {
3920
+ }, vt = {
2669
3921
  name: "PRESET_FORCE_DIRECTED_NONE_ARROW",
2670
- description: "Force Directed沒有箭頭",
3922
+ description: "Force directed chart without arrows",
3923
+ descriptionZh: "沒有箭頭的力導向圖",
2671
3924
  chartParams: {
2672
3925
  colors: {
2673
3926
  light: {
@@ -2685,14 +3938,8 @@ const m = {
2685
3938
  ]
2686
3939
  }
2687
3940
  }
2688
- // padding: {
2689
- // top: 40,
2690
- // right: 40,
2691
- // bottom: 60,
2692
- // left: 40
2693
- // },
2694
3941
  },
2695
- allPluginParams: {
3942
+ pluginParams: {
2696
3943
  ForceDirected: {
2697
3944
  arrow: {
2698
3945
  pointerWidth: 0,
@@ -2704,9 +3951,40 @@ const m = {
2704
3951
  // 圓型圖例列點
2705
3952
  }
2706
3953
  }
2707
- }, dt = {
3954
+ }, Zt = {
3955
+ name: "PRESET_FORCE_DIRECTED_SIMPLE",
3956
+ description: "Simple force directed chart",
3957
+ descriptionZh: "簡單力導向圖",
3958
+ chartParams: {
3959
+ colors: {
3960
+ light: {
3961
+ label: [
3962
+ "#4BABFF",
3963
+ "#FFA0A0",
3964
+ "#7DD3C4",
3965
+ "#F9B052",
3966
+ "#8454D4",
3967
+ "#42C724",
3968
+ "#FF4B4B",
3969
+ "#904026",
3970
+ "#4B25B3",
3971
+ "#C50669"
3972
+ ]
3973
+ }
3974
+ }
3975
+ },
3976
+ pluginParams: {
3977
+ ForceDirected: {},
3978
+ RelationshipLegend: {
3979
+ listRectRadius: 7,
3980
+ // 圓型圖例列點
3981
+ padding: 7
3982
+ }
3983
+ }
3984
+ }, Ut = {
2708
3985
  name: "PRESET_TREE_MAP_BASIC",
2709
- description: "基本Tree Map參數",
3986
+ description: "Basic tree map",
3987
+ descriptionZh: "基本樹狀矩形圖",
2710
3988
  chartParams: {
2711
3989
  colors: {
2712
3990
  light: {
@@ -2731,7 +4009,7 @@ const m = {
2731
4009
  left: 40
2732
4010
  }
2733
4011
  },
2734
- allPluginParams: {
4012
+ pluginParams: {
2735
4013
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
2736
4014
  TreeMap: {},
2737
4015
  TreeLegend: {
@@ -2741,69 +4019,132 @@ const m = {
2741
4019
  padding: 14
2742
4020
  }
2743
4021
  }
4022
+ }, ft = {
4023
+ name: "PRESET_TREE_MAP_SIMPLE",
4024
+ description: "Simple tree map",
4025
+ descriptionZh: "簡單樹狀矩形圖",
4026
+ chartParams: {
4027
+ colors: {
4028
+ light: {
4029
+ label: [
4030
+ "#4BABFF",
4031
+ "#94D6CB",
4032
+ "#F9B052",
4033
+ "#8454D4",
4034
+ "#D58C75",
4035
+ "#42C724",
4036
+ "#FF8B8B",
4037
+ "#904026",
4038
+ "#C50669",
4039
+ "#4B25B3"
4040
+ ]
4041
+ }
4042
+ },
4043
+ padding: {
4044
+ top: 40,
4045
+ right: 40,
4046
+ bottom: 40,
4047
+ left: 40
4048
+ }
4049
+ },
4050
+ pluginParams: {
4051
+ TreeMap: {},
4052
+ TreeLegend: {
4053
+ placement: "bottom",
4054
+ padding: 7
4055
+ }
4056
+ }
2744
4057
  };
2745
4058
  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,
4059
+ P as PRESET_BARS_HORIZONTAL_AND_ROUND,
4060
+ D as PRESET_BARS_HORIZONTAL_AND_THIN,
4061
+ T as PRESET_BARS_ROUND,
4062
+ I as PRESET_BARS_THIN,
4063
+ u as PRESET_BUBBLES_BASIC,
4064
+ _ as PRESET_BUBBLES_SCALING_BY_RADIUS,
4065
+ C as PRESET_BUBBLES_SEPARATE_SERIES,
4066
+ m as PRESET_BUBBLES_SIMPLE,
2753
4067
  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,
4068
+ It as PRESET_FORCE_DIRECTED_BASIC,
4069
+ bt as PRESET_FORCE_DIRECTED_BUBBLES_BASIC,
4070
+ Lt as PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH,
4071
+ Mt as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW,
4072
+ xt as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM,
4073
+ Gt as PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE,
4074
+ Nt as PRESET_FORCE_DIRECTED_FIX_FONT_SIZE,
4075
+ vt as PRESET_FORCE_DIRECTED_NONE_ARROW,
4076
+ Ot as PRESET_FORCE_DIRECTED_NONE_ZOOM,
4077
+ Zt as PRESET_FORCE_DIRECTED_SIMPLE,
4078
+ b as PRESET_GRID_BASIC,
4079
+ L as PRESET_GRID_HORIZONTAL,
4080
+ x as PRESET_GRID_PN_SCALE,
4081
+ M as PRESET_GRID_PN_SCALE_SIMPLE,
4082
+ G as PRESET_GRID_ROTATE_AXIS_LABEL,
4083
+ O as PRESET_GRID_SEPARATE_SERIES,
4084
+ N as PRESET_GRID_SIMPLE,
4085
+ y as PRESET_LINES_BASIC,
4086
+ w as PRESET_LINES_CURVE,
4087
+ W as PRESET_LINES_HORIZONTAL,
4088
+ Y as PRESET_LINES_LOOSE_TICKS,
4089
+ X as PRESET_LINES_ROTATE_AXIS_LABEL,
4090
+ z as PRESET_LINES_SIMPLE,
4091
+ K as PRESET_LINES_WITH_SOLID_DOTS,
4092
+ v as PRESET_LINE_AREAS_BASIC,
4093
+ Z as PRESET_LINE_AREAS_CURVE,
4094
+ U as PRESET_LINE_AREAS_HORIZONTAL,
4095
+ f as PRESET_LINE_AREAS_LOOSE_TICKS,
4096
+ V as PRESET_LINE_AREAS_ROTATE_AXIS_LABEL,
4097
+ H as PRESET_LINE_AREAS_SEPARATE_SERIES,
4098
+ k as PRESET_LINE_AREAS_SIMPLE,
4099
+ j as PRESET_MULTI_GRID_BASIC,
4100
+ J as PRESET_MULTI_GRID_DIVERGING,
4101
+ q as PRESET_MULTI_GRID_DIVERGING_SIMPLE,
4102
+ $ as PRESET_MULTI_GRID_ROUND_STYLE,
4103
+ Q as PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE,
4104
+ et as PRESET_MULTI_GRID_SEPARATE_GRID,
4105
+ tt as PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE,
4106
+ it as PRESET_MULTI_GRID_SIMPLE,
4107
+ lt as PRESET_MULTI_LINES_SEPARATE_GRID,
4108
+ st as PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE,
4109
+ rt as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID,
4110
+ at as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE,
4111
+ ot as PRESET_MULTI_VALUE_BASIC,
4112
+ nt as PRESET_MULTI_VALUE_SEPARATE_CATEGORY,
4113
+ dt as PRESET_MULTI_VALUE_SIMPLE,
4114
+ a as PRESET_PIE_BASIC,
2788
4115
  r as PRESET_PIE_DONUT,
2789
4116
  s as PRESET_PIE_HALF_DONUT,
2790
- E as PRESET_PIE_SEPARATE_SERIES,
2791
- n as PRESET_PIE_SUM_SERIES,
2792
- o as PRESET_PIE_WITH_INNER_LABELS,
2793
- F as PRESET_ROSE_BASIC,
2794
- d as PRESET_ROSE_SCALING_BY_RADIUS,
2795
- A as PRESET_ROSE_SEPARATE_SERIES,
2796
- g as PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES,
4117
+ o as PRESET_PIE_SEPARATE_SERIES,
4118
+ n as PRESET_PIE_SIMPLE,
4119
+ d as PRESET_PIE_SUM_SERIES,
4120
+ l as PRESET_PIE_WITH_INNER_LABELS,
4121
+ Et as PRESET_RACING_BARS_ALL_ITEMS,
4122
+ ct as PRESET_RACING_BARS_BASIC,
4123
+ Ft as PRESET_RACING_BARS_FAST,
4124
+ gt as PRESET_RACING_BARS_FASTER,
4125
+ Bt as PRESET_RACING_BARS_LOOP,
4126
+ pt as PRESET_RACING_BARS_OUTSIDE_LABELS,
4127
+ At as PRESET_RACING_BARS_SEPARATE_CATEGORY,
4128
+ St as PRESET_RACING_BARS_SIMPLE,
4129
+ Rt as PRESET_RACING_BARS_STOP,
4130
+ E as PRESET_ROSE_BASIC,
4131
+ c as PRESET_ROSE_SCALING_BY_RADIUS,
4132
+ F as PRESET_ROSE_SEPARATE_SERIES,
4133
+ p as PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES,
4134
+ g as PRESET_ROSE_SIMPLE,
2797
4135
  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
4136
+ ut as PRESET_SCATTER_BASIC,
4137
+ _t as PRESET_SCATTER_BUBBLES_BASIC,
4138
+ mt as PRESET_SCATTER_BUBBLES_LINEAR_OPACITY,
4139
+ Ct as PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS,
4140
+ ht as PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY,
4141
+ Pt as PRESET_SCATTER_BUBBLES_SIMPLE,
4142
+ Dt as PRESET_SCATTER_SEPARATE_CATEGORY,
4143
+ Tt as PRESET_SCATTER_SIMPLE,
4144
+ h as PRESET_SERIES_BASIC,
4145
+ S as PRESET_SERIES_SEPARATE_SERIES,
4146
+ A as PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES,
4147
+ R as PRESET_SERIES_SUM_SERIES,
4148
+ Ut as PRESET_TREE_MAP_BASIC,
4149
+ ft as PRESET_TREE_MAP_SIMPLE
2809
4150
  };