@orbcharts/presets-basic 3.0.1 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orbcharts-presets-basic.es.js +1058 -450
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/multiValue/PRESET_ORDINAL_BUBBLES_ALL_ITEMS.d.ts +4 -0
- package/dist/src/multiValue/PRESET_ORDINAL_BUBBLES_BASIC.d.ts +4 -0
- package/dist/src/multiValue/PRESET_ORDINAL_BUBBLES_LINEAR_OPACITY.d.ts +4 -0
- package/dist/src/multiValue/PRESET_ORDINAL_BUBBLES_SCALING_BY_RADIUS.d.ts +4 -0
- package/dist/src/multiValue/PRESET_ORDINAL_BUBBLES_SEPARATE_CATEGORY.d.ts +4 -0
- package/dist/src/multiValue/PRESET_ORDINAL_BUBBLES_SIMPLE.d.ts +4 -0
- package/dist/src/multiValue/index.d.ts +6 -0
- package/dist/src/series/PRESET_BUBBLES_SEPARATE_ALL.d.ts +4 -0
- package/dist/src/series/PRESET_BUBBLES_SEPARATE_LABEL.d.ts +4 -0
- package/dist/src/series/PRESET_PIE_SEPARATE_LABEL.d.ts +4 -0
- package/dist/src/series/PRESET_ROSE_SEPARATE_ALL.d.ts +4 -0
- package/dist/src/series/PRESET_ROSE_SEPARATE_LABEL.d.ts +4 -0
- package/dist/src/series/index.d.ts +5 -0
- package/dist/src/types.d.ts +15 -3
- package/package.json +3 -3
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +6 -8
- package/src/grid/PRESET_BARS_ROUND.ts +0 -2
- package/src/grid/PRESET_BARS_THIN.ts +0 -2
- package/src/grid/PRESET_GRID_BASIC.ts +0 -5
- package/src/grid/PRESET_GRID_HORIZONTAL.ts +6 -19
- package/src/grid/PRESET_GRID_PN_SCALE.ts +4 -11
- package/src/grid/PRESET_GRID_PN_SCALE_SIMPLE.ts +0 -4
- package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +1 -6
- package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +6 -10
- package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +1 -1
- package/src/grid/PRESET_LINE_AREAS_BASIC.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_CURVE.ts +5 -11
- package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +1 -1
- package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +5 -1
- package/src/grid/PRESET_LINE_AREAS_SIMPLE.ts +2 -2
- package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +1 -1
- package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING_SIMPLE.ts +1 -1
- package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE.ts +4 -0
- package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +5 -1
- package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE.ts +2 -1
- package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +5 -1
- package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE.ts +2 -1
- package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +5 -5
- package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE.ts +4 -3
- package/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.ts +5 -1
- package/src/multiValue/PRESET_ORDINAL_BUBBLES_ALL_ITEMS.ts +57 -0
- package/src/multiValue/PRESET_ORDINAL_BUBBLES_BASIC.ts +56 -0
- package/src/multiValue/PRESET_ORDINAL_BUBBLES_LINEAR_OPACITY.ts +59 -0
- package/src/multiValue/PRESET_ORDINAL_BUBBLES_SCALING_BY_RADIUS.ts +59 -0
- package/src/multiValue/PRESET_ORDINAL_BUBBLES_SEPARATE_CATEGORY.ts +66 -0
- package/src/multiValue/PRESET_ORDINAL_BUBBLES_SIMPLE.ts +59 -0
- package/src/multiValue/PRESET_RACING_BARS_SEPARATE_CATEGORY.ts +1 -1
- package/src/multiValue/PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY.ts +5 -1
- package/src/multiValue/PRESET_SCATTER_SEPARATE_CATEGORY.ts +5 -1
- package/src/multiValue/index.ts +6 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.ts +12 -12
- package/src/series/PRESET_BUBBLES_SEPARATE_ALL.ts +69 -0
- package/src/series/PRESET_BUBBLES_SEPARATE_LABEL.ts +66 -0
- package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +13 -5
- package/src/series/PRESET_PIE_SEPARATE_LABEL.ts +52 -0
- package/src/series/PRESET_ROSE_SEPARATE_ALL.ts +55 -0
- package/src/series/PRESET_ROSE_SEPARATE_LABEL.ts +58 -0
- package/src/series/PRESET_ROSE_SEPARATE_SERIES.ts +0 -2
- package/src/series/PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES.ts +0 -2
- package/src/series/index.ts +5 -0
- package/src/tree/PRESET_TREE_MAP_BASIC.ts +0 -4
- package/src/types.ts +25 -1
- package/dist/src/params.d.ts +0 -9
- package/src/params.ts +0 -84
@@ -1,4 +1,4 @@
|
|
1
|
-
const
|
1
|
+
const _ = {
|
2
2
|
name: "PRESET_BUBBLES_BASIC",
|
3
3
|
description: "Basic bubble chart",
|
4
4
|
descriptionZh: "基本泡泡圖",
|
@@ -40,7 +40,7 @@ const S = {
|
|
40
40
|
// 圓型圖例列點
|
41
41
|
}
|
42
42
|
}
|
43
|
-
},
|
43
|
+
}, m = {
|
44
44
|
name: "PRESET_BUBBLES_SCALING_BY_RADIUS",
|
45
45
|
description: "Bubble chart scaled by radius size",
|
46
46
|
descriptionZh: "以半徑尺寸為比例的泡泡圖",
|
@@ -85,7 +85,7 @@ const S = {
|
|
85
85
|
// 圓型圖例列點
|
86
86
|
}
|
87
87
|
}
|
88
|
-
},
|
88
|
+
}, b = {
|
89
89
|
name: "PRESET_BUBBLES_SEPARATE_SERIES",
|
90
90
|
description: "Bubble chart showing series separately",
|
91
91
|
descriptionZh: "分開顯示Series的泡泡圖",
|
@@ -122,24 +122,159 @@ const S = {
|
|
122
122
|
},
|
123
123
|
// 加長留空
|
124
124
|
padding: {
|
125
|
-
top:
|
125
|
+
top: 100,
|
126
|
+
right: 140,
|
127
|
+
bottom: 100,
|
128
|
+
left: 140
|
129
|
+
}
|
130
|
+
},
|
131
|
+
dataFormatter: {
|
132
|
+
separateSeries: !0,
|
133
|
+
container: {
|
134
|
+
columnGap: 0,
|
135
|
+
rowGap: 0
|
136
|
+
}
|
137
|
+
},
|
138
|
+
pluginParams: {
|
139
|
+
Bubbles: {
|
140
|
+
force: {
|
141
|
+
strength: 0.1
|
142
|
+
}
|
143
|
+
},
|
144
|
+
SeriesLegend: {
|
145
|
+
listRectRadius: 7
|
146
|
+
// 圓型圖例列點
|
147
|
+
},
|
148
|
+
SeriesTooltip: {}
|
149
|
+
}
|
150
|
+
}, h = {
|
151
|
+
name: "PRESET_BUBBLES_SEPARATE_LABEL",
|
152
|
+
description: "Bubble chart showing label separately",
|
153
|
+
descriptionZh: "分開顯示Label的泡泡圖",
|
154
|
+
chartParams: {
|
155
|
+
colors: {
|
156
|
+
light: {
|
157
|
+
label: [
|
158
|
+
"#0088FF",
|
159
|
+
"#FF3232",
|
160
|
+
"#38BEA8",
|
161
|
+
"#6F3BD5",
|
162
|
+
"#314285",
|
163
|
+
"#42C724",
|
164
|
+
"#D52580",
|
165
|
+
"#F4721B",
|
166
|
+
"#D117EA",
|
167
|
+
"#7E7D7D"
|
168
|
+
]
|
169
|
+
},
|
170
|
+
dark: {
|
171
|
+
label: [
|
172
|
+
"#4BABFF",
|
173
|
+
"#FF6C6C",
|
174
|
+
"#7DD3C4",
|
175
|
+
"#8E6BC9",
|
176
|
+
"#5366AC",
|
177
|
+
"#86DC72",
|
178
|
+
"#FF72BB",
|
179
|
+
"#F9B052",
|
180
|
+
"#EF76FF",
|
181
|
+
"#C4C4C4"
|
182
|
+
]
|
183
|
+
}
|
184
|
+
},
|
185
|
+
// 加長留空
|
186
|
+
padding: {
|
187
|
+
top: 100,
|
188
|
+
right: 140,
|
189
|
+
bottom: 100,
|
190
|
+
left: 140
|
191
|
+
}
|
192
|
+
},
|
193
|
+
dataFormatter: {
|
194
|
+
separateLabel: !0,
|
195
|
+
container: {
|
196
|
+
columnGap: 0,
|
197
|
+
rowGap: 0
|
198
|
+
}
|
199
|
+
},
|
200
|
+
pluginParams: {
|
201
|
+
Bubbles: {
|
202
|
+
force: {
|
203
|
+
strength: 0.1
|
204
|
+
}
|
205
|
+
},
|
206
|
+
SeriesLegend: {
|
207
|
+
listRectRadius: 7
|
208
|
+
// 圓型圖例列點
|
209
|
+
},
|
210
|
+
SeriesTooltip: {}
|
211
|
+
}
|
212
|
+
}, P = {
|
213
|
+
name: "PRESET_BUBBLES_SEPARATE_ALL",
|
214
|
+
description: "Bubble chart showing all data separately",
|
215
|
+
descriptionZh: "全部資料分開顯示的泡泡圖",
|
216
|
+
chartParams: {
|
217
|
+
colors: {
|
218
|
+
light: {
|
219
|
+
label: [
|
220
|
+
"#0088FF",
|
221
|
+
"#FF3232",
|
222
|
+
"#38BEA8",
|
223
|
+
"#6F3BD5",
|
224
|
+
"#314285",
|
225
|
+
"#42C724",
|
226
|
+
"#D52580",
|
227
|
+
"#F4721B",
|
228
|
+
"#D117EA",
|
229
|
+
"#7E7D7D"
|
230
|
+
]
|
231
|
+
},
|
232
|
+
dark: {
|
233
|
+
label: [
|
234
|
+
"#4BABFF",
|
235
|
+
"#FF6C6C",
|
236
|
+
"#7DD3C4",
|
237
|
+
"#8E6BC9",
|
238
|
+
"#5366AC",
|
239
|
+
"#86DC72",
|
240
|
+
"#FF72BB",
|
241
|
+
"#F9B052",
|
242
|
+
"#EF76FF",
|
243
|
+
"#C4C4C4"
|
244
|
+
]
|
245
|
+
}
|
246
|
+
},
|
247
|
+
// 加長留空
|
248
|
+
padding: {
|
249
|
+
top: 100,
|
126
250
|
right: 160,
|
127
|
-
bottom:
|
251
|
+
bottom: 100,
|
128
252
|
left: 160
|
129
253
|
}
|
130
254
|
},
|
131
255
|
dataFormatter: {
|
132
|
-
separateSeries: !0
|
256
|
+
separateSeries: !0,
|
257
|
+
separateLabel: !0,
|
258
|
+
sort: (t, a) => a.value - t.value,
|
259
|
+
container: {
|
260
|
+
columnGap: 0,
|
261
|
+
rowGap: 0
|
262
|
+
}
|
133
263
|
},
|
134
264
|
pluginParams: {
|
135
|
-
Bubbles: {
|
265
|
+
Bubbles: {
|
266
|
+
force: {
|
267
|
+
strength: 0.12
|
268
|
+
}
|
269
|
+
},
|
136
270
|
SeriesLegend: {
|
137
|
-
listRectRadius: 7
|
271
|
+
listRectRadius: 7,
|
138
272
|
// 圓型圖例列點
|
273
|
+
padding: 7
|
139
274
|
},
|
140
275
|
SeriesTooltip: {}
|
141
276
|
}
|
142
|
-
},
|
277
|
+
}, T = {
|
143
278
|
name: "PRESET_BUBBLES_SIMPLE",
|
144
279
|
description: "Simple bubble chart",
|
145
280
|
descriptionZh: "簡單泡泡圖",
|
@@ -188,7 +323,7 @@ const S = {
|
|
188
323
|
padding: 7
|
189
324
|
}
|
190
325
|
}
|
191
|
-
},
|
326
|
+
}, F = {
|
192
327
|
name: "PRESET_BUBBLES_SUM_SERIES",
|
193
328
|
description: "Bubble chart of combined Series data",
|
194
329
|
descriptionZh: "合併Series資料的泡泡圖",
|
@@ -225,13 +360,13 @@ const S = {
|
|
225
360
|
}
|
226
361
|
},
|
227
362
|
dataFormatter: {
|
228
|
-
sort: (t,
|
363
|
+
sort: (t, a) => a.value - t.value,
|
229
364
|
sumSeries: !0
|
230
365
|
},
|
231
366
|
pluginParams: {}
|
232
367
|
};
|
233
|
-
|
234
|
-
const
|
368
|
+
F.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
369
|
+
const r = {
|
235
370
|
name: "PRESET_PIE_BASIC",
|
236
371
|
description: "Basic pie chart",
|
237
372
|
descriptionZh: "基本圓餅圖",
|
@@ -268,7 +403,7 @@ const i = {
|
|
268
403
|
}
|
269
404
|
},
|
270
405
|
dataFormatter: {
|
271
|
-
sort: (t,
|
406
|
+
sort: (t, a) => a.value - t.value
|
272
407
|
},
|
273
408
|
pluginParams: {
|
274
409
|
SeriesLegend: {
|
@@ -277,8 +412,8 @@ const i = {
|
|
277
412
|
}
|
278
413
|
}
|
279
414
|
};
|
280
|
-
|
281
|
-
const
|
415
|
+
r.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
416
|
+
const l = {
|
282
417
|
name: "PRESET_PIE_DONUT",
|
283
418
|
description: "Donut chart",
|
284
419
|
descriptionZh: "甜甜圈圖",
|
@@ -315,7 +450,7 @@ const F = {
|
|
315
450
|
}
|
316
451
|
},
|
317
452
|
dataFormatter: {
|
318
|
-
sort: (t,
|
453
|
+
sort: (t, a) => a.value - t.value
|
319
454
|
},
|
320
455
|
pluginParams: {
|
321
456
|
Pie: {
|
@@ -329,8 +464,8 @@ const F = {
|
|
329
464
|
}
|
330
465
|
}
|
331
466
|
};
|
332
|
-
|
333
|
-
const
|
467
|
+
l.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
468
|
+
const s = {
|
334
469
|
name: "PRESET_PIE_HALF_DONUT",
|
335
470
|
description: "Half donut chart",
|
336
471
|
descriptionZh: "半圓甜甜圈圖",
|
@@ -373,7 +508,7 @@ const r = {
|
|
373
508
|
}
|
374
509
|
},
|
375
510
|
dataFormatter: {
|
376
|
-
sort: (t,
|
511
|
+
sort: (t, a) => a.value - t.value
|
377
512
|
},
|
378
513
|
pluginParams: {
|
379
514
|
Pie: {
|
@@ -393,8 +528,8 @@ const r = {
|
|
393
528
|
}
|
394
529
|
}
|
395
530
|
};
|
396
|
-
|
397
|
-
const
|
531
|
+
s.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
532
|
+
const o = {
|
398
533
|
name: "PRESET_PIE_WITH_INNER_LABELS",
|
399
534
|
description: "Pie chart with inner data labels",
|
400
535
|
descriptionZh: "圓餅圖及內部資料標籤",
|
@@ -431,7 +566,7 @@ const l = {
|
|
431
566
|
}
|
432
567
|
},
|
433
568
|
dataFormatter: {
|
434
|
-
sort: (t,
|
569
|
+
sort: (t, a) => a.value - t.value
|
435
570
|
},
|
436
571
|
pluginParams: {
|
437
572
|
Pie: {},
|
@@ -447,8 +582,8 @@ const l = {
|
|
447
582
|
}
|
448
583
|
}
|
449
584
|
};
|
450
|
-
|
451
|
-
const
|
585
|
+
o.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
586
|
+
const n = {
|
452
587
|
name: "PRESET_PIE_SEPARATE_SERIES",
|
453
588
|
description: "Separate pie chart of Series",
|
454
589
|
descriptionZh: "分開顯示Series的圓餅圖",
|
@@ -485,13 +620,61 @@ const s = {
|
|
485
620
|
}
|
486
621
|
},
|
487
622
|
dataFormatter: {
|
488
|
-
sort: (t,
|
623
|
+
sort: (t, a) => a.value - t.value,
|
489
624
|
separateSeries: !0
|
490
625
|
},
|
491
626
|
pluginParams: {}
|
492
627
|
};
|
493
|
-
|
494
|
-
const
|
628
|
+
n.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
629
|
+
const e = {
|
630
|
+
name: "PRESET_PIE_SEPARATE_LABEL",
|
631
|
+
description: "Separate pie chart of Label",
|
632
|
+
descriptionZh: "分開顯示Label的圓餅圖",
|
633
|
+
chartParams: {
|
634
|
+
colors: {
|
635
|
+
light: {
|
636
|
+
label: [
|
637
|
+
"#0088FF",
|
638
|
+
"#4BABFF",
|
639
|
+
"#38BEA8",
|
640
|
+
"#86DC72",
|
641
|
+
"#F9B052",
|
642
|
+
"#F4721B",
|
643
|
+
"#FF3232",
|
644
|
+
"#5F2714",
|
645
|
+
"#D117EA",
|
646
|
+
"7E7D7D"
|
647
|
+
]
|
648
|
+
},
|
649
|
+
dark: {
|
650
|
+
label: [
|
651
|
+
"#4BABFF",
|
652
|
+
"#8BC8FF",
|
653
|
+
"#61CBB9",
|
654
|
+
"#ACE1A0",
|
655
|
+
"#FCDCAD",
|
656
|
+
"#F9B052",
|
657
|
+
"#FF6C6C",
|
658
|
+
"#904026",
|
659
|
+
"#EF76FF",
|
660
|
+
"#C4C4C4"
|
661
|
+
]
|
662
|
+
}
|
663
|
+
}
|
664
|
+
},
|
665
|
+
dataFormatter: {
|
666
|
+
sort: (t, a) => a.value - t.value,
|
667
|
+
separateLabel: !0
|
668
|
+
},
|
669
|
+
pluginParams: {
|
670
|
+
PieLabels: {
|
671
|
+
labelFn: (t) => t.seriesLabel
|
672
|
+
}
|
673
|
+
}
|
674
|
+
};
|
675
|
+
e.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
676
|
+
e.pluginParams.PieLabels.labelFn.toString = () => "d => d.seriesLabel";
|
677
|
+
const B = {
|
495
678
|
name: "PRESET_PIE_SIMPLE",
|
496
679
|
description: "Simple pie chart",
|
497
680
|
descriptionZh: "簡單圓餅圖",
|
@@ -534,7 +717,7 @@ const o = {
|
|
534
717
|
}
|
535
718
|
},
|
536
719
|
dataFormatter: {
|
537
|
-
sort: (t,
|
720
|
+
sort: (t, a) => a.value - t.value
|
538
721
|
},
|
539
722
|
pluginParams: {
|
540
723
|
SeriesLegend: {
|
@@ -544,7 +727,7 @@ const o = {
|
|
544
727
|
}
|
545
728
|
}
|
546
729
|
};
|
547
|
-
|
730
|
+
B.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
548
731
|
const d = {
|
549
732
|
name: "PRESET_PIE_SUM_SERIES",
|
550
733
|
description: "Pie chart of combined Series data",
|
@@ -582,13 +765,13 @@ const d = {
|
|
582
765
|
}
|
583
766
|
},
|
584
767
|
dataFormatter: {
|
585
|
-
sort: (t,
|
768
|
+
sort: (t, a) => a.value - t.value,
|
586
769
|
sumSeries: !0
|
587
770
|
},
|
588
771
|
pluginParams: {}
|
589
772
|
};
|
590
773
|
d.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
591
|
-
const
|
774
|
+
const E = {
|
592
775
|
name: "PRESET_ROSE_BASIC",
|
593
776
|
description: "Basic Rose chart",
|
594
777
|
descriptionZh: "基本Rose參數",
|
@@ -631,7 +814,7 @@ const n = {
|
|
631
814
|
}
|
632
815
|
},
|
633
816
|
dataFormatter: {
|
634
|
-
sort: (t,
|
817
|
+
sort: (t, a) => a.value - t.value
|
635
818
|
},
|
636
819
|
pluginParams: {
|
637
820
|
SeriesLegend: {
|
@@ -640,8 +823,8 @@ const n = {
|
|
640
823
|
}
|
641
824
|
}
|
642
825
|
};
|
643
|
-
|
644
|
-
const
|
826
|
+
E.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
827
|
+
const C = {
|
645
828
|
name: "PRESET_ROSE_SCALING_BY_RADIUS",
|
646
829
|
description: "Rose chart with radius scaling",
|
647
830
|
descriptionZh: "以半徑尺寸為比例的玫瑰圖",
|
@@ -684,7 +867,7 @@ const B = {
|
|
684
867
|
}
|
685
868
|
},
|
686
869
|
dataFormatter: {
|
687
|
-
sort: (t,
|
870
|
+
sort: (t, a) => a.value - t.value
|
688
871
|
},
|
689
872
|
pluginParams: {
|
690
873
|
Rose: {
|
@@ -699,11 +882,11 @@ const B = {
|
|
699
882
|
}
|
700
883
|
}
|
701
884
|
};
|
702
|
-
|
703
|
-
const
|
704
|
-
name: "
|
705
|
-
description: "Separate rose chart of
|
706
|
-
descriptionZh: "分開顯示
|
885
|
+
C.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
886
|
+
const i = {
|
887
|
+
name: "PRESET_ROSE_SEPARATE_LABEL",
|
888
|
+
description: "Separate rose chart of Label",
|
889
|
+
descriptionZh: "分開顯示Label的玫瑰圖",
|
707
890
|
chartParams: {
|
708
891
|
padding: {
|
709
892
|
top: 40,
|
@@ -743,25 +926,27 @@ const E = {
|
|
743
926
|
}
|
744
927
|
},
|
745
928
|
dataFormatter: {
|
746
|
-
sort: (t,
|
747
|
-
|
929
|
+
sort: (t, a) => a.value - t.value,
|
930
|
+
separateLabel: !0
|
748
931
|
},
|
749
932
|
pluginParams: {
|
750
|
-
|
751
|
-
|
933
|
+
RoseLabels: {
|
934
|
+
labelFn: (t) => t.seriesLabel
|
935
|
+
}
|
752
936
|
}
|
753
937
|
};
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
938
|
+
i.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
939
|
+
i.pluginParams.RoseLabels.labelFn.toString = () => "d => d.seriesLabel";
|
940
|
+
const A = {
|
941
|
+
name: "PRESET_ROSE_SEPARATE_ALL",
|
942
|
+
description: "Separate rose chart of all data",
|
943
|
+
descriptionZh: "全部資料分開顯示的玫瑰圖",
|
759
944
|
chartParams: {
|
760
945
|
padding: {
|
761
|
-
top:
|
762
|
-
right:
|
763
|
-
bottom:
|
764
|
-
left:
|
946
|
+
top: 40,
|
947
|
+
right: 40,
|
948
|
+
bottom: 40,
|
949
|
+
left: 40
|
765
950
|
},
|
766
951
|
colors: {
|
767
952
|
light: {
|
@@ -795,21 +980,17 @@ const C = {
|
|
795
980
|
}
|
796
981
|
},
|
797
982
|
dataFormatter: {
|
798
|
-
sort: (t,
|
983
|
+
sort: (t, a) => a.value - t.value,
|
984
|
+
separateLabel: !0,
|
985
|
+
separateSeries: !0
|
799
986
|
},
|
800
|
-
pluginParams: {
|
801
|
-
SeriesLegend: {
|
802
|
-
listRectRadius: 7,
|
803
|
-
// 圓型圖例列點
|
804
|
-
padding: 7
|
805
|
-
}
|
806
|
-
}
|
987
|
+
pluginParams: {}
|
807
988
|
};
|
808
|
-
|
809
|
-
const
|
810
|
-
name: "
|
811
|
-
description: "
|
812
|
-
descriptionZh: "
|
989
|
+
A.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
990
|
+
const D = {
|
991
|
+
name: "PRESET_ROSE_SEPARATE_SERIES",
|
992
|
+
description: "Separate rose chart of Series",
|
993
|
+
descriptionZh: "分開顯示Series的玫瑰圖",
|
813
994
|
chartParams: {
|
814
995
|
padding: {
|
815
996
|
top: 40,
|
@@ -849,22 +1030,22 @@ const A = {
|
|
849
1030
|
}
|
850
1031
|
},
|
851
1032
|
dataFormatter: {
|
852
|
-
sort: (t,
|
853
|
-
|
1033
|
+
sort: (t, a) => a.value - t.value,
|
1034
|
+
separateSeries: !0
|
854
1035
|
},
|
855
1036
|
pluginParams: {}
|
856
1037
|
};
|
857
|
-
|
858
|
-
const
|
859
|
-
name: "
|
860
|
-
description: "
|
861
|
-
descriptionZh: "
|
1038
|
+
D.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
1039
|
+
const c = {
|
1040
|
+
name: "PRESET_ROSE_SIMPLE",
|
1041
|
+
description: "Simple Rose chart",
|
1042
|
+
descriptionZh: "簡單Rose參數",
|
862
1043
|
chartParams: {
|
863
1044
|
padding: {
|
864
|
-
top:
|
865
|
-
right:
|
866
|
-
bottom:
|
867
|
-
left:
|
1045
|
+
top: 20,
|
1046
|
+
right: 20,
|
1047
|
+
bottom: 20,
|
1048
|
+
left: 20
|
868
1049
|
},
|
869
1050
|
colors: {
|
870
1051
|
light: {
|
@@ -898,17 +1079,117 @@ const D = {
|
|
898
1079
|
}
|
899
1080
|
},
|
900
1081
|
dataFormatter: {
|
901
|
-
sort: (t,
|
902
|
-
separateSeries: !0,
|
903
|
-
sumSeries: !0
|
1082
|
+
sort: (t, a) => a.value - t.value
|
904
1083
|
},
|
905
1084
|
pluginParams: {
|
906
|
-
|
907
|
-
|
1085
|
+
SeriesLegend: {
|
1086
|
+
listRectRadius: 7,
|
1087
|
+
// 圓型圖例列點
|
1088
|
+
padding: 7
|
1089
|
+
}
|
908
1090
|
}
|
909
1091
|
};
|
910
|
-
|
911
|
-
const
|
1092
|
+
c.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
1093
|
+
const g = {
|
1094
|
+
name: "PRESET_ROSE_SUM_SERIES",
|
1095
|
+
description: "Rose chart of combined Series data",
|
1096
|
+
descriptionZh: "合併Series資料的玫瑰圖",
|
1097
|
+
chartParams: {
|
1098
|
+
padding: {
|
1099
|
+
top: 40,
|
1100
|
+
right: 40,
|
1101
|
+
bottom: 40,
|
1102
|
+
left: 40
|
1103
|
+
},
|
1104
|
+
colors: {
|
1105
|
+
light: {
|
1106
|
+
label: [
|
1107
|
+
"#4BABFF",
|
1108
|
+
"#0088FF",
|
1109
|
+
"#435399",
|
1110
|
+
"#86DC72",
|
1111
|
+
"#42C724",
|
1112
|
+
"#16B59B",
|
1113
|
+
"#F9B052",
|
1114
|
+
"#F4721B",
|
1115
|
+
"#FF3232",
|
1116
|
+
"#7E7D7D"
|
1117
|
+
]
|
1118
|
+
},
|
1119
|
+
dark: {
|
1120
|
+
label: [
|
1121
|
+
"#8BC8FF",
|
1122
|
+
"#4BABFF",
|
1123
|
+
"#0088FF",
|
1124
|
+
"#55D339",
|
1125
|
+
"#29AB0C",
|
1126
|
+
"#16B59B",
|
1127
|
+
"#FCDCAD",
|
1128
|
+
"#F9B052",
|
1129
|
+
"#FF6C6C",
|
1130
|
+
"#C4C4C4"
|
1131
|
+
]
|
1132
|
+
}
|
1133
|
+
}
|
1134
|
+
},
|
1135
|
+
dataFormatter: {
|
1136
|
+
sort: (t, a) => a.value - t.value,
|
1137
|
+
sumSeries: !0
|
1138
|
+
},
|
1139
|
+
pluginParams: {}
|
1140
|
+
};
|
1141
|
+
g.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
1142
|
+
const p = {
|
1143
|
+
name: "PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES",
|
1144
|
+
description: "Separate and sum Series data",
|
1145
|
+
descriptionZh: "分開顯示Series並合併Series資料",
|
1146
|
+
chartParams: {
|
1147
|
+
padding: {
|
1148
|
+
top: 40,
|
1149
|
+
right: 40,
|
1150
|
+
bottom: 40,
|
1151
|
+
left: 40
|
1152
|
+
},
|
1153
|
+
colors: {
|
1154
|
+
light: {
|
1155
|
+
label: [
|
1156
|
+
"#4BABFF",
|
1157
|
+
"#0088FF",
|
1158
|
+
"#435399",
|
1159
|
+
"#86DC72",
|
1160
|
+
"#42C724",
|
1161
|
+
"#16B59B",
|
1162
|
+
"#F9B052",
|
1163
|
+
"#F4721B",
|
1164
|
+
"#FF3232",
|
1165
|
+
"#7E7D7D"
|
1166
|
+
]
|
1167
|
+
},
|
1168
|
+
dark: {
|
1169
|
+
label: [
|
1170
|
+
"#8BC8FF",
|
1171
|
+
"#4BABFF",
|
1172
|
+
"#0088FF",
|
1173
|
+
"#55D339",
|
1174
|
+
"#29AB0C",
|
1175
|
+
"#16B59B",
|
1176
|
+
"#FCDCAD",
|
1177
|
+
"#F9B052",
|
1178
|
+
"#FF6C6C",
|
1179
|
+
"#C4C4C4"
|
1180
|
+
]
|
1181
|
+
}
|
1182
|
+
}
|
1183
|
+
},
|
1184
|
+
dataFormatter: {
|
1185
|
+
sort: (t, a) => a.value - t.value,
|
1186
|
+
separateSeries: !0,
|
1187
|
+
sumSeries: !0
|
1188
|
+
},
|
1189
|
+
pluginParams: {}
|
1190
|
+
};
|
1191
|
+
p.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
1192
|
+
const L = {
|
912
1193
|
name: "PRESET_SERIES_BASIC",
|
913
1194
|
description: "Basic Series parameters",
|
914
1195
|
descriptionZh: "基本Series參數",
|
@@ -950,7 +1231,7 @@ const m = {
|
|
950
1231
|
// 圓型圖例列點
|
951
1232
|
}
|
952
1233
|
}
|
953
|
-
},
|
1234
|
+
}, S = {
|
954
1235
|
name: "PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES",
|
955
1236
|
description: "Separate and sum Series data",
|
956
1237
|
descriptionZh: "分開顯示Series並合併Series資料",
|
@@ -987,14 +1268,14 @@ const m = {
|
|
987
1268
|
}
|
988
1269
|
},
|
989
1270
|
dataFormatter: {
|
990
|
-
sort: (t,
|
1271
|
+
sort: (t, a) => a.value - t.value,
|
991
1272
|
separateSeries: !0,
|
992
1273
|
sumSeries: !0
|
993
1274
|
},
|
994
1275
|
pluginParams: {}
|
995
1276
|
};
|
996
|
-
|
997
|
-
const
|
1277
|
+
S.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
1278
|
+
const u = {
|
998
1279
|
name: "PRESET_SERIES_SEPARATE_SERIES",
|
999
1280
|
description: "Separate Series",
|
1000
1281
|
descriptionZh: "分開顯示Series",
|
@@ -1031,13 +1312,13 @@ const g = {
|
|
1031
1312
|
}
|
1032
1313
|
},
|
1033
1314
|
dataFormatter: {
|
1034
|
-
sort: (t,
|
1315
|
+
sort: (t, a) => a.value - t.value,
|
1035
1316
|
separateSeries: !0
|
1036
1317
|
},
|
1037
1318
|
pluginParams: {}
|
1038
1319
|
};
|
1039
|
-
|
1040
|
-
const
|
1320
|
+
u.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
1321
|
+
const R = {
|
1041
1322
|
name: "PRESET_SERIES_SUM_SERIES",
|
1042
1323
|
description: "Combine Series data",
|
1043
1324
|
descriptionZh: "合併Series資料",
|
@@ -1074,13 +1355,13 @@ const p = {
|
|
1074
1355
|
}
|
1075
1356
|
},
|
1076
1357
|
dataFormatter: {
|
1077
|
-
sort: (t,
|
1358
|
+
sort: (t, a) => a.value - t.value,
|
1078
1359
|
sumSeries: !0
|
1079
1360
|
},
|
1080
1361
|
pluginParams: {}
|
1081
1362
|
};
|
1082
|
-
|
1083
|
-
const
|
1363
|
+
R.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
1364
|
+
const I = {
|
1084
1365
|
name: "PRESET_BARS_HORIZONTAL_AND_ROUND",
|
1085
1366
|
description: "Horizontal bars with round corners",
|
1086
1367
|
descriptionZh: "橫向圓角長條圖",
|
@@ -1146,7 +1427,7 @@ const h = {
|
|
1146
1427
|
listRectRadius: 7
|
1147
1428
|
}
|
1148
1429
|
}
|
1149
|
-
},
|
1430
|
+
}, M = {
|
1150
1431
|
name: "PRESET_BARS_HORIZONTAL_AND_THIN",
|
1151
1432
|
description: "Horizontal thin bars",
|
1152
1433
|
descriptionZh: "橫向細長長條圖",
|
@@ -1197,7 +1478,6 @@ const h = {
|
|
1197
1478
|
}
|
1198
1479
|
},
|
1199
1480
|
pluginParams: {
|
1200
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1201
1481
|
Bars: {
|
1202
1482
|
barWidth: 20,
|
1203
1483
|
barPadding: 1,
|
@@ -1213,7 +1493,7 @@ const h = {
|
|
1213
1493
|
padding: 14
|
1214
1494
|
}
|
1215
1495
|
}
|
1216
|
-
},
|
1496
|
+
}, G = {
|
1217
1497
|
name: "PRESET_BARS_ROUND",
|
1218
1498
|
description: "Rounded bars",
|
1219
1499
|
descriptionZh: "圓角長條圖",
|
@@ -1256,7 +1536,6 @@ const h = {
|
|
1256
1536
|
}
|
1257
1537
|
},
|
1258
1538
|
pluginParams: {
|
1259
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1260
1539
|
Bars: {
|
1261
1540
|
barWidth: 0,
|
1262
1541
|
barPadding: 1,
|
@@ -1275,7 +1554,7 @@ const h = {
|
|
1275
1554
|
listRectRadius: 7
|
1276
1555
|
}
|
1277
1556
|
}
|
1278
|
-
},
|
1557
|
+
}, x = {
|
1279
1558
|
name: "PRESET_BARS_THIN",
|
1280
1559
|
description: "Thin bars",
|
1281
1560
|
descriptionZh: "細長條圖",
|
@@ -1318,7 +1597,6 @@ const h = {
|
|
1318
1597
|
}
|
1319
1598
|
},
|
1320
1599
|
pluginParams: {
|
1321
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1322
1600
|
Bars: {
|
1323
1601
|
barWidth: 20,
|
1324
1602
|
barPadding: 1,
|
@@ -1334,7 +1612,7 @@ const h = {
|
|
1334
1612
|
padding: 14
|
1335
1613
|
}
|
1336
1614
|
}
|
1337
|
-
},
|
1615
|
+
}, O = {
|
1338
1616
|
name: "PRESET_GRID_BASIC",
|
1339
1617
|
description: "Basic Grid",
|
1340
1618
|
descriptionZh: "基本Grid",
|
@@ -1377,16 +1655,12 @@ const h = {
|
|
1377
1655
|
}
|
1378
1656
|
},
|
1379
1657
|
pluginParams: {
|
1380
|
-
// ...ALL_PLUGIN_PARAMS_GRID,
|
1381
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1382
1658
|
GridLegend: {
|
1383
|
-
// position: 'bottom',
|
1384
|
-
// justify: 'center',
|
1385
1659
|
placement: "bottom",
|
1386
1660
|
padding: 14
|
1387
1661
|
}
|
1388
1662
|
}
|
1389
|
-
},
|
1663
|
+
}, k = {
|
1390
1664
|
name: "PRESET_GRID_HORIZONTAL",
|
1391
1665
|
description: "Horizontal Grid",
|
1392
1666
|
descriptionZh: "橫向圖",
|
@@ -1430,32 +1704,20 @@ const h = {
|
|
1430
1704
|
}
|
1431
1705
|
},
|
1432
1706
|
dataFormatter: {
|
1433
|
-
// grid: {
|
1434
1707
|
valueAxis: {
|
1435
1708
|
position: "bottom"
|
1436
|
-
// position: 'top'
|
1437
|
-
// position: 'left'
|
1438
|
-
// position: 'right'
|
1439
1709
|
},
|
1440
1710
|
groupAxis: {
|
1441
1711
|
position: "left"
|
1442
|
-
// position: 'right'
|
1443
|
-
// position: 'bottom'
|
1444
|
-
// position: 'top'
|
1445
1712
|
}
|
1446
|
-
// }
|
1447
1713
|
},
|
1448
1714
|
pluginParams: {
|
1449
|
-
// ...ALL_PLUGIN_PARAMS_GRID,
|
1450
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1451
1715
|
GridLegend: {
|
1452
|
-
// position: 'bottom',
|
1453
|
-
// justify: 'center',
|
1454
1716
|
placement: "bottom",
|
1455
1717
|
padding: 14
|
1456
1718
|
}
|
1457
1719
|
}
|
1458
|
-
},
|
1720
|
+
}, N = {
|
1459
1721
|
name: "PRESET_GRID_PN_SCALE_SIMPLE",
|
1460
1722
|
description: "Simple positive negative scale",
|
1461
1723
|
descriptionZh: "簡單正負值分向圖",
|
@@ -1504,16 +1766,12 @@ const h = {
|
|
1504
1766
|
}
|
1505
1767
|
},
|
1506
1768
|
pluginParams: {
|
1507
|
-
// ...ALL_PLUGIN_PARAMS_GRID,
|
1508
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1509
1769
|
GridLegend: {
|
1510
|
-
// position: 'bottom',
|
1511
|
-
// justify: 'center',
|
1512
1770
|
placement: "bottom",
|
1513
1771
|
padding: 7
|
1514
1772
|
}
|
1515
1773
|
}
|
1516
|
-
},
|
1774
|
+
}, v = {
|
1517
1775
|
name: "PRESET_GRID_PN_SCALE",
|
1518
1776
|
description: "Positive negative scale",
|
1519
1777
|
descriptionZh: "正負值分向圖",
|
@@ -1556,24 +1814,18 @@ const h = {
|
|
1556
1814
|
}
|
1557
1815
|
},
|
1558
1816
|
dataFormatter: {
|
1559
|
-
// grid: {
|
1560
1817
|
valueAxis: {
|
1561
1818
|
scaleDomain: ["auto", "auto"],
|
1562
1819
|
scaleRange: [0.05, 0.95]
|
1563
1820
|
}
|
1564
|
-
// }
|
1565
1821
|
},
|
1566
1822
|
pluginParams: {
|
1567
|
-
// ...ALL_PLUGIN_PARAMS_GRID,
|
1568
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1569
1823
|
GridLegend: {
|
1570
|
-
// position: 'bottom',
|
1571
|
-
// justify: 'center',
|
1572
1824
|
placement: "bottom",
|
1573
1825
|
padding: 14
|
1574
1826
|
}
|
1575
1827
|
}
|
1576
|
-
},
|
1828
|
+
}, U = {
|
1577
1829
|
name: "PRESET_GRID_ROTATE_AXIS_LABEL",
|
1578
1830
|
description: "Rotate axis label",
|
1579
1831
|
descriptionZh: "傾斜標籤",
|
@@ -1612,13 +1864,11 @@ const h = {
|
|
1612
1864
|
padding: {
|
1613
1865
|
top: 40,
|
1614
1866
|
right: 40,
|
1615
|
-
bottom:
|
1867
|
+
bottom: 120,
|
1616
1868
|
left: 80
|
1617
1869
|
}
|
1618
1870
|
},
|
1619
1871
|
pluginParams: {
|
1620
|
-
// ...ALL_PLUGIN_PARAMS_GRID,
|
1621
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1622
1872
|
GroupAux: {
|
1623
1873
|
labelRotate: -30
|
1624
1874
|
},
|
@@ -1627,13 +1877,11 @@ const h = {
|
|
1627
1877
|
tickTextRotate: -30
|
1628
1878
|
},
|
1629
1879
|
GridLegend: {
|
1630
|
-
// position: 'bottom',
|
1631
|
-
// justify: 'center',
|
1632
1880
|
placement: "bottom",
|
1633
1881
|
padding: 14
|
1634
1882
|
}
|
1635
1883
|
}
|
1636
|
-
},
|
1884
|
+
}, Z = {
|
1637
1885
|
name: "PRESET_GRID_SEPARATE_SERIES",
|
1638
1886
|
description: "Separate Series",
|
1639
1887
|
descriptionZh: "分開顯示Series",
|
@@ -1671,19 +1919,18 @@ const h = {
|
|
1671
1919
|
padding: {
|
1672
1920
|
top: 40,
|
1673
1921
|
right: 40,
|
1674
|
-
bottom:
|
1922
|
+
bottom: 120,
|
1675
1923
|
left: 80
|
1676
1924
|
}
|
1677
1925
|
},
|
1678
1926
|
dataFormatter: {
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1927
|
+
separateSeries: !0,
|
1928
|
+
container: {
|
1929
|
+
columnGap: 100,
|
1930
|
+
rowGap: 80
|
1931
|
+
}
|
1683
1932
|
},
|
1684
1933
|
pluginParams: {
|
1685
|
-
// ...ALL_PLUGIN_PARAMS_GRID,
|
1686
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1687
1934
|
GroupAux: {
|
1688
1935
|
labelRotate: -30
|
1689
1936
|
},
|
@@ -1692,13 +1939,11 @@ const h = {
|
|
1692
1939
|
tickTextRotate: -30
|
1693
1940
|
},
|
1694
1941
|
GridLegend: {
|
1695
|
-
// position: 'bottom',
|
1696
|
-
// justify: 'center',
|
1697
1942
|
placement: "bottom",
|
1698
1943
|
padding: 14
|
1699
1944
|
}
|
1700
1945
|
}
|
1701
|
-
},
|
1946
|
+
}, f = {
|
1702
1947
|
name: "PRESET_GRID_SIMPLE",
|
1703
1948
|
description: "Simple Grid",
|
1704
1949
|
descriptionZh: "簡單Grid",
|
@@ -1751,7 +1996,7 @@ const h = {
|
|
1751
1996
|
padding: 7
|
1752
1997
|
}
|
1753
1998
|
}
|
1754
|
-
},
|
1999
|
+
}, V = {
|
1755
2000
|
name: "PRESET_LINE_AREAS_BASIC",
|
1756
2001
|
description: "Basic LineArea",
|
1757
2002
|
descriptionZh: "基本折線區域圖",
|
@@ -1788,10 +2033,10 @@ const h = {
|
|
1788
2033
|
},
|
1789
2034
|
padding: {
|
1790
2035
|
top: 40,
|
1791
|
-
right:
|
2036
|
+
right: 60,
|
1792
2037
|
// lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
|
1793
2038
|
bottom: 100,
|
1794
|
-
left:
|
2039
|
+
left: 60
|
1795
2040
|
},
|
1796
2041
|
highlightTarget: "series"
|
1797
2042
|
},
|
@@ -1813,7 +2058,7 @@ const h = {
|
|
1813
2058
|
listRectHeight: 2
|
1814
2059
|
}
|
1815
2060
|
}
|
1816
|
-
},
|
2061
|
+
}, H = {
|
1817
2062
|
name: "PRESET_LINE_AREAS_CURVE",
|
1818
2063
|
description: "Curve LineArea",
|
1819
2064
|
descriptionZh: "弧線的折線區域圖",
|
@@ -1850,22 +2095,19 @@ const h = {
|
|
1850
2095
|
},
|
1851
2096
|
padding: {
|
1852
2097
|
top: 40,
|
1853
|
-
right:
|
2098
|
+
right: 60,
|
1854
2099
|
// lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
|
1855
2100
|
bottom: 100,
|
1856
|
-
left:
|
2101
|
+
left: 60
|
1857
2102
|
},
|
1858
2103
|
highlightTarget: "series"
|
1859
2104
|
},
|
1860
2105
|
dataFormatter: {
|
1861
|
-
// grid: {
|
1862
2106
|
groupAxis: {
|
1863
2107
|
scalePadding: 0
|
1864
2108
|
}
|
1865
|
-
// }
|
1866
2109
|
},
|
1867
2110
|
pluginParams: {
|
1868
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
1869
2111
|
Lines: {
|
1870
2112
|
lineCurve: "curveMonotoneX",
|
1871
2113
|
lineWidth: 3
|
@@ -1878,14 +2120,12 @@ const h = {
|
|
1878
2120
|
ValueAxis: {},
|
1879
2121
|
GroupAux: {},
|
1880
2122
|
GridLegend: {
|
1881
|
-
// position: 'bottom',
|
1882
|
-
// justify: 'center',
|
1883
2123
|
placement: "bottom",
|
1884
2124
|
padding: 14,
|
1885
2125
|
listRectHeight: 2
|
1886
2126
|
}
|
1887
2127
|
}
|
1888
|
-
},
|
2128
|
+
}, w = {
|
1889
2129
|
name: "PRESET_LINE_AREAS_HORIZONTAL",
|
1890
2130
|
description: "Horizontal LineArea",
|
1891
2131
|
descriptionZh: "橫向折線區域圖",
|
@@ -1950,7 +2190,7 @@ const h = {
|
|
1950
2190
|
listRectHeight: 2
|
1951
2191
|
}
|
1952
2192
|
}
|
1953
|
-
},
|
2193
|
+
}, y = {
|
1954
2194
|
name: "PRESET_LINE_AREAS_LOOSE_TICKS",
|
1955
2195
|
description: "Loose Ticks LineArea",
|
1956
2196
|
descriptionZh: "寬鬆標籤的折線區域圖",
|
@@ -1987,10 +2227,10 @@ const h = {
|
|
1987
2227
|
},
|
1988
2228
|
padding: {
|
1989
2229
|
top: 40,
|
1990
|
-
right:
|
2230
|
+
right: 60,
|
1991
2231
|
// lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
|
1992
2232
|
bottom: 100,
|
1993
|
-
left:
|
2233
|
+
left: 60
|
1994
2234
|
},
|
1995
2235
|
highlightTarget: "series"
|
1996
2236
|
},
|
@@ -2014,7 +2254,7 @@ const h = {
|
|
2014
2254
|
listRectHeight: 2
|
2015
2255
|
}
|
2016
2256
|
}
|
2017
|
-
},
|
2257
|
+
}, Y = {
|
2018
2258
|
name: "PRESET_LINE_AREAS_ROTATE_AXIS_LABEL",
|
2019
2259
|
description: "Rotate Axis Label LineArea",
|
2020
2260
|
descriptionZh: "傾斜標籤的折線區域圖",
|
@@ -2052,7 +2292,7 @@ const h = {
|
|
2052
2292
|
padding: {
|
2053
2293
|
top: 40,
|
2054
2294
|
right: 40,
|
2055
|
-
bottom:
|
2295
|
+
bottom: 120,
|
2056
2296
|
left: 80
|
2057
2297
|
},
|
2058
2298
|
highlightTarget: "series"
|
@@ -2080,7 +2320,7 @@ const h = {
|
|
2080
2320
|
listRectHeight: 2
|
2081
2321
|
}
|
2082
2322
|
}
|
2083
|
-
},
|
2323
|
+
}, W = {
|
2084
2324
|
name: "PRESET_LINE_AREAS_SEPARATE_SERIES",
|
2085
2325
|
description: "Separate Series LineArea",
|
2086
2326
|
descriptionZh: "分開顯示Series的折線區域圖",
|
@@ -2118,7 +2358,7 @@ const h = {
|
|
2118
2358
|
padding: {
|
2119
2359
|
top: 40,
|
2120
2360
|
right: 40,
|
2121
|
-
bottom:
|
2361
|
+
bottom: 120,
|
2122
2362
|
left: 80
|
2123
2363
|
},
|
2124
2364
|
highlightTarget: "series"
|
@@ -2127,6 +2367,10 @@ const h = {
|
|
2127
2367
|
separateSeries: !0,
|
2128
2368
|
groupAxis: {
|
2129
2369
|
scalePadding: 0
|
2370
|
+
},
|
2371
|
+
container: {
|
2372
|
+
columnGap: 100,
|
2373
|
+
rowGap: 80
|
2130
2374
|
}
|
2131
2375
|
},
|
2132
2376
|
pluginParams: {
|
@@ -2147,7 +2391,7 @@ const h = {
|
|
2147
2391
|
listRectHeight: 2
|
2148
2392
|
}
|
2149
2393
|
}
|
2150
|
-
},
|
2394
|
+
}, X = {
|
2151
2395
|
name: "PRESET_LINE_AREAS_SIMPLE",
|
2152
2396
|
description: "Simple LineArea",
|
2153
2397
|
descriptionZh: "簡單折線區域圖",
|
@@ -2184,10 +2428,10 @@ const h = {
|
|
2184
2428
|
},
|
2185
2429
|
padding: {
|
2186
2430
|
top: 40,
|
2187
|
-
right:
|
2431
|
+
right: 60,
|
2188
2432
|
// lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
|
2189
2433
|
bottom: 80,
|
2190
|
-
left:
|
2434
|
+
left: 60
|
2191
2435
|
// lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
|
2192
2436
|
},
|
2193
2437
|
highlightTarget: "series"
|
@@ -2213,7 +2457,7 @@ const h = {
|
|
2213
2457
|
listRectHeight: 2
|
2214
2458
|
}
|
2215
2459
|
}
|
2216
|
-
},
|
2460
|
+
}, z = {
|
2217
2461
|
name: "PRESET_LINES_BASIC",
|
2218
2462
|
description: "Basic Line",
|
2219
2463
|
descriptionZh: "基本折線圖",
|
@@ -2268,7 +2512,7 @@ const h = {
|
|
2268
2512
|
listRectHeight: 2
|
2269
2513
|
}
|
2270
2514
|
}
|
2271
|
-
},
|
2515
|
+
}, K = {
|
2272
2516
|
name: "PRESET_LINES_CURVE",
|
2273
2517
|
description: "Curve Line",
|
2274
2518
|
descriptionZh: "弧線折線圖",
|
@@ -2326,7 +2570,7 @@ const h = {
|
|
2326
2570
|
listRectHeight: 2
|
2327
2571
|
}
|
2328
2572
|
}
|
2329
|
-
},
|
2573
|
+
}, j = {
|
2330
2574
|
name: "PRESET_LINES_HORIZONTAL",
|
2331
2575
|
description: "Horizontal Line",
|
2332
2576
|
descriptionZh: "橫向折線圖",
|
@@ -2389,7 +2633,7 @@ const h = {
|
|
2389
2633
|
listRectHeight: 2
|
2390
2634
|
}
|
2391
2635
|
}
|
2392
|
-
},
|
2636
|
+
}, q = {
|
2393
2637
|
name: "PRESET_LINES_LOOSE_TICKS",
|
2394
2638
|
description: "Loose Ticks Line",
|
2395
2639
|
descriptionZh: "寬鬆標籤的折線圖",
|
@@ -2446,7 +2690,7 @@ const h = {
|
|
2446
2690
|
listRectHeight: 2
|
2447
2691
|
}
|
2448
2692
|
}
|
2449
|
-
},
|
2693
|
+
}, J = {
|
2450
2694
|
name: "PRESET_LINES_ROTATE_AXIS_LABEL",
|
2451
2695
|
description: "Line chart with slanted labels",
|
2452
2696
|
descriptionZh: "傾斜標籤的折線圖",
|
@@ -2484,7 +2728,7 @@ const h = {
|
|
2484
2728
|
padding: {
|
2485
2729
|
top: 40,
|
2486
2730
|
right: 40,
|
2487
|
-
bottom:
|
2731
|
+
bottom: 120,
|
2488
2732
|
left: 80
|
2489
2733
|
},
|
2490
2734
|
highlightTarget: "series"
|
@@ -2506,7 +2750,7 @@ const h = {
|
|
2506
2750
|
listRectHeight: 2
|
2507
2751
|
}
|
2508
2752
|
}
|
2509
|
-
},
|
2753
|
+
}, Q = {
|
2510
2754
|
name: "PRESET_LINES_SIMPLE",
|
2511
2755
|
description: "Simple line",
|
2512
2756
|
descriptionZh: "簡單折線圖",
|
@@ -2566,7 +2810,7 @@ const h = {
|
|
2566
2810
|
listRectHeight: 2
|
2567
2811
|
}
|
2568
2812
|
}
|
2569
|
-
},
|
2813
|
+
}, $ = {
|
2570
2814
|
name: "PRESET_LINES_WITH_SOLID_DOTS",
|
2571
2815
|
description: "Solid Dots Line",
|
2572
2816
|
descriptionZh: "實心圓點的折線圖",
|
@@ -2625,7 +2869,7 @@ const h = {
|
|
2625
2869
|
listRectHeight: 2
|
2626
2870
|
}
|
2627
2871
|
}
|
2628
|
-
},
|
2872
|
+
}, tt = {
|
2629
2873
|
name: "PRESET_MULTI_GRID_BASIC",
|
2630
2874
|
description: "Basic MultiGrid",
|
2631
2875
|
descriptionZh: "基本MultiGrid",
|
@@ -2680,7 +2924,7 @@ const h = {
|
|
2680
2924
|
]
|
2681
2925
|
}
|
2682
2926
|
}
|
2683
|
-
},
|
2927
|
+
}, at = {
|
2684
2928
|
name: "PRESET_MULTI_GRID_DIVERGING_SIMPLE",
|
2685
2929
|
description: "Simple diverging Grid",
|
2686
2930
|
descriptionZh: "簡單雙向Grid",
|
@@ -2747,7 +2991,7 @@ const h = {
|
|
2747
2991
|
],
|
2748
2992
|
// 設定排版方式
|
2749
2993
|
container: {
|
2750
|
-
|
2994
|
+
columnGap: 140,
|
2751
2995
|
rowAmount: 1,
|
2752
2996
|
columnAmount: 2
|
2753
2997
|
},
|
@@ -2789,7 +3033,7 @@ const h = {
|
|
2789
3033
|
padding: 7
|
2790
3034
|
}
|
2791
3035
|
}
|
2792
|
-
},
|
3036
|
+
}, et = {
|
2793
3037
|
name: "PRESET_MULTI_GRID_DIVERGING",
|
2794
3038
|
description: "Diverging Grid",
|
2795
3039
|
descriptionZh: "雙向Grid",
|
@@ -2854,7 +3098,7 @@ const h = {
|
|
2854
3098
|
],
|
2855
3099
|
// 設定排版方式
|
2856
3100
|
container: {
|
2857
|
-
|
3101
|
+
columnGap: 160,
|
2858
3102
|
rowAmount: 1,
|
2859
3103
|
columnAmount: 2
|
2860
3104
|
},
|
@@ -2895,7 +3139,7 @@ const h = {
|
|
2895
3139
|
padding: 14
|
2896
3140
|
}
|
2897
3141
|
}
|
2898
|
-
},
|
3142
|
+
}, it = {
|
2899
3143
|
name: "PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE",
|
2900
3144
|
description: "Simple MultiGrid with round style",
|
2901
3145
|
descriptionZh: "簡單MultiGrid圓弧風格",
|
@@ -2946,7 +3190,11 @@ const h = {
|
|
2946
3190
|
scaleRange: [0, 0.95]
|
2947
3191
|
}
|
2948
3192
|
}
|
2949
|
-
]
|
3193
|
+
],
|
3194
|
+
container: {
|
3195
|
+
columnGap: 40,
|
3196
|
+
rowGap: 60
|
3197
|
+
}
|
2950
3198
|
},
|
2951
3199
|
pluginParams: {
|
2952
3200
|
MultiBars: {
|
@@ -2980,7 +3228,7 @@ const h = {
|
|
2980
3228
|
OverlappingValueAxes: {},
|
2981
3229
|
OverlappingStackedValueAxes: {}
|
2982
3230
|
}
|
2983
|
-
},
|
3231
|
+
}, Ft = {
|
2984
3232
|
name: "PRESET_MULTI_GRID_ROUND_STYLE",
|
2985
3233
|
description: "MultiGrid with round style",
|
2986
3234
|
descriptionZh: "MultiGrid圓弧風格",
|
@@ -3055,7 +3303,7 @@ const h = {
|
|
3055
3303
|
OverlappingValueAxes: {},
|
3056
3304
|
OverlappingStackedValueAxes: {}
|
3057
3305
|
}
|
3058
|
-
},
|
3306
|
+
}, rt = {
|
3059
3307
|
name: "PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE",
|
3060
3308
|
description: "Simple separate grid",
|
3061
3309
|
descriptionZh: "簡單的分開顯示Grid圖表",
|
@@ -3108,7 +3356,8 @@ const h = {
|
|
3108
3356
|
],
|
3109
3357
|
separateGrid: !0,
|
3110
3358
|
container: {
|
3111
|
-
|
3359
|
+
columnGap: 40,
|
3360
|
+
rowGap: 60
|
3112
3361
|
}
|
3113
3362
|
},
|
3114
3363
|
pluginParams: {
|
@@ -3145,7 +3394,7 @@ const h = {
|
|
3145
3394
|
padding: 7
|
3146
3395
|
}
|
3147
3396
|
}
|
3148
|
-
},
|
3397
|
+
}, lt = {
|
3149
3398
|
name: "PRESET_MULTI_GRID_SEPARATE_GRID",
|
3150
3399
|
description: "Separate Grid",
|
3151
3400
|
descriptionZh: "分開顯示Grid圖表",
|
@@ -3183,12 +3432,16 @@ const h = {
|
|
3183
3432
|
padding: {
|
3184
3433
|
top: 40,
|
3185
3434
|
right: 40,
|
3186
|
-
bottom:
|
3435
|
+
bottom: 120,
|
3187
3436
|
left: 80
|
3188
3437
|
}
|
3189
3438
|
},
|
3190
3439
|
dataFormatter: {
|
3191
|
-
separateGrid: !0
|
3440
|
+
separateGrid: !0,
|
3441
|
+
container: {
|
3442
|
+
columnGap: 100,
|
3443
|
+
rowGap: 80
|
3444
|
+
}
|
3192
3445
|
},
|
3193
3446
|
pluginParams: {
|
3194
3447
|
MultiGroupAxis: {
|
@@ -3224,7 +3477,7 @@ const h = {
|
|
3224
3477
|
padding: 14
|
3225
3478
|
}
|
3226
3479
|
}
|
3227
|
-
},
|
3480
|
+
}, st = {
|
3228
3481
|
name: "PRESET_MULTI_GRID_SIMPLE",
|
3229
3482
|
description: "Simple MultiGrid",
|
3230
3483
|
descriptionZh: "簡單MultiGrid",
|
@@ -3289,7 +3542,7 @@ const h = {
|
|
3289
3542
|
]
|
3290
3543
|
}
|
3291
3544
|
}
|
3292
|
-
},
|
3545
|
+
}, ot = {
|
3293
3546
|
name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE",
|
3294
3547
|
description: "Simple separate grid line areas",
|
3295
3548
|
descriptionZh: "簡單的分開顯示Grid的折線區域圖",
|
@@ -3326,10 +3579,10 @@ const h = {
|
|
3326
3579
|
},
|
3327
3580
|
padding: {
|
3328
3581
|
top: 40,
|
3329
|
-
right:
|
3582
|
+
right: 60,
|
3330
3583
|
// lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
|
3331
3584
|
bottom: 80,
|
3332
|
-
left:
|
3585
|
+
left: 60
|
3333
3586
|
// lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
|
3334
3587
|
}
|
3335
3588
|
},
|
@@ -3347,7 +3600,8 @@ const h = {
|
|
3347
3600
|
],
|
3348
3601
|
separateGrid: !0,
|
3349
3602
|
container: {
|
3350
|
-
|
3603
|
+
columnGap: 60,
|
3604
|
+
rowGap: 60
|
3351
3605
|
}
|
3352
3606
|
},
|
3353
3607
|
pluginParams: {
|
@@ -3410,7 +3664,7 @@ const h = {
|
|
3410
3664
|
]
|
3411
3665
|
}
|
3412
3666
|
}
|
3413
|
-
},
|
3667
|
+
}, nt = {
|
3414
3668
|
name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID",
|
3415
3669
|
description: "Separate Grid line areas",
|
3416
3670
|
descriptionZh: "分開顯示Grid的折線區域圖",
|
@@ -3448,7 +3702,7 @@ const h = {
|
|
3448
3702
|
padding: {
|
3449
3703
|
top: 40,
|
3450
3704
|
right: 40,
|
3451
|
-
bottom:
|
3705
|
+
bottom: 120,
|
3452
3706
|
left: 80
|
3453
3707
|
}
|
3454
3708
|
},
|
@@ -3467,11 +3721,11 @@ const h = {
|
|
3467
3721
|
}
|
3468
3722
|
}
|
3469
3723
|
],
|
3470
|
-
separateGrid: !0
|
3471
|
-
|
3472
|
-
|
3473
|
-
|
3474
|
-
|
3724
|
+
separateGrid: !0,
|
3725
|
+
container: {
|
3726
|
+
columnGap: 100,
|
3727
|
+
rowGap: 80
|
3728
|
+
}
|
3475
3729
|
},
|
3476
3730
|
pluginParams: {
|
3477
3731
|
MultiGroupAxis: {
|
@@ -3535,7 +3789,7 @@ const h = {
|
|
3535
3789
|
]
|
3536
3790
|
}
|
3537
3791
|
}
|
3538
|
-
},
|
3792
|
+
}, Bt = {
|
3539
3793
|
name: "PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE",
|
3540
3794
|
description: "Simple separate grid line",
|
3541
3795
|
descriptionZh: "簡單的分開顯示Grid的折線圖",
|
@@ -3588,7 +3842,8 @@ const h = {
|
|
3588
3842
|
],
|
3589
3843
|
separateGrid: !0,
|
3590
3844
|
container: {
|
3591
|
-
|
3845
|
+
columnGap: 40,
|
3846
|
+
rowGap: 60
|
3592
3847
|
}
|
3593
3848
|
},
|
3594
3849
|
pluginParams: {
|
@@ -3651,7 +3906,7 @@ const h = {
|
|
3651
3906
|
]
|
3652
3907
|
}
|
3653
3908
|
}
|
3654
|
-
},
|
3909
|
+
}, dt = {
|
3655
3910
|
name: "PRESET_MULTI_LINES_SEPARATE_GRID",
|
3656
3911
|
description: "Separate Grid line",
|
3657
3912
|
descriptionZh: "分開顯示Grid的折線圖",
|
@@ -3689,12 +3944,16 @@ const h = {
|
|
3689
3944
|
padding: {
|
3690
3945
|
top: 40,
|
3691
3946
|
right: 40,
|
3692
|
-
bottom:
|
3947
|
+
bottom: 120,
|
3693
3948
|
left: 80
|
3694
3949
|
}
|
3695
3950
|
},
|
3696
3951
|
dataFormatter: {
|
3697
|
-
separateGrid: !0
|
3952
|
+
separateGrid: !0,
|
3953
|
+
container: {
|
3954
|
+
columnGap: 100,
|
3955
|
+
rowGap: 80
|
3956
|
+
}
|
3698
3957
|
},
|
3699
3958
|
pluginParams: {
|
3700
3959
|
MultiGroupAxis: {
|
@@ -3730,190 +3989,523 @@ const h = {
|
|
3730
3989
|
// justify: 'center',
|
3731
3990
|
placement: "bottom",
|
3732
3991
|
padding: 14,
|
3733
|
-
gridList: [
|
3734
|
-
{
|
3735
|
-
listRectHeight: 2
|
3736
|
-
},
|
3737
|
-
{
|
3738
|
-
listRectHeight: 2
|
3739
|
-
},
|
3740
|
-
{
|
3741
|
-
listRectHeight: 2
|
3742
|
-
},
|
3743
|
-
{
|
3744
|
-
listRectHeight: 2
|
3745
|
-
},
|
3746
|
-
{
|
3747
|
-
listRectHeight: 2
|
3748
|
-
},
|
3749
|
-
{
|
3750
|
-
listRectHeight: 2
|
3751
|
-
},
|
3752
|
-
{
|
3753
|
-
listRectHeight: 2
|
3754
|
-
},
|
3755
|
-
{
|
3756
|
-
listRectHeight: 2
|
3757
|
-
}
|
3758
|
-
]
|
3992
|
+
gridList: [
|
3993
|
+
{
|
3994
|
+
listRectHeight: 2
|
3995
|
+
},
|
3996
|
+
{
|
3997
|
+
listRectHeight: 2
|
3998
|
+
},
|
3999
|
+
{
|
4000
|
+
listRectHeight: 2
|
4001
|
+
},
|
4002
|
+
{
|
4003
|
+
listRectHeight: 2
|
4004
|
+
},
|
4005
|
+
{
|
4006
|
+
listRectHeight: 2
|
4007
|
+
},
|
4008
|
+
{
|
4009
|
+
listRectHeight: 2
|
4010
|
+
},
|
4011
|
+
{
|
4012
|
+
listRectHeight: 2
|
4013
|
+
},
|
4014
|
+
{
|
4015
|
+
listRectHeight: 2
|
4016
|
+
}
|
4017
|
+
]
|
4018
|
+
}
|
4019
|
+
}
|
4020
|
+
}, Et = {
|
4021
|
+
name: "PRESET_MULTI_VALUE_BASIC",
|
4022
|
+
description: "Basic MultiValue",
|
4023
|
+
descriptionZh: "基本MultiValue參數",
|
4024
|
+
chartParams: {
|
4025
|
+
colors: {
|
4026
|
+
light: {
|
4027
|
+
label: [
|
4028
|
+
"#7DD3C4",
|
4029
|
+
"#FFA0A0",
|
4030
|
+
"#6CBAFF",
|
4031
|
+
"#55D339",
|
4032
|
+
"#F9B052",
|
4033
|
+
"#FF6C6C",
|
4034
|
+
"#8E6BC9",
|
4035
|
+
"#0088FF",
|
4036
|
+
"#904026",
|
4037
|
+
"#C4C4C4"
|
4038
|
+
]
|
4039
|
+
},
|
4040
|
+
dark: {
|
4041
|
+
label: [
|
4042
|
+
"#7DD3C4",
|
4043
|
+
"#FFA0A0",
|
4044
|
+
"#6CBAFF",
|
4045
|
+
"#55D339",
|
4046
|
+
"#F9B052",
|
4047
|
+
"#FF6C6C",
|
4048
|
+
"#8E6BC9",
|
4049
|
+
"#0088FF",
|
4050
|
+
"#904026",
|
4051
|
+
"#C4C4C4"
|
4052
|
+
]
|
4053
|
+
}
|
4054
|
+
},
|
4055
|
+
padding: {
|
4056
|
+
top: 40,
|
4057
|
+
right: 40,
|
4058
|
+
bottom: 100,
|
4059
|
+
left: 80
|
4060
|
+
}
|
4061
|
+
},
|
4062
|
+
pluginParams: {
|
4063
|
+
MultiValueLegend: {
|
4064
|
+
placement: "bottom",
|
4065
|
+
padding: 14
|
4066
|
+
}
|
4067
|
+
}
|
4068
|
+
}, Ct = {
|
4069
|
+
name: "PRESET_MULTI_VALUE_SEPARATE_CATEGORY",
|
4070
|
+
description: "MultiValue separate category",
|
4071
|
+
descriptionZh: "MultiValue 分開顯示category",
|
4072
|
+
chartParams: {
|
4073
|
+
colors: {
|
4074
|
+
light: {
|
4075
|
+
label: [
|
4076
|
+
"#7DD3C4",
|
4077
|
+
"#FFA0A0",
|
4078
|
+
"#6CBAFF",
|
4079
|
+
"#55D339",
|
4080
|
+
"#F9B052",
|
4081
|
+
"#FF6C6C",
|
4082
|
+
"#8E6BC9",
|
4083
|
+
"#0088FF",
|
4084
|
+
"#904026",
|
4085
|
+
"#C4C4C4"
|
4086
|
+
]
|
4087
|
+
},
|
4088
|
+
dark: {
|
4089
|
+
label: [
|
4090
|
+
"#7DD3C4",
|
4091
|
+
"#FFA0A0",
|
4092
|
+
"#6CBAFF",
|
4093
|
+
"#55D339",
|
4094
|
+
"#F9B052",
|
4095
|
+
"#FF6C6C",
|
4096
|
+
"#8E6BC9",
|
4097
|
+
"#0088FF",
|
4098
|
+
"#904026",
|
4099
|
+
"#C4C4C4"
|
4100
|
+
]
|
4101
|
+
}
|
4102
|
+
},
|
4103
|
+
padding: {
|
4104
|
+
top: 40,
|
4105
|
+
right: 40,
|
4106
|
+
bottom: 100,
|
4107
|
+
left: 80
|
4108
|
+
}
|
4109
|
+
},
|
4110
|
+
dataFormatter: {
|
4111
|
+
separateCategory: !0,
|
4112
|
+
container: {
|
4113
|
+
columnGap: 100,
|
4114
|
+
rowGap: 80
|
4115
|
+
}
|
4116
|
+
},
|
4117
|
+
pluginParams: {
|
4118
|
+
XYAxes: {
|
4119
|
+
xAxis: {
|
4120
|
+
ticks: 3
|
4121
|
+
},
|
4122
|
+
yAxis: {
|
4123
|
+
ticks: 3
|
4124
|
+
}
|
4125
|
+
},
|
4126
|
+
MultiValueLegend: {
|
4127
|
+
placement: "bottom",
|
4128
|
+
padding: 14
|
4129
|
+
}
|
4130
|
+
}
|
4131
|
+
}, At = {
|
4132
|
+
name: "PRESET_MULTI_VALUE_SIMPLE",
|
4133
|
+
description: "Simple MultiValue",
|
4134
|
+
descriptionZh: "簡單MultiValue參數",
|
4135
|
+
chartParams: {
|
4136
|
+
colors: {
|
4137
|
+
light: {
|
4138
|
+
label: [
|
4139
|
+
"#7DD3C4",
|
4140
|
+
"#FFA0A0",
|
4141
|
+
"#6CBAFF",
|
4142
|
+
"#55D339",
|
4143
|
+
"#F9B052",
|
4144
|
+
"#FF6C6C",
|
4145
|
+
"#8E6BC9",
|
4146
|
+
"#0088FF",
|
4147
|
+
"#904026",
|
4148
|
+
"#C4C4C4"
|
4149
|
+
]
|
4150
|
+
},
|
4151
|
+
dark: {
|
4152
|
+
label: [
|
4153
|
+
"#7DD3C4",
|
4154
|
+
"#FFA0A0",
|
4155
|
+
"#6CBAFF",
|
4156
|
+
"#55D339",
|
4157
|
+
"#F9B052",
|
4158
|
+
"#FF6C6C",
|
4159
|
+
"#8E6BC9",
|
4160
|
+
"#0088FF",
|
4161
|
+
"#904026",
|
4162
|
+
"#C4C4C4"
|
4163
|
+
]
|
4164
|
+
}
|
4165
|
+
},
|
4166
|
+
padding: {
|
4167
|
+
top: 40,
|
4168
|
+
right: 40,
|
4169
|
+
bottom: 60,
|
4170
|
+
left: 80
|
4171
|
+
}
|
4172
|
+
},
|
4173
|
+
pluginParams: {
|
4174
|
+
MultiValueLegend: {
|
4175
|
+
placement: "bottom",
|
4176
|
+
padding: 7
|
4177
|
+
}
|
4178
|
+
}
|
4179
|
+
}, Dt = {
|
4180
|
+
name: "PRESET_ORDINAL_BUBBLES_ALL_ITEMS",
|
4181
|
+
description: "Ordinal bubbles with all items",
|
4182
|
+
descriptionZh: "顯示全部項目的序數泡泡圖",
|
4183
|
+
chartParams: {
|
4184
|
+
colors: {
|
4185
|
+
light: {
|
4186
|
+
label: [
|
4187
|
+
"#0088FF",
|
4188
|
+
"#FF3232",
|
4189
|
+
"#38BEA8",
|
4190
|
+
"#6F3BD5",
|
4191
|
+
"#314285",
|
4192
|
+
"#42C724",
|
4193
|
+
"#D52580",
|
4194
|
+
"#F4721B",
|
4195
|
+
"#D117EA",
|
4196
|
+
"#7E7D7D"
|
4197
|
+
]
|
4198
|
+
},
|
4199
|
+
dark: {
|
4200
|
+
label: [
|
4201
|
+
"#4BABFF",
|
4202
|
+
"#FF6C6C",
|
4203
|
+
"#7DD3C4",
|
4204
|
+
"#8E6BC9",
|
4205
|
+
"#5366AC",
|
4206
|
+
"#86DC72",
|
4207
|
+
"#FF72BB",
|
4208
|
+
"#F9B052",
|
4209
|
+
"#EF76FF",
|
4210
|
+
"#C4C4C4"
|
4211
|
+
]
|
4212
|
+
}
|
4213
|
+
},
|
4214
|
+
padding: {
|
4215
|
+
top: 60,
|
4216
|
+
right: 40,
|
4217
|
+
bottom: 60,
|
4218
|
+
left: 160
|
4219
|
+
}
|
4220
|
+
},
|
4221
|
+
pluginParams: {
|
4222
|
+
OrdinalBubbles: {
|
4223
|
+
rankingAmount: "auto"
|
4224
|
+
},
|
4225
|
+
MultiValueLegend: {
|
4226
|
+
placement: "bottom",
|
4227
|
+
padding: 14,
|
4228
|
+
listRectRadius: 7
|
4229
|
+
// 圓型圖例列點
|
4230
|
+
}
|
4231
|
+
}
|
4232
|
+
}, ct = {
|
4233
|
+
name: "PRESET_ORDINAL_BUBBLES_BASIC",
|
4234
|
+
description: "Basic ordinal bubbles",
|
4235
|
+
descriptionZh: "序數泡泡圖",
|
4236
|
+
chartParams: {
|
4237
|
+
colors: {
|
4238
|
+
light: {
|
4239
|
+
label: [
|
4240
|
+
"#0088FF",
|
4241
|
+
"#FF3232",
|
4242
|
+
"#38BEA8",
|
4243
|
+
"#6F3BD5",
|
4244
|
+
"#314285",
|
4245
|
+
"#42C724",
|
4246
|
+
"#D52580",
|
4247
|
+
"#F4721B",
|
4248
|
+
"#D117EA",
|
4249
|
+
"#7E7D7D"
|
4250
|
+
]
|
4251
|
+
},
|
4252
|
+
dark: {
|
4253
|
+
label: [
|
4254
|
+
"#4BABFF",
|
4255
|
+
"#FF6C6C",
|
4256
|
+
"#7DD3C4",
|
4257
|
+
"#8E6BC9",
|
4258
|
+
"#5366AC",
|
4259
|
+
"#86DC72",
|
4260
|
+
"#FF72BB",
|
4261
|
+
"#F9B052",
|
4262
|
+
"#EF76FF",
|
4263
|
+
"#C4C4C4"
|
4264
|
+
]
|
4265
|
+
}
|
4266
|
+
},
|
4267
|
+
padding: {
|
4268
|
+
top: 60,
|
4269
|
+
right: 40,
|
4270
|
+
bottom: 60,
|
4271
|
+
left: 160
|
4272
|
+
}
|
4273
|
+
},
|
4274
|
+
pluginParams: {
|
4275
|
+
OrdinalBubbles: {},
|
4276
|
+
MultiValueLegend: {
|
4277
|
+
placement: "bottom",
|
4278
|
+
padding: 14,
|
4279
|
+
listRectRadius: 7
|
4280
|
+
// 圓型圖例列點
|
4281
|
+
}
|
4282
|
+
}
|
4283
|
+
}, gt = {
|
4284
|
+
name: "PRESET_ORDINAL_BUBBLES_LINEAR_OPACITY",
|
4285
|
+
description: "Ordinal bubbles with linear opacity",
|
4286
|
+
descriptionZh: "漸變透明度的序數泡泡圖",
|
4287
|
+
chartParams: {
|
4288
|
+
colors: {
|
4289
|
+
light: {
|
4290
|
+
label: [
|
4291
|
+
"#0088FF",
|
4292
|
+
"#FF3232",
|
4293
|
+
"#38BEA8",
|
4294
|
+
"#6F3BD5",
|
4295
|
+
"#314285",
|
4296
|
+
"#42C724",
|
4297
|
+
"#D52580",
|
4298
|
+
"#F4721B",
|
4299
|
+
"#D117EA",
|
4300
|
+
"#7E7D7D"
|
4301
|
+
]
|
4302
|
+
},
|
4303
|
+
dark: {
|
4304
|
+
label: [
|
4305
|
+
"#4BABFF",
|
4306
|
+
"#FF6C6C",
|
4307
|
+
"#7DD3C4",
|
4308
|
+
"#8E6BC9",
|
4309
|
+
"#5366AC",
|
4310
|
+
"#86DC72",
|
4311
|
+
"#FF72BB",
|
4312
|
+
"#F9B052",
|
4313
|
+
"#EF76FF",
|
4314
|
+
"#C4C4C4"
|
4315
|
+
]
|
4316
|
+
}
|
4317
|
+
},
|
4318
|
+
padding: {
|
4319
|
+
top: 60,
|
4320
|
+
right: 40,
|
4321
|
+
bottom: 60,
|
4322
|
+
left: 160
|
4323
|
+
}
|
4324
|
+
},
|
4325
|
+
pluginParams: {
|
4326
|
+
OrdinalBubbles: {
|
4327
|
+
bubble: {
|
4328
|
+
valueLinearOpacity: [0.5, 1]
|
4329
|
+
}
|
4330
|
+
},
|
4331
|
+
MultiValueLegend: {
|
4332
|
+
placement: "bottom",
|
4333
|
+
padding: 14,
|
4334
|
+
listRectRadius: 7
|
4335
|
+
// 圓型圖例列點
|
3759
4336
|
}
|
3760
4337
|
}
|
3761
|
-
},
|
3762
|
-
name: "
|
3763
|
-
description: "
|
3764
|
-
descriptionZh: "
|
4338
|
+
}, pt = {
|
4339
|
+
name: "PRESET_ORDINAL_BUBBLES_SCALING_BY_RADIUS",
|
4340
|
+
description: "Ordinal bubbles with radius scaling",
|
4341
|
+
descriptionZh: "以半徑尺寸為比例的序數泡泡圖",
|
3765
4342
|
chartParams: {
|
3766
4343
|
colors: {
|
3767
4344
|
light: {
|
3768
4345
|
label: [
|
3769
|
-
"#7DD3C4",
|
3770
|
-
"#FFA0A0",
|
3771
|
-
"#6CBAFF",
|
3772
|
-
"#55D339",
|
3773
|
-
"#F9B052",
|
3774
|
-
"#FF6C6C",
|
3775
|
-
"#8E6BC9",
|
3776
4346
|
"#0088FF",
|
3777
|
-
"#
|
3778
|
-
"#
|
4347
|
+
"#FF3232",
|
4348
|
+
"#38BEA8",
|
4349
|
+
"#6F3BD5",
|
4350
|
+
"#314285",
|
4351
|
+
"#42C724",
|
4352
|
+
"#D52580",
|
4353
|
+
"#F4721B",
|
4354
|
+
"#D117EA",
|
4355
|
+
"#7E7D7D"
|
3779
4356
|
]
|
3780
4357
|
},
|
3781
4358
|
dark: {
|
3782
4359
|
label: [
|
3783
|
-
"#
|
3784
|
-
"#FFA0A0",
|
3785
|
-
"#6CBAFF",
|
3786
|
-
"#55D339",
|
3787
|
-
"#F9B052",
|
4360
|
+
"#4BABFF",
|
3788
4361
|
"#FF6C6C",
|
4362
|
+
"#7DD3C4",
|
3789
4363
|
"#8E6BC9",
|
3790
|
-
"#
|
3791
|
-
"#
|
4364
|
+
"#5366AC",
|
4365
|
+
"#86DC72",
|
4366
|
+
"#FF72BB",
|
4367
|
+
"#F9B052",
|
4368
|
+
"#EF76FF",
|
3792
4369
|
"#C4C4C4"
|
3793
4370
|
]
|
3794
4371
|
}
|
3795
4372
|
},
|
3796
4373
|
padding: {
|
3797
|
-
top:
|
4374
|
+
top: 60,
|
3798
4375
|
right: 40,
|
3799
|
-
bottom:
|
3800
|
-
left:
|
4376
|
+
bottom: 60,
|
4377
|
+
left: 160
|
3801
4378
|
}
|
3802
4379
|
},
|
3803
4380
|
pluginParams: {
|
4381
|
+
OrdinalBubbles: {
|
4382
|
+
bubble: {
|
4383
|
+
arcScaleType: "radius"
|
4384
|
+
}
|
4385
|
+
},
|
3804
4386
|
MultiValueLegend: {
|
3805
4387
|
placement: "bottom",
|
3806
|
-
padding: 14
|
4388
|
+
padding: 14,
|
4389
|
+
listRectRadius: 7
|
4390
|
+
// 圓型圖例列點
|
3807
4391
|
}
|
3808
4392
|
}
|
3809
|
-
},
|
3810
|
-
name: "
|
3811
|
-
description: "
|
3812
|
-
descriptionZh: "
|
4393
|
+
}, St = {
|
4394
|
+
name: "PRESET_ORDINAL_BUBBLES_SEPARATE_CATEGORY",
|
4395
|
+
description: "Ordinal bubbles with separate category",
|
4396
|
+
descriptionZh: "分開顯示category的序數泡泡圖",
|
3813
4397
|
chartParams: {
|
3814
4398
|
colors: {
|
3815
4399
|
light: {
|
3816
4400
|
label: [
|
3817
|
-
"#7DD3C4",
|
3818
|
-
"#FFA0A0",
|
3819
|
-
"#6CBAFF",
|
3820
|
-
"#55D339",
|
3821
|
-
"#F9B052",
|
3822
|
-
"#FF6C6C",
|
3823
|
-
"#8E6BC9",
|
3824
4401
|
"#0088FF",
|
3825
|
-
"#
|
3826
|
-
"#
|
4402
|
+
"#FF3232",
|
4403
|
+
"#38BEA8",
|
4404
|
+
"#6F3BD5",
|
4405
|
+
"#314285",
|
4406
|
+
"#42C724",
|
4407
|
+
"#D52580",
|
4408
|
+
"#F4721B",
|
4409
|
+
"#D117EA",
|
4410
|
+
"#7E7D7D"
|
3827
4411
|
]
|
3828
4412
|
},
|
3829
4413
|
dark: {
|
3830
4414
|
label: [
|
3831
|
-
"#
|
3832
|
-
"#FFA0A0",
|
3833
|
-
"#6CBAFF",
|
3834
|
-
"#55D339",
|
3835
|
-
"#F9B052",
|
4415
|
+
"#4BABFF",
|
3836
4416
|
"#FF6C6C",
|
4417
|
+
"#7DD3C4",
|
3837
4418
|
"#8E6BC9",
|
3838
|
-
"#
|
3839
|
-
"#
|
4419
|
+
"#5366AC",
|
4420
|
+
"#86DC72",
|
4421
|
+
"#FF72BB",
|
4422
|
+
"#F9B052",
|
4423
|
+
"#EF76FF",
|
3840
4424
|
"#C4C4C4"
|
3841
4425
|
]
|
3842
4426
|
}
|
3843
4427
|
},
|
3844
4428
|
padding: {
|
3845
|
-
top:
|
4429
|
+
top: 60,
|
3846
4430
|
right: 40,
|
3847
|
-
bottom:
|
3848
|
-
left:
|
4431
|
+
bottom: 60,
|
4432
|
+
left: 140
|
3849
4433
|
}
|
3850
4434
|
},
|
3851
4435
|
dataFormatter: {
|
3852
|
-
separateCategory: !0
|
4436
|
+
separateCategory: !0,
|
4437
|
+
container: {
|
4438
|
+
columnGap: 140,
|
4439
|
+
rowGap: 60
|
4440
|
+
}
|
3853
4441
|
},
|
3854
4442
|
pluginParams: {
|
3855
|
-
|
3856
|
-
|
3857
|
-
|
3858
|
-
},
|
3859
|
-
yAxis: {
|
3860
|
-
ticks: 3
|
3861
|
-
}
|
4443
|
+
OrdinalBubbles: {},
|
4444
|
+
OrdinalAxis: {
|
4445
|
+
ticks: 2
|
3862
4446
|
},
|
3863
4447
|
MultiValueLegend: {
|
3864
4448
|
placement: "bottom",
|
3865
|
-
padding: 14
|
4449
|
+
padding: 14,
|
4450
|
+
listRectRadius: 7
|
4451
|
+
// 圓型圖例列點
|
3866
4452
|
}
|
3867
4453
|
}
|
3868
|
-
},
|
3869
|
-
name: "
|
3870
|
-
description: "Simple
|
3871
|
-
descriptionZh: "
|
4454
|
+
}, ut = {
|
4455
|
+
name: "PRESET_ORDINAL_BUBBLES_SIMPLE",
|
4456
|
+
description: "Simple ordinal bubbles",
|
4457
|
+
descriptionZh: "簡單的序數泡泡圖",
|
3872
4458
|
chartParams: {
|
3873
4459
|
colors: {
|
3874
4460
|
light: {
|
3875
4461
|
label: [
|
3876
|
-
"#7DD3C4",
|
3877
|
-
"#FFA0A0",
|
3878
|
-
"#6CBAFF",
|
3879
|
-
"#55D339",
|
3880
|
-
"#F9B052",
|
3881
|
-
"#FF6C6C",
|
3882
|
-
"#8E6BC9",
|
3883
4462
|
"#0088FF",
|
3884
|
-
"#
|
3885
|
-
"#
|
4463
|
+
"#FF3232",
|
4464
|
+
"#38BEA8",
|
4465
|
+
"#6F3BD5",
|
4466
|
+
"#314285",
|
4467
|
+
"#42C724",
|
4468
|
+
"#D52580",
|
4469
|
+
"#F4721B",
|
4470
|
+
"#D117EA",
|
4471
|
+
"#7E7D7D"
|
3886
4472
|
]
|
3887
4473
|
},
|
3888
4474
|
dark: {
|
3889
4475
|
label: [
|
3890
|
-
"#
|
3891
|
-
"#FFA0A0",
|
3892
|
-
"#6CBAFF",
|
3893
|
-
"#55D339",
|
3894
|
-
"#F9B052",
|
4476
|
+
"#4BABFF",
|
3895
4477
|
"#FF6C6C",
|
4478
|
+
"#7DD3C4",
|
3896
4479
|
"#8E6BC9",
|
3897
|
-
"#
|
3898
|
-
"#
|
4480
|
+
"#5366AC",
|
4481
|
+
"#86DC72",
|
4482
|
+
"#FF72BB",
|
4483
|
+
"#F9B052",
|
4484
|
+
"#EF76FF",
|
3899
4485
|
"#C4C4C4"
|
3900
4486
|
]
|
3901
4487
|
}
|
3902
4488
|
},
|
3903
4489
|
padding: {
|
3904
|
-
top:
|
4490
|
+
top: 60,
|
3905
4491
|
right: 40,
|
3906
4492
|
bottom: 60,
|
3907
|
-
left:
|
4493
|
+
left: 140
|
3908
4494
|
}
|
3909
4495
|
},
|
3910
4496
|
pluginParams: {
|
4497
|
+
OrdinalBubbles: {},
|
4498
|
+
OrdinalAxis: {
|
4499
|
+
ticks: 2
|
4500
|
+
},
|
3911
4501
|
MultiValueLegend: {
|
3912
4502
|
placement: "bottom",
|
3913
|
-
padding: 7
|
4503
|
+
padding: 7,
|
4504
|
+
listRectRadius: 7
|
4505
|
+
// 圓型圖例列點
|
3914
4506
|
}
|
3915
4507
|
}
|
3916
|
-
},
|
4508
|
+
}, Rt = {
|
3917
4509
|
name: "PRESET_RACING_BARS_ALL_ITEMS",
|
3918
4510
|
description: "Racing bars for all items",
|
3919
4511
|
descriptionZh: "顯示全部項目的賽跑長條圖",
|
@@ -3966,7 +4558,7 @@ const h = {
|
|
3966
4558
|
padding: 14
|
3967
4559
|
}
|
3968
4560
|
}
|
3969
|
-
},
|
4561
|
+
}, _t = {
|
3970
4562
|
name: "PRESET_RACING_BARS_BASIC",
|
3971
4563
|
description: "Basic racing bars",
|
3972
4564
|
descriptionZh: "基本賽跑長條圖",
|
@@ -4018,7 +4610,7 @@ const h = {
|
|
4018
4610
|
padding: 14
|
4019
4611
|
}
|
4020
4612
|
}
|
4021
|
-
},
|
4613
|
+
}, mt = {
|
4022
4614
|
name: "PRESET_RACING_BARS_FAST",
|
4023
4615
|
description: "Fast racing bars",
|
4024
4616
|
descriptionZh: "快速的賽跑長條圖",
|
@@ -4070,7 +4662,7 @@ const h = {
|
|
4070
4662
|
padding: 14
|
4071
4663
|
}
|
4072
4664
|
}
|
4073
|
-
},
|
4665
|
+
}, bt = {
|
4074
4666
|
name: "PRESET_RACING_BARS_FASTER",
|
4075
4667
|
description: "Faster racing bars",
|
4076
4668
|
descriptionZh: "更快速的賽跑長條圖",
|
@@ -4122,7 +4714,7 @@ const h = {
|
|
4122
4714
|
padding: 14
|
4123
4715
|
}
|
4124
4716
|
}
|
4125
|
-
},
|
4717
|
+
}, ht = {
|
4126
4718
|
name: "PRESET_RACING_BARS_LOOP",
|
4127
4719
|
description: "Looping racing bars",
|
4128
4720
|
descriptionZh: "循環的賽跑長條圖",
|
@@ -4175,7 +4767,7 @@ const h = {
|
|
4175
4767
|
padding: 14
|
4176
4768
|
}
|
4177
4769
|
}
|
4178
|
-
},
|
4770
|
+
}, Pt = {
|
4179
4771
|
name: "PRESET_RACING_BARS_OUTSIDE_LABELS",
|
4180
4772
|
description: "Racing bars with labels outside",
|
4181
4773
|
descriptionZh: "標籤在外面的賽跑長條圖",
|
@@ -4231,7 +4823,7 @@ const h = {
|
|
4231
4823
|
padding: 14
|
4232
4824
|
}
|
4233
4825
|
}
|
4234
|
-
},
|
4826
|
+
}, Tt = {
|
4235
4827
|
name: "PRESET_RACING_BARS_SEPARATE_CATEGORY",
|
4236
4828
|
description: "Racing bars with separate category",
|
4237
4829
|
descriptionZh: "分開顯示category的賽跑長條圖",
|
@@ -4277,7 +4869,7 @@ const h = {
|
|
4277
4869
|
dataFormatter: {
|
4278
4870
|
separateCategory: !0,
|
4279
4871
|
container: {
|
4280
|
-
|
4872
|
+
rowGap: 60
|
4281
4873
|
}
|
4282
4874
|
},
|
4283
4875
|
pluginParams: {
|
@@ -4300,7 +4892,7 @@ const h = {
|
|
4300
4892
|
padding: 14
|
4301
4893
|
}
|
4302
4894
|
}
|
4303
|
-
},
|
4895
|
+
}, Lt = {
|
4304
4896
|
name: "PRESET_RACING_BARS_SIMPLE",
|
4305
4897
|
description: "Simple racing bars",
|
4306
4898
|
descriptionZh: "簡單賽跑長條圖",
|
@@ -4352,7 +4944,7 @@ const h = {
|
|
4352
4944
|
padding: 7
|
4353
4945
|
}
|
4354
4946
|
}
|
4355
|
-
},
|
4947
|
+
}, It = {
|
4356
4948
|
name: "PRESET_RACING_BARS_STOP",
|
4357
4949
|
description: "Stopped racing bars",
|
4358
4950
|
descriptionZh: "停止的賽跑長條圖",
|
@@ -4403,7 +4995,7 @@ const h = {
|
|
4403
4995
|
padding: 14
|
4404
4996
|
}
|
4405
4997
|
}
|
4406
|
-
},
|
4998
|
+
}, Mt = {
|
4407
4999
|
name: "PRESET_SCATTER_BASIC",
|
4408
5000
|
description: "Basic scatter",
|
4409
5001
|
descriptionZh: "基本散布圖",
|
@@ -4453,7 +5045,7 @@ const h = {
|
|
4453
5045
|
// 圓型圖例列點
|
4454
5046
|
}
|
4455
5047
|
}
|
4456
|
-
},
|
5048
|
+
}, Gt = {
|
4457
5049
|
name: "PRESET_SCATTER_BUBBLES_BASIC",
|
4458
5050
|
description: "Basic scatter bubbles",
|
4459
5051
|
descriptionZh: "基本的散布泡泡圖",
|
@@ -4503,7 +5095,7 @@ const h = {
|
|
4503
5095
|
// 圓型圖例列點
|
4504
5096
|
}
|
4505
5097
|
}
|
4506
|
-
},
|
5098
|
+
}, xt = {
|
4507
5099
|
name: "PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS",
|
4508
5100
|
description: "Scatter bubbles with radius scaling",
|
4509
5101
|
descriptionZh: "以半徑尺寸為比例的散布泡泡圖",
|
@@ -4556,7 +5148,7 @@ const h = {
|
|
4556
5148
|
arcScaleType: "radius"
|
4557
5149
|
}
|
4558
5150
|
}
|
4559
|
-
},
|
5151
|
+
}, Ot = {
|
4560
5152
|
name: "PRESET_SCATTER_BUBBLES_LINEAR_OPACITY",
|
4561
5153
|
description: "Scatter bubbles with linear opacity",
|
4562
5154
|
descriptionZh: "以資料量漸變透明度的散布泡泡圖",
|
@@ -4609,7 +5201,7 @@ const h = {
|
|
4609
5201
|
valueLinearOpacity: [0.5, 1]
|
4610
5202
|
}
|
4611
5203
|
}
|
4612
|
-
},
|
5204
|
+
}, kt = {
|
4613
5205
|
name: "PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY",
|
4614
5206
|
description: "Scatter bubbles with separate category",
|
4615
5207
|
descriptionZh: "分開顯示category的散布泡泡圖",
|
@@ -4652,7 +5244,11 @@ const h = {
|
|
4652
5244
|
}
|
4653
5245
|
},
|
4654
5246
|
dataFormatter: {
|
4655
|
-
separateCategory: !0
|
5247
|
+
separateCategory: !0,
|
5248
|
+
container: {
|
5249
|
+
columnGap: 100,
|
5250
|
+
rowGap: 70
|
5251
|
+
}
|
4656
5252
|
},
|
4657
5253
|
pluginParams: {
|
4658
5254
|
MultiValueLegend: {
|
@@ -4662,7 +5258,7 @@ const h = {
|
|
4662
5258
|
// 圓型圖例列點
|
4663
5259
|
}
|
4664
5260
|
}
|
4665
|
-
},
|
5261
|
+
}, Nt = {
|
4666
5262
|
name: "PRESET_SCATTER_BUBBLES_SIMPLE",
|
4667
5263
|
description: "Simple scatter bubbles",
|
4668
5264
|
descriptionZh: "簡單的散布泡泡圖",
|
@@ -4712,7 +5308,7 @@ const h = {
|
|
4712
5308
|
// 圓型圖例列點
|
4713
5309
|
}
|
4714
5310
|
}
|
4715
|
-
},
|
5311
|
+
}, vt = {
|
4716
5312
|
name: "PRESET_SCATTER_SEPARATE_CATEGORY",
|
4717
5313
|
description: "Scatter with separate category",
|
4718
5314
|
descriptionZh: "分開顯示category的散布圖",
|
@@ -4755,7 +5351,11 @@ const h = {
|
|
4755
5351
|
}
|
4756
5352
|
},
|
4757
5353
|
dataFormatter: {
|
4758
|
-
separateCategory: !0
|
5354
|
+
separateCategory: !0,
|
5355
|
+
container: {
|
5356
|
+
columnGap: 100,
|
5357
|
+
rowGap: 70
|
5358
|
+
}
|
4759
5359
|
},
|
4760
5360
|
pluginParams: {
|
4761
5361
|
XYAxes: {
|
@@ -4773,7 +5373,7 @@ const h = {
|
|
4773
5373
|
// 圓型圖例列點
|
4774
5374
|
}
|
4775
5375
|
}
|
4776
|
-
},
|
5376
|
+
}, Ut = {
|
4777
5377
|
name: "PRESET_SCATTER_SIMPLE",
|
4778
5378
|
description: "Simple scatter",
|
4779
5379
|
descriptionZh: "簡單散布圖",
|
@@ -4823,7 +5423,7 @@ const h = {
|
|
4823
5423
|
// 圓型圖例列點
|
4824
5424
|
}
|
4825
5425
|
}
|
4826
|
-
},
|
5426
|
+
}, Zt = {
|
4827
5427
|
name: "PRESET_FORCE_DIRECTED_BASIC",
|
4828
5428
|
description: "Basic force directed chart",
|
4829
5429
|
descriptionZh: "基本力導向圖",
|
@@ -4866,7 +5466,7 @@ const h = {
|
|
4866
5466
|
// 圓型圖例列點
|
4867
5467
|
}
|
4868
5468
|
}
|
4869
|
-
},
|
5469
|
+
}, ft = {
|
4870
5470
|
name: "PRESET_FORCE_DIRECTED_BUBBLES_BASIC",
|
4871
5471
|
description: "Basic force directed bubbles chart",
|
4872
5472
|
descriptionZh: "基本力導向泡泡圖",
|
@@ -4909,7 +5509,7 @@ const h = {
|
|
4909
5509
|
// 圓型圖例列點
|
4910
5510
|
}
|
4911
5511
|
}
|
4912
|
-
},
|
5512
|
+
}, Vt = {
|
4913
5513
|
name: "PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH",
|
4914
5514
|
description: "Force-directed bubble chart with fixed arrow width",
|
4915
5515
|
descriptionZh: "固定箭頭寬度的力導向泡泡圖",
|
@@ -4957,7 +5557,7 @@ const h = {
|
|
4957
5557
|
// 圓型圖例列點
|
4958
5558
|
}
|
4959
5559
|
}
|
4960
|
-
},
|
5560
|
+
}, Ht = {
|
4961
5561
|
name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW",
|
4962
5562
|
description: "Force-directed bubble chart without arrows",
|
4963
5563
|
descriptionZh: "沒有箭頭的力導向泡泡圖",
|
@@ -5005,7 +5605,7 @@ const h = {
|
|
5005
5605
|
// 圓型圖例列點
|
5006
5606
|
}
|
5007
5607
|
}
|
5008
|
-
},
|
5608
|
+
}, wt = {
|
5009
5609
|
name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM",
|
5010
5610
|
description: "Force Directed bubbles chart without mouse drag and zoom control",
|
5011
5611
|
descriptionZh: "無滑鼠托曳及縮放控制的力導向泡泡圖",
|
@@ -5050,7 +5650,7 @@ const h = {
|
|
5050
5650
|
// 圓型圖例列點
|
5051
5651
|
}
|
5052
5652
|
}
|
5053
|
-
},
|
5653
|
+
}, yt = {
|
5054
5654
|
name: "PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE",
|
5055
5655
|
description: "Simple force directed bubbles chart",
|
5056
5656
|
descriptionZh: "簡單力導向泡泡圖",
|
@@ -5094,7 +5694,7 @@ const h = {
|
|
5094
5694
|
padding: 7
|
5095
5695
|
}
|
5096
5696
|
}
|
5097
|
-
},
|
5697
|
+
}, Yt = {
|
5098
5698
|
name: "PRESET_FORCE_DIRECTED_NONE_ZOOM",
|
5099
5699
|
description: "Force directed chart without mouse drag and zoom control",
|
5100
5700
|
descriptionZh: "無滑鼠托曳及縮放控制的力導向圖",
|
@@ -5139,7 +5739,7 @@ const h = {
|
|
5139
5739
|
// 圓型圖例列點
|
5140
5740
|
}
|
5141
5741
|
}
|
5142
|
-
},
|
5742
|
+
}, Wt = {
|
5143
5743
|
name: "PRESET_FORCE_DIRECTED_FIX_FONT_SIZE",
|
5144
5744
|
description: "Force directed chart with fixed font size",
|
5145
5745
|
descriptionZh: "固定字體大小的力導向圖",
|
@@ -5147,16 +5747,16 @@ const h = {
|
|
5147
5747
|
colors: {
|
5148
5748
|
light: {
|
5149
5749
|
label: [
|
5150
|
-
"#
|
5151
|
-
"#
|
5152
|
-
"#
|
5750
|
+
"#0088FF",
|
5751
|
+
"#FF72BB",
|
5752
|
+
"#16B59B",
|
5153
5753
|
"#F9B052",
|
5154
|
-
"#
|
5754
|
+
"#6F3BD5",
|
5155
5755
|
"#42C724",
|
5156
|
-
"#
|
5756
|
+
"#FF3232",
|
5157
5757
|
"#904026",
|
5158
|
-
"#
|
5159
|
-
"#
|
5758
|
+
"#1F3172",
|
5759
|
+
"#E23D93"
|
5160
5760
|
]
|
5161
5761
|
},
|
5162
5762
|
dark: {
|
@@ -5164,13 +5764,13 @@ const h = {
|
|
5164
5764
|
"#4BABFF",
|
5165
5765
|
"#FFA0A0",
|
5166
5766
|
"#7DD3C4",
|
5167
|
-
"#
|
5767
|
+
"#FAC77D",
|
5168
5768
|
"#8454D4",
|
5169
5769
|
"#42C724",
|
5170
|
-
"#
|
5171
|
-
"#
|
5172
|
-
"#
|
5173
|
-
"#
|
5770
|
+
"#FF6C6C",
|
5771
|
+
"#D4785A",
|
5772
|
+
"#5366AC",
|
5773
|
+
"#FF8DC8"
|
5174
5774
|
]
|
5175
5775
|
}
|
5176
5776
|
}
|
@@ -5189,7 +5789,7 @@ const h = {
|
|
5189
5789
|
// 圓型圖例列點
|
5190
5790
|
}
|
5191
5791
|
}
|
5192
|
-
},
|
5792
|
+
}, Xt = {
|
5193
5793
|
name: "PRESET_FORCE_DIRECTED_NONE_ARROW",
|
5194
5794
|
description: "Force directed chart without arrows",
|
5195
5795
|
descriptionZh: "沒有箭頭的力導向圖",
|
@@ -5237,7 +5837,7 @@ const h = {
|
|
5237
5837
|
// 圓型圖例列點
|
5238
5838
|
}
|
5239
5839
|
}
|
5240
|
-
},
|
5840
|
+
}, zt = {
|
5241
5841
|
name: "PRESET_FORCE_DIRECTED_SIMPLE",
|
5242
5842
|
description: "Simple force directed chart",
|
5243
5843
|
descriptionZh: "簡單力導向圖",
|
@@ -5281,7 +5881,7 @@ const h = {
|
|
5281
5881
|
padding: 7
|
5282
5882
|
}
|
5283
5883
|
}
|
5284
|
-
},
|
5884
|
+
}, Kt = {
|
5285
5885
|
name: "PRESET_TREE_MAP_BASIC",
|
5286
5886
|
description: "Basic tree map",
|
5287
5887
|
descriptionZh: "基本樹狀矩形圖",
|
@@ -5324,16 +5924,13 @@ const h = {
|
|
5324
5924
|
}
|
5325
5925
|
},
|
5326
5926
|
pluginParams: {
|
5327
|
-
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
5328
5927
|
TreeMap: {},
|
5329
5928
|
TreeLegend: {
|
5330
|
-
// position: 'bottom',
|
5331
|
-
// justify: 'center',
|
5332
5929
|
placement: "bottom",
|
5333
5930
|
padding: 14
|
5334
5931
|
}
|
5335
5932
|
}
|
5336
|
-
},
|
5933
|
+
}, jt = {
|
5337
5934
|
name: "PRESET_TREE_MAP_SIMPLE",
|
5338
5935
|
description: "Simple tree map",
|
5339
5936
|
descriptionZh: "簡單樹狀矩形圖",
|
@@ -5384,95 +5981,106 @@ const h = {
|
|
5384
5981
|
}
|
5385
5982
|
};
|
5386
5983
|
export {
|
5387
|
-
|
5388
|
-
|
5389
|
-
|
5390
|
-
|
5391
|
-
|
5392
|
-
|
5393
|
-
|
5394
|
-
|
5395
|
-
|
5396
|
-
|
5397
|
-
|
5398
|
-
|
5399
|
-
|
5400
|
-
|
5401
|
-
|
5402
|
-
|
5403
|
-
|
5404
|
-
|
5405
|
-
|
5406
|
-
|
5407
|
-
|
5408
|
-
|
5409
|
-
|
5410
|
-
|
5411
|
-
|
5412
|
-
|
5413
|
-
|
5414
|
-
|
5415
|
-
|
5416
|
-
|
5417
|
-
|
5418
|
-
|
5419
|
-
|
5420
|
-
|
5421
|
-
|
5422
|
-
|
5423
|
-
|
5424
|
-
|
5425
|
-
|
5426
|
-
|
5427
|
-
|
5428
|
-
|
5429
|
-
|
5430
|
-
|
5431
|
-
|
5432
|
-
|
5433
|
-
|
5434
|
-
|
5435
|
-
|
5436
|
-
|
5437
|
-
|
5438
|
-
|
5439
|
-
|
5440
|
-
ot as
|
5441
|
-
|
5442
|
-
|
5443
|
-
|
5444
|
-
|
5445
|
-
|
5446
|
-
|
5984
|
+
I as PRESET_BARS_HORIZONTAL_AND_ROUND,
|
5985
|
+
M as PRESET_BARS_HORIZONTAL_AND_THIN,
|
5986
|
+
G as PRESET_BARS_ROUND,
|
5987
|
+
x as PRESET_BARS_THIN,
|
5988
|
+
_ as PRESET_BUBBLES_BASIC,
|
5989
|
+
m as PRESET_BUBBLES_SCALING_BY_RADIUS,
|
5990
|
+
P as PRESET_BUBBLES_SEPARATE_ALL,
|
5991
|
+
h as PRESET_BUBBLES_SEPARATE_LABEL,
|
5992
|
+
b as PRESET_BUBBLES_SEPARATE_SERIES,
|
5993
|
+
T as PRESET_BUBBLES_SIMPLE,
|
5994
|
+
F as PRESET_BUBBLES_SUM_SERIES,
|
5995
|
+
Zt as PRESET_FORCE_DIRECTED_BASIC,
|
5996
|
+
ft as PRESET_FORCE_DIRECTED_BUBBLES_BASIC,
|
5997
|
+
Vt as PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH,
|
5998
|
+
Ht as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW,
|
5999
|
+
wt as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM,
|
6000
|
+
yt as PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE,
|
6001
|
+
Wt as PRESET_FORCE_DIRECTED_FIX_FONT_SIZE,
|
6002
|
+
Xt as PRESET_FORCE_DIRECTED_NONE_ARROW,
|
6003
|
+
Yt as PRESET_FORCE_DIRECTED_NONE_ZOOM,
|
6004
|
+
zt as PRESET_FORCE_DIRECTED_SIMPLE,
|
6005
|
+
O as PRESET_GRID_BASIC,
|
6006
|
+
k as PRESET_GRID_HORIZONTAL,
|
6007
|
+
v as PRESET_GRID_PN_SCALE,
|
6008
|
+
N as PRESET_GRID_PN_SCALE_SIMPLE,
|
6009
|
+
U as PRESET_GRID_ROTATE_AXIS_LABEL,
|
6010
|
+
Z as PRESET_GRID_SEPARATE_SERIES,
|
6011
|
+
f as PRESET_GRID_SIMPLE,
|
6012
|
+
z as PRESET_LINES_BASIC,
|
6013
|
+
K as PRESET_LINES_CURVE,
|
6014
|
+
j as PRESET_LINES_HORIZONTAL,
|
6015
|
+
q as PRESET_LINES_LOOSE_TICKS,
|
6016
|
+
J as PRESET_LINES_ROTATE_AXIS_LABEL,
|
6017
|
+
Q as PRESET_LINES_SIMPLE,
|
6018
|
+
$ as PRESET_LINES_WITH_SOLID_DOTS,
|
6019
|
+
V as PRESET_LINE_AREAS_BASIC,
|
6020
|
+
H as PRESET_LINE_AREAS_CURVE,
|
6021
|
+
w as PRESET_LINE_AREAS_HORIZONTAL,
|
6022
|
+
y as PRESET_LINE_AREAS_LOOSE_TICKS,
|
6023
|
+
Y as PRESET_LINE_AREAS_ROTATE_AXIS_LABEL,
|
6024
|
+
W as PRESET_LINE_AREAS_SEPARATE_SERIES,
|
6025
|
+
X as PRESET_LINE_AREAS_SIMPLE,
|
6026
|
+
tt as PRESET_MULTI_GRID_BASIC,
|
6027
|
+
et as PRESET_MULTI_GRID_DIVERGING,
|
6028
|
+
at as PRESET_MULTI_GRID_DIVERGING_SIMPLE,
|
6029
|
+
Ft as PRESET_MULTI_GRID_ROUND_STYLE,
|
6030
|
+
it as PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE,
|
6031
|
+
lt as PRESET_MULTI_GRID_SEPARATE_GRID,
|
6032
|
+
rt as PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE,
|
6033
|
+
st as PRESET_MULTI_GRID_SIMPLE,
|
6034
|
+
dt as PRESET_MULTI_LINES_SEPARATE_GRID,
|
6035
|
+
Bt as PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE,
|
6036
|
+
nt as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID,
|
6037
|
+
ot as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE,
|
6038
|
+
Et as PRESET_MULTI_VALUE_BASIC,
|
6039
|
+
Ct as PRESET_MULTI_VALUE_SEPARATE_CATEGORY,
|
6040
|
+
At as PRESET_MULTI_VALUE_SIMPLE,
|
6041
|
+
Dt as PRESET_ORDINAL_BUBBLES_ALL_ITEMS,
|
6042
|
+
ct as PRESET_ORDINAL_BUBBLES_BASIC,
|
6043
|
+
gt as PRESET_ORDINAL_BUBBLES_LINEAR_OPACITY,
|
6044
|
+
pt as PRESET_ORDINAL_BUBBLES_SCALING_BY_RADIUS,
|
6045
|
+
St as PRESET_ORDINAL_BUBBLES_SEPARATE_CATEGORY,
|
6046
|
+
ut as PRESET_ORDINAL_BUBBLES_SIMPLE,
|
6047
|
+
r as PRESET_PIE_BASIC,
|
6048
|
+
l as PRESET_PIE_DONUT,
|
6049
|
+
s as PRESET_PIE_HALF_DONUT,
|
6050
|
+
e as PRESET_PIE_SEPARATE_LABEL,
|
6051
|
+
n as PRESET_PIE_SEPARATE_SERIES,
|
6052
|
+
B as PRESET_PIE_SIMPLE,
|
5447
6053
|
d as PRESET_PIE_SUM_SERIES,
|
5448
|
-
|
5449
|
-
|
5450
|
-
|
5451
|
-
|
5452
|
-
|
5453
|
-
|
5454
|
-
|
5455
|
-
|
5456
|
-
|
5457
|
-
|
5458
|
-
|
5459
|
-
|
5460
|
-
|
5461
|
-
|
5462
|
-
|
5463
|
-
|
5464
|
-
|
5465
|
-
|
5466
|
-
|
5467
|
-
|
5468
|
-
|
5469
|
-
|
5470
|
-
|
5471
|
-
|
5472
|
-
|
5473
|
-
|
5474
|
-
|
5475
|
-
|
5476
|
-
|
5477
|
-
|
6054
|
+
o as PRESET_PIE_WITH_INNER_LABELS,
|
6055
|
+
Rt as PRESET_RACING_BARS_ALL_ITEMS,
|
6056
|
+
_t as PRESET_RACING_BARS_BASIC,
|
6057
|
+
mt as PRESET_RACING_BARS_FAST,
|
6058
|
+
bt as PRESET_RACING_BARS_FASTER,
|
6059
|
+
ht as PRESET_RACING_BARS_LOOP,
|
6060
|
+
Pt as PRESET_RACING_BARS_OUTSIDE_LABELS,
|
6061
|
+
Tt as PRESET_RACING_BARS_SEPARATE_CATEGORY,
|
6062
|
+
Lt as PRESET_RACING_BARS_SIMPLE,
|
6063
|
+
It as PRESET_RACING_BARS_STOP,
|
6064
|
+
E as PRESET_ROSE_BASIC,
|
6065
|
+
C as PRESET_ROSE_SCALING_BY_RADIUS,
|
6066
|
+
A as PRESET_ROSE_SEPARATE_ALL,
|
6067
|
+
i as PRESET_ROSE_SEPARATE_LABEL,
|
6068
|
+
D as PRESET_ROSE_SEPARATE_SERIES,
|
6069
|
+
p as PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES,
|
6070
|
+
c as PRESET_ROSE_SIMPLE,
|
6071
|
+
g as PRESET_ROSE_SUM_SERIES,
|
6072
|
+
Mt as PRESET_SCATTER_BASIC,
|
6073
|
+
Gt as PRESET_SCATTER_BUBBLES_BASIC,
|
6074
|
+
Ot as PRESET_SCATTER_BUBBLES_LINEAR_OPACITY,
|
6075
|
+
xt as PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS,
|
6076
|
+
kt as PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY,
|
6077
|
+
Nt as PRESET_SCATTER_BUBBLES_SIMPLE,
|
6078
|
+
vt as PRESET_SCATTER_SEPARATE_CATEGORY,
|
6079
|
+
Ut as PRESET_SCATTER_SIMPLE,
|
6080
|
+
L as PRESET_SERIES_BASIC,
|
6081
|
+
u as PRESET_SERIES_SEPARATE_SERIES,
|
6082
|
+
S as PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES,
|
6083
|
+
R as PRESET_SERIES_SUM_SERIES,
|
6084
|
+
Kt as PRESET_TREE_MAP_BASIC,
|
6085
|
+
jt as PRESET_TREE_MAP_SIMPLE
|
5478
6086
|
};
|