@orbcharts/presets-basic 3.0.0-beta.1 → 3.0.0-beta.10
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 +418 -157
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/multiValue/PRESET_MULTI_VALUE_BASIC.d.ts +4 -0
- package/dist/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.d.ts +4 -0
- package/dist/src/multiValue/index.d.ts +4 -0
- package/dist/src/params.d.ts +3 -1
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_BASIC.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.d.ts +4 -0
- package/dist/src/relationship/index.d.ts +8 -0
- package/dist/src/tree/PRESET_TREE_MAP_BASIC.d.ts +4 -0
- package/dist/src/tree/index.d.ts +1 -1
- package/dist/src/types.d.ts +55 -14
- package/package.json +3 -3
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +2 -2
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +2 -2
- package/src/grid/PRESET_GRID_HORIZONTAL.ts +2 -2
- package/src/grid/PRESET_GRID_PN_SCALE.ts +2 -2
- package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +2 -2
- package/src/grid/PRESET_LINES_HORIZONTAL.ts +2 -2
- package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +1 -1
- package/src/grid/PRESET_LINE_AREAS_BASIC.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_CURVE.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +2 -2
- package/src/index.ts +2 -0
- package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +2 -2
- package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +3 -3
- package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +2 -2
- package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +2 -2
- package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +2 -2
- package/src/multiValue/PRESET_MULTI_VALUE_BASIC.ts +23 -0
- package/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.ts +26 -0
- package/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.ts +26 -0
- package/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.ts +26 -0
- package/src/multiValue/index.ts +4 -0
- package/src/params.ts +25 -5
- package/src/relationship/PRESET_FORCE_DIRECTED_BASIC.ts +23 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.ts +23 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.ts +28 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.ts +30 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.ts +25 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.ts +30 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.ts +28 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.ts +25 -0
- package/src/relationship/index.ts +8 -0
- package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +1 -1
- package/src/tree/{PRESET_TREE_BASIC.ts → PRESET_TREE_MAP_BASIC.ts} +3 -3
- package/src/tree/index.ts +1 -1
- package/src/types.ts +103 -21
- package/dist/src/tree/PRESET_TREE_BASIC.d.ts +0 -4
@@ -1,4 +1,4 @@
|
|
1
|
-
const
|
1
|
+
const g = {
|
2
2
|
name: "PRESET_BUBBLES_SCALING_BY_RADIUS",
|
3
3
|
description: "以半徑尺寸為比例的泡泡圖",
|
4
4
|
allPluginParams: {
|
@@ -11,7 +11,7 @@ const u = {
|
|
11
11
|
// 圓型圖例列點
|
12
12
|
}
|
13
13
|
}
|
14
|
-
},
|
14
|
+
}, _ = {
|
15
15
|
name: "PRESET_BUBBLES_SEPARATE_SERIES",
|
16
16
|
description: "分開顯示Series泡泡",
|
17
17
|
chartParams: {
|
@@ -115,7 +115,7 @@ const l = {
|
|
115
115
|
PieLabels: {
|
116
116
|
labelCentroid: 1.3,
|
117
117
|
// 圖內資料標籤
|
118
|
-
labelColorType: "
|
118
|
+
labelColorType: "labelContrast"
|
119
119
|
},
|
120
120
|
PieEventTexts: {},
|
121
121
|
SeriesLegend: {
|
@@ -162,7 +162,7 @@ const n = {
|
|
162
162
|
}
|
163
163
|
};
|
164
164
|
n.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
165
|
-
const
|
165
|
+
const S = {
|
166
166
|
name: "PRESET_SERIES_BASIC",
|
167
167
|
description: "基本Series參數",
|
168
168
|
allPluginParams: {
|
@@ -187,7 +187,7 @@ const R = {
|
|
187
187
|
}
|
188
188
|
};
|
189
189
|
d.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
190
|
-
const
|
190
|
+
const E = {
|
191
191
|
name: "PRESET_SERIES_SEPARATE_SERIES",
|
192
192
|
description: "分開顯示Series",
|
193
193
|
dataFormatter: {
|
@@ -199,8 +199,8 @@ const g = {
|
|
199
199
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
200
200
|
}
|
201
201
|
};
|
202
|
-
|
203
|
-
const
|
202
|
+
E.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
203
|
+
const R = {
|
204
204
|
name: "PRESET_SERIES_SUM_SERIES",
|
205
205
|
description: "合併Series資料",
|
206
206
|
dataFormatter: {
|
@@ -212,8 +212,8 @@ const E = {
|
|
212
212
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
213
213
|
}
|
214
214
|
};
|
215
|
-
|
216
|
-
const
|
215
|
+
R.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
|
216
|
+
const u = {
|
217
217
|
name: "PRESET_BARS_HORIZONTAL_AND_ROUND",
|
218
218
|
description: "橫向圓角長條圖",
|
219
219
|
chartParams: {
|
@@ -225,20 +225,20 @@ const _ = {
|
|
225
225
|
}
|
226
226
|
},
|
227
227
|
dataFormatter: {
|
228
|
-
grid: {
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
}
|
228
|
+
// grid: {
|
229
|
+
valueAxis: {
|
230
|
+
position: "bottom"
|
231
|
+
// position: 'top'
|
232
|
+
// position: 'left'
|
233
|
+
// position: 'right'
|
234
|
+
},
|
235
|
+
groupAxis: {
|
236
|
+
position: "left"
|
237
|
+
// position: 'right'
|
238
|
+
// position: 'bottom'
|
239
|
+
// position: 'top'
|
241
240
|
}
|
241
|
+
// }
|
242
242
|
},
|
243
243
|
allPluginParams: {
|
244
244
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
@@ -272,20 +272,20 @@ const _ = {
|
|
272
272
|
}
|
273
273
|
},
|
274
274
|
dataFormatter: {
|
275
|
-
grid: {
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
}
|
275
|
+
// grid: {
|
276
|
+
valueAxis: {
|
277
|
+
position: "bottom"
|
278
|
+
// position: 'top'
|
279
|
+
// position: 'left'
|
280
|
+
// position: 'right'
|
281
|
+
},
|
282
|
+
groupAxis: {
|
283
|
+
position: "left"
|
284
|
+
// position: 'right'
|
285
|
+
// position: 'bottom'
|
286
|
+
// position: 'top'
|
288
287
|
}
|
288
|
+
// }
|
289
289
|
},
|
290
290
|
allPluginParams: {
|
291
291
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
@@ -304,7 +304,7 @@ const _ = {
|
|
304
304
|
padding: 14
|
305
305
|
}
|
306
306
|
}
|
307
|
-
},
|
307
|
+
}, c = {
|
308
308
|
name: "PRESET_BARS_ROUND",
|
309
309
|
description: "圓角長條圖",
|
310
310
|
chartParams: {
|
@@ -335,7 +335,7 @@ const _ = {
|
|
335
335
|
listRectRadius: 7
|
336
336
|
}
|
337
337
|
}
|
338
|
-
},
|
338
|
+
}, p = {
|
339
339
|
name: "PRESET_BARS_THIN",
|
340
340
|
description: "細長條圖",
|
341
341
|
chartParams: {
|
@@ -384,7 +384,7 @@ const _ = {
|
|
384
384
|
padding: 14
|
385
385
|
}
|
386
386
|
}
|
387
|
-
},
|
387
|
+
}, A = {
|
388
388
|
name: "PRESET_GRID_HORIZONTAL",
|
389
389
|
description: "橫向圖",
|
390
390
|
chartParams: {
|
@@ -397,20 +397,20 @@ const _ = {
|
|
397
397
|
}
|
398
398
|
},
|
399
399
|
dataFormatter: {
|
400
|
-
grid: {
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
}
|
400
|
+
// grid: {
|
401
|
+
valueAxis: {
|
402
|
+
position: "bottom"
|
403
|
+
// position: 'top'
|
404
|
+
// position: 'left'
|
405
|
+
// position: 'right'
|
406
|
+
},
|
407
|
+
groupAxis: {
|
408
|
+
position: "left"
|
409
|
+
// position: 'right'
|
410
|
+
// position: 'bottom'
|
411
|
+
// position: 'top'
|
413
412
|
}
|
413
|
+
// }
|
414
414
|
},
|
415
415
|
allPluginParams: {
|
416
416
|
// ...ALL_PLUGIN_PARAMS_GRID,
|
@@ -422,7 +422,7 @@ const _ = {
|
|
422
422
|
padding: 14
|
423
423
|
}
|
424
424
|
}
|
425
|
-
},
|
425
|
+
}, T = {
|
426
426
|
name: "PRESET_GRID_PN_SCALE",
|
427
427
|
description: "正負值分向圖",
|
428
428
|
chartParams: {
|
@@ -434,12 +434,12 @@ const _ = {
|
|
434
434
|
}
|
435
435
|
},
|
436
436
|
dataFormatter: {
|
437
|
-
grid: {
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
}
|
437
|
+
// grid: {
|
438
|
+
valueAxis: {
|
439
|
+
scaleDomain: ["auto", "auto"],
|
440
|
+
scaleRange: [0.05, 0.95]
|
442
441
|
}
|
442
|
+
// }
|
443
443
|
},
|
444
444
|
allPluginParams: {
|
445
445
|
// ...ALL_PLUGIN_PARAMS_GRID,
|
@@ -451,7 +451,7 @@ const _ = {
|
|
451
451
|
padding: 14
|
452
452
|
}
|
453
453
|
}
|
454
|
-
},
|
454
|
+
}, I = {
|
455
455
|
name: "PRESET_GRID_ROTATE_AXIS_LABEL",
|
456
456
|
description: "傾斜標籤",
|
457
457
|
chartParams: {
|
@@ -492,10 +492,10 @@ const _ = {
|
|
492
492
|
}
|
493
493
|
},
|
494
494
|
dataFormatter: {
|
495
|
-
grid: {
|
496
|
-
|
497
|
-
|
498
|
-
}
|
495
|
+
// grid: {
|
496
|
+
// seriesSlotIndexes: [0, 1],
|
497
|
+
separateSeries: !0
|
498
|
+
// },
|
499
499
|
},
|
500
500
|
allPluginParams: {
|
501
501
|
// ...ALL_PLUGIN_PARAMS_GRID,
|
@@ -527,11 +527,11 @@ const _ = {
|
|
527
527
|
highlightTarget: "series"
|
528
528
|
},
|
529
529
|
dataFormatter: {
|
530
|
-
grid: {
|
531
|
-
|
532
|
-
|
533
|
-
}
|
530
|
+
// grid: {
|
531
|
+
groupAxis: {
|
532
|
+
scalePadding: 0
|
534
533
|
}
|
534
|
+
// }
|
535
535
|
},
|
536
536
|
allPluginParams: {
|
537
537
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
@@ -549,7 +549,7 @@ const _ = {
|
|
549
549
|
listRectHeight: 2
|
550
550
|
}
|
551
551
|
}
|
552
|
-
},
|
552
|
+
}, b = {
|
553
553
|
name: "PRESET_LINE_AREAS_CURVE",
|
554
554
|
description: "弧線折線圖",
|
555
555
|
chartParams: {
|
@@ -562,11 +562,11 @@ const _ = {
|
|
562
562
|
highlightTarget: "series"
|
563
563
|
},
|
564
564
|
dataFormatter: {
|
565
|
-
grid: {
|
566
|
-
|
567
|
-
|
568
|
-
}
|
565
|
+
// grid: {
|
566
|
+
groupAxis: {
|
567
|
+
scalePadding: 0
|
569
568
|
}
|
569
|
+
// }
|
570
570
|
},
|
571
571
|
allPluginParams: {
|
572
572
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
@@ -589,7 +589,7 @@ const _ = {
|
|
589
589
|
listRectHeight: 2
|
590
590
|
}
|
591
591
|
}
|
592
|
-
},
|
592
|
+
}, x = {
|
593
593
|
name: "PRESET_LINE_AREAS_HORIZONTAL",
|
594
594
|
description: "橫向折線圖",
|
595
595
|
chartParams: {
|
@@ -602,15 +602,15 @@ const _ = {
|
|
602
602
|
highlightTarget: "series"
|
603
603
|
},
|
604
604
|
dataFormatter: {
|
605
|
-
grid: {
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
}
|
605
|
+
// grid: {
|
606
|
+
valueAxis: {
|
607
|
+
position: "bottom"
|
608
|
+
},
|
609
|
+
groupAxis: {
|
610
|
+
position: "left",
|
611
|
+
scalePadding: 0
|
613
612
|
}
|
613
|
+
// }
|
614
614
|
},
|
615
615
|
allPluginParams: {
|
616
616
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
@@ -628,7 +628,7 @@ const _ = {
|
|
628
628
|
listRectHeight: 2
|
629
629
|
}
|
630
630
|
}
|
631
|
-
},
|
631
|
+
}, B = {
|
632
632
|
name: "PRESET_LINE_AREAS_LOOSE_TICKS",
|
633
633
|
description: "寬鬆標籤",
|
634
634
|
chartParams: {
|
@@ -641,11 +641,11 @@ const _ = {
|
|
641
641
|
highlightTarget: "series"
|
642
642
|
},
|
643
643
|
dataFormatter: {
|
644
|
-
grid: {
|
645
|
-
|
646
|
-
|
647
|
-
}
|
644
|
+
// grid: {
|
645
|
+
groupAxis: {
|
646
|
+
scalePadding: 0
|
648
647
|
}
|
648
|
+
// }
|
649
649
|
},
|
650
650
|
allPluginParams: {
|
651
651
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
@@ -665,7 +665,7 @@ const _ = {
|
|
665
665
|
listRectHeight: 2
|
666
666
|
}
|
667
667
|
}
|
668
|
-
},
|
668
|
+
}, D = {
|
669
669
|
name: "PRESET_LINE_AREAS_ROTATE_AXIS_LABEL",
|
670
670
|
description: "傾斜標籤",
|
671
671
|
chartParams: {
|
@@ -678,11 +678,11 @@ const _ = {
|
|
678
678
|
highlightTarget: "series"
|
679
679
|
},
|
680
680
|
dataFormatter: {
|
681
|
-
grid: {
|
682
|
-
|
683
|
-
|
684
|
-
}
|
681
|
+
// grid: {
|
682
|
+
groupAxis: {
|
683
|
+
scalePadding: 0
|
685
684
|
}
|
685
|
+
// }
|
686
686
|
},
|
687
687
|
allPluginParams: {
|
688
688
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
@@ -705,7 +705,7 @@ const _ = {
|
|
705
705
|
listRectHeight: 2
|
706
706
|
}
|
707
707
|
}
|
708
|
-
},
|
708
|
+
}, G = {
|
709
709
|
name: "PRESET_LINE_AREAS_SEPARATE_SERIES",
|
710
710
|
description: "LineAreas 分開顯示Series",
|
711
711
|
chartParams: {
|
@@ -718,13 +718,13 @@ const _ = {
|
|
718
718
|
highlightTarget: "series"
|
719
719
|
},
|
720
720
|
dataFormatter: {
|
721
|
-
grid: {
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
}
|
721
|
+
// grid: {
|
722
|
+
// seriesSlotIndexes: [0, 1],
|
723
|
+
separateSeries: !0,
|
724
|
+
groupAxis: {
|
725
|
+
scalePadding: 0
|
727
726
|
}
|
727
|
+
// },
|
728
728
|
},
|
729
729
|
allPluginParams: {
|
730
730
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
@@ -747,7 +747,7 @@ const _ = {
|
|
747
747
|
listRectHeight: 2
|
748
748
|
}
|
749
749
|
}
|
750
|
-
},
|
750
|
+
}, O = {
|
751
751
|
name: "PRESET_LINES_BASIC",
|
752
752
|
description: "基本Lines參數",
|
753
753
|
chartParams: {
|
@@ -774,7 +774,7 @@ const _ = {
|
|
774
774
|
listRectHeight: 2
|
775
775
|
}
|
776
776
|
}
|
777
|
-
},
|
777
|
+
}, M = {
|
778
778
|
name: "PRESET_LINES_CURVE",
|
779
779
|
description: "弧線折線圖",
|
780
780
|
chartParams: {
|
@@ -804,7 +804,7 @@ const _ = {
|
|
804
804
|
listRectHeight: 2
|
805
805
|
}
|
806
806
|
}
|
807
|
-
},
|
807
|
+
}, N = {
|
808
808
|
name: "PRESET_LINES_HORIZONTAL",
|
809
809
|
description: "橫向折線圖",
|
810
810
|
chartParams: {
|
@@ -817,20 +817,20 @@ const _ = {
|
|
817
817
|
highlightTarget: "series"
|
818
818
|
},
|
819
819
|
dataFormatter: {
|
820
|
-
grid: {
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
}
|
820
|
+
// grid: {
|
821
|
+
valueAxis: {
|
822
|
+
position: "bottom"
|
823
|
+
// position: 'top'
|
824
|
+
// position: 'left'
|
825
|
+
// position: 'right'
|
826
|
+
},
|
827
|
+
groupAxis: {
|
828
|
+
position: "left"
|
829
|
+
// position: 'right'
|
830
|
+
// position: 'bottom'
|
831
|
+
// position: 'top'
|
833
832
|
}
|
833
|
+
// }
|
834
834
|
},
|
835
835
|
allPluginParams: {
|
836
836
|
// ...ALL_PLUGIN_PARAMS_NONE_DATA,
|
@@ -847,7 +847,7 @@ const _ = {
|
|
847
847
|
listRectHeight: 2
|
848
848
|
}
|
849
849
|
}
|
850
|
-
},
|
850
|
+
}, C = {
|
851
851
|
name: "PRESET_LINES_LOOSE_TICKS",
|
852
852
|
description: "寬鬆標籤",
|
853
853
|
chartParams: {
|
@@ -876,7 +876,7 @@ const _ = {
|
|
876
876
|
listRectHeight: 2
|
877
877
|
}
|
878
878
|
}
|
879
|
-
},
|
879
|
+
}, F = {
|
880
880
|
name: "PRESET_LINES_ROTATE_AXIS_LABEL",
|
881
881
|
description: "傾斜標籤",
|
882
882
|
chartParams: {
|
@@ -925,7 +925,7 @@ const _ = {
|
|
925
925
|
Lines: {},
|
926
926
|
Dots: {
|
927
927
|
radius: 3,
|
928
|
-
fillColorType: "
|
928
|
+
fillColorType: "label",
|
929
929
|
onlyShowHighlighted: !1
|
930
930
|
},
|
931
931
|
GroupAxis: {},
|
@@ -939,7 +939,7 @@ const _ = {
|
|
939
939
|
listRectHeight: 2
|
940
940
|
}
|
941
941
|
}
|
942
|
-
},
|
942
|
+
}, v = {
|
943
943
|
name: "PRESET_MULTI_GRID_BASIC",
|
944
944
|
description: "基本MultiGrid參數",
|
945
945
|
chartParams: {
|
@@ -967,7 +967,7 @@ const _ = {
|
|
967
967
|
]
|
968
968
|
}
|
969
969
|
}
|
970
|
-
},
|
970
|
+
}, H = {
|
971
971
|
name: "PRESET_MULTI_GRID_DIVERGING",
|
972
972
|
description: "雙向折線圖",
|
973
973
|
chartParams: {
|
@@ -1019,13 +1019,13 @@ const _ = {
|
|
1019
1019
|
MultiValueAxis: {
|
1020
1020
|
gridIndexes: [0, 1]
|
1021
1021
|
},
|
1022
|
-
|
1022
|
+
MultiStackedValueAxis: {
|
1023
1023
|
gridIndexes: [0, 1]
|
1024
1024
|
},
|
1025
1025
|
MultiBars: {
|
1026
1026
|
gridIndexes: [0, 1]
|
1027
1027
|
},
|
1028
|
-
|
1028
|
+
MultiStackedBar: {
|
1029
1029
|
gridIndexes: [0, 1]
|
1030
1030
|
},
|
1031
1031
|
MultiBarsTriangle: {
|
@@ -1047,7 +1047,7 @@ const _ = {
|
|
1047
1047
|
padding: 14
|
1048
1048
|
}
|
1049
1049
|
}
|
1050
|
-
},
|
1050
|
+
}, f = {
|
1051
1051
|
name: "PRESET_MULTI_GRID_ROUND_STYLE",
|
1052
1052
|
description: "MultiGrid圓弧風格",
|
1053
1053
|
chartParams: {
|
@@ -1067,7 +1067,7 @@ const _ = {
|
|
1067
1067
|
barGroupPadding: 10,
|
1068
1068
|
barRadius: !0
|
1069
1069
|
},
|
1070
|
-
|
1070
|
+
MultiStackedBar: {},
|
1071
1071
|
MultiDots: {},
|
1072
1072
|
MultiGridLegend: {
|
1073
1073
|
// position: 'bottom',
|
@@ -1090,9 +1090,9 @@ const _ = {
|
|
1090
1090
|
lineWidth: 3
|
1091
1091
|
},
|
1092
1092
|
MultiValueAxis: {},
|
1093
|
-
|
1093
|
+
MultiStackedValueAxis: {},
|
1094
1094
|
OverlappingValueAxes: {},
|
1095
|
-
|
1095
|
+
OverlappingStackedValueAxes: {}
|
1096
1096
|
}
|
1097
1097
|
}, V = {
|
1098
1098
|
name: "PRESET_MULTI_GRID_SEPARATE_GRID",
|
@@ -1117,13 +1117,13 @@ const _ = {
|
|
1117
1117
|
MultiValueAxis: {
|
1118
1118
|
gridIndexes: "all"
|
1119
1119
|
},
|
1120
|
-
|
1120
|
+
MultiStackedValueAxis: {
|
1121
1121
|
gridIndexes: "all"
|
1122
1122
|
},
|
1123
1123
|
MultiBars: {
|
1124
1124
|
gridIndexes: "all"
|
1125
1125
|
},
|
1126
|
-
|
1126
|
+
MultiStackedBar: {
|
1127
1127
|
gridIndexes: "all"
|
1128
1128
|
},
|
1129
1129
|
MultiBarsTriangle: {
|
@@ -1188,13 +1188,13 @@ const _ = {
|
|
1188
1188
|
MultiValueAxis: {
|
1189
1189
|
gridIndexes: "all"
|
1190
1190
|
},
|
1191
|
-
|
1191
|
+
MultiStackedValueAxis: {
|
1192
1192
|
gridIndexes: "all"
|
1193
1193
|
},
|
1194
1194
|
MultiBars: {
|
1195
1195
|
gridIndexes: "all"
|
1196
1196
|
},
|
1197
|
-
|
1197
|
+
MultiStackedBar: {
|
1198
1198
|
gridIndexes: "all"
|
1199
1199
|
},
|
1200
1200
|
MultiBarsTriangle: {
|
@@ -1265,13 +1265,13 @@ const _ = {
|
|
1265
1265
|
MultiValueAxis: {
|
1266
1266
|
gridIndexes: "all"
|
1267
1267
|
},
|
1268
|
-
|
1268
|
+
MultiStackedValueAxis: {
|
1269
1269
|
gridIndexes: "all"
|
1270
1270
|
},
|
1271
1271
|
MultiBars: {
|
1272
1272
|
gridIndexes: "all"
|
1273
1273
|
},
|
1274
|
-
|
1274
|
+
MultiStackedBar: {
|
1275
1275
|
gridIndexes: "all"
|
1276
1276
|
},
|
1277
1277
|
MultiBarsTriangle: {
|
@@ -1319,9 +1319,258 @@ const _ = {
|
|
1319
1319
|
]
|
1320
1320
|
}
|
1321
1321
|
}
|
1322
|
+
}, Z = {
|
1323
|
+
name: "PRESET_MULTI_VALUE_BASIC",
|
1324
|
+
description: "基本MultiValue參數",
|
1325
|
+
chartParams: {
|
1326
|
+
padding: {
|
1327
|
+
top: 60,
|
1328
|
+
right: 60,
|
1329
|
+
bottom: 120,
|
1330
|
+
left: 60
|
1331
|
+
}
|
1332
|
+
},
|
1333
|
+
allPluginParams: {
|
1334
|
+
MultiValueLegend: {
|
1335
|
+
placement: "bottom",
|
1336
|
+
padding: 14
|
1337
|
+
}
|
1338
|
+
}
|
1322
1339
|
}, X = {
|
1323
|
-
name: "
|
1324
|
-
description: "
|
1340
|
+
name: "PRESET_MULTI_VALUE_SEPARATE_CATEGORY",
|
1341
|
+
description: "MultiValue 分開顯示category",
|
1342
|
+
chartParams: {
|
1343
|
+
padding: {
|
1344
|
+
top: 60,
|
1345
|
+
right: 60,
|
1346
|
+
bottom: 120,
|
1347
|
+
left: 60
|
1348
|
+
}
|
1349
|
+
},
|
1350
|
+
dataFormatter: {
|
1351
|
+
separateCategory: !0
|
1352
|
+
},
|
1353
|
+
allPluginParams: {
|
1354
|
+
MultiValueLegend: {
|
1355
|
+
placement: "bottom",
|
1356
|
+
padding: 14
|
1357
|
+
}
|
1358
|
+
}
|
1359
|
+
}, Y = {
|
1360
|
+
name: "PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS",
|
1361
|
+
description: "ScatterBubbles以半徑尺寸為比例",
|
1362
|
+
chartParams: {
|
1363
|
+
padding: {
|
1364
|
+
top: 60,
|
1365
|
+
right: 60,
|
1366
|
+
bottom: 120,
|
1367
|
+
left: 60
|
1368
|
+
}
|
1369
|
+
},
|
1370
|
+
allPluginParams: {
|
1371
|
+
MultiValueLegend: {
|
1372
|
+
placement: "bottom",
|
1373
|
+
padding: 14
|
1374
|
+
},
|
1375
|
+
ScatterBubbles: {
|
1376
|
+
arcScaleType: "radius"
|
1377
|
+
}
|
1378
|
+
}
|
1379
|
+
}, y = {
|
1380
|
+
name: "PRESET_SCATTER_BUBBLES_LINEAR_OPACITY",
|
1381
|
+
description: "ScatterBubbles漸變透明度",
|
1382
|
+
chartParams: {
|
1383
|
+
padding: {
|
1384
|
+
top: 60,
|
1385
|
+
right: 60,
|
1386
|
+
bottom: 120,
|
1387
|
+
left: 60
|
1388
|
+
}
|
1389
|
+
},
|
1390
|
+
allPluginParams: {
|
1391
|
+
MultiValueLegend: {
|
1392
|
+
placement: "bottom",
|
1393
|
+
padding: 14
|
1394
|
+
},
|
1395
|
+
ScatterBubbles: {
|
1396
|
+
valueLinearOpacity: [0.6, 0.95]
|
1397
|
+
}
|
1398
|
+
}
|
1399
|
+
}, w = {
|
1400
|
+
name: "PRESET_FORCE_DIRECTED_BASIC",
|
1401
|
+
description: "基本Force Directed參數",
|
1402
|
+
// chartParams: {
|
1403
|
+
// padding: {
|
1404
|
+
// top: 40,
|
1405
|
+
// right: 40,
|
1406
|
+
// bottom: 60,
|
1407
|
+
// left: 40
|
1408
|
+
// },
|
1409
|
+
// },
|
1410
|
+
allPluginParams: {
|
1411
|
+
ForceDirected: {},
|
1412
|
+
RelationshipLegend: {
|
1413
|
+
listRectRadius: 7
|
1414
|
+
// 圓型圖例列點
|
1415
|
+
}
|
1416
|
+
}
|
1417
|
+
}, z = {
|
1418
|
+
name: "PRESET_FORCE_DIRECTED_BUBBLES_BASIC",
|
1419
|
+
description: "基本Force Directed Bubbles參數",
|
1420
|
+
// chartParams: {
|
1421
|
+
// padding: {
|
1422
|
+
// top: 40,
|
1423
|
+
// right: 40,
|
1424
|
+
// bottom: 60,
|
1425
|
+
// left: 40
|
1426
|
+
// },
|
1427
|
+
// },
|
1428
|
+
allPluginParams: {
|
1429
|
+
ForceDirectedBubbles: {},
|
1430
|
+
RelationshipLegend: {
|
1431
|
+
listRectRadius: 7
|
1432
|
+
// 圓型圖例列點
|
1433
|
+
}
|
1434
|
+
}
|
1435
|
+
}, K = {
|
1436
|
+
name: "PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH",
|
1437
|
+
description: "Force Directed Bubbles固定箭頭寬度",
|
1438
|
+
// chartParams: {
|
1439
|
+
// padding: {
|
1440
|
+
// top: 40,
|
1441
|
+
// right: 40,
|
1442
|
+
// bottom: 60,
|
1443
|
+
// left: 40
|
1444
|
+
// },
|
1445
|
+
// },
|
1446
|
+
allPluginParams: {
|
1447
|
+
ForceDirectedBubbles: {
|
1448
|
+
arrow: {
|
1449
|
+
strokeWidthMin: 1.5,
|
1450
|
+
strokeWidthMax: 1.5
|
1451
|
+
}
|
1452
|
+
},
|
1453
|
+
RelationshipLegend: {
|
1454
|
+
listRectRadius: 7
|
1455
|
+
// 圓型圖例列點
|
1456
|
+
}
|
1457
|
+
}
|
1458
|
+
}, j = {
|
1459
|
+
name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW",
|
1460
|
+
description: "Force Directed Bubbles沒有箭頭",
|
1461
|
+
// chartParams: {
|
1462
|
+
// padding: {
|
1463
|
+
// top: 40,
|
1464
|
+
// right: 40,
|
1465
|
+
// bottom: 60,
|
1466
|
+
// left: 40
|
1467
|
+
// },
|
1468
|
+
// },
|
1469
|
+
allPluginParams: {
|
1470
|
+
ForceDirectedBubbles: {
|
1471
|
+
arrow: {
|
1472
|
+
pointerWidth: 0,
|
1473
|
+
pointerHeight: 0
|
1474
|
+
// strokeWidthMin: 1.5,
|
1475
|
+
// strokeWidthMax: 9
|
1476
|
+
}
|
1477
|
+
},
|
1478
|
+
RelationshipLegend: {
|
1479
|
+
listRectRadius: 7
|
1480
|
+
// 圓型圖例列點
|
1481
|
+
}
|
1482
|
+
}
|
1483
|
+
}, q = {
|
1484
|
+
name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM",
|
1485
|
+
description: "Force Directed Bubbles無滑鼠托曳及縮放控制",
|
1486
|
+
// chartParams: {
|
1487
|
+
// padding: {
|
1488
|
+
// top: 40,
|
1489
|
+
// right: 40,
|
1490
|
+
// bottom: 60,
|
1491
|
+
// left: 40
|
1492
|
+
// },
|
1493
|
+
// },
|
1494
|
+
allPluginParams: {
|
1495
|
+
ForceDirectedBubbles: {
|
1496
|
+
zoomable: !1
|
1497
|
+
},
|
1498
|
+
RelationshipLegend: {
|
1499
|
+
listRectRadius: 7
|
1500
|
+
// 圓型圖例列點
|
1501
|
+
}
|
1502
|
+
}
|
1503
|
+
}, J = {
|
1504
|
+
name: "PRESET_FORCE_DIRECTED_NONE_ZOOM",
|
1505
|
+
description: "Force Directed無滑鼠托曳及縮放控制",
|
1506
|
+
// chartParams: {
|
1507
|
+
// padding: {
|
1508
|
+
// top: 40,
|
1509
|
+
// right: 40,
|
1510
|
+
// bottom: 60,
|
1511
|
+
// left: 40
|
1512
|
+
// },
|
1513
|
+
// },
|
1514
|
+
allPluginParams: {
|
1515
|
+
ForceDirected: {
|
1516
|
+
zoomable: !1
|
1517
|
+
},
|
1518
|
+
RelationshipLegend: {
|
1519
|
+
listRectRadius: 7
|
1520
|
+
// 圓型圖例列點
|
1521
|
+
}
|
1522
|
+
}
|
1523
|
+
}, Q = {
|
1524
|
+
name: "PRESET_FORCE_DIRECTED_FIX_FONT_SIZE",
|
1525
|
+
description: "基本Force Directed參數",
|
1526
|
+
// chartParams: {
|
1527
|
+
// padding: {
|
1528
|
+
// top: 40,
|
1529
|
+
// right: 40,
|
1530
|
+
// bottom: 60,
|
1531
|
+
// left: 40
|
1532
|
+
// },
|
1533
|
+
// },
|
1534
|
+
allPluginParams: {
|
1535
|
+
ForceDirected: {
|
1536
|
+
dotLabel: {
|
1537
|
+
sizeFixed: !0
|
1538
|
+
},
|
1539
|
+
arrowLabel: {
|
1540
|
+
sizeFixed: !0
|
1541
|
+
}
|
1542
|
+
},
|
1543
|
+
RelationshipLegend: {
|
1544
|
+
listRectRadius: 7
|
1545
|
+
// 圓型圖例列點
|
1546
|
+
}
|
1547
|
+
}
|
1548
|
+
}, $ = {
|
1549
|
+
name: "PRESET_FORCE_DIRECTED_NONE_ARROW",
|
1550
|
+
description: "Force Directed沒有箭頭",
|
1551
|
+
// chartParams: {
|
1552
|
+
// padding: {
|
1553
|
+
// top: 40,
|
1554
|
+
// right: 40,
|
1555
|
+
// bottom: 60,
|
1556
|
+
// left: 40
|
1557
|
+
// },
|
1558
|
+
// },
|
1559
|
+
allPluginParams: {
|
1560
|
+
ForceDirected: {
|
1561
|
+
arrow: {
|
1562
|
+
pointerWidth: 0,
|
1563
|
+
pointerHeight: 0
|
1564
|
+
}
|
1565
|
+
},
|
1566
|
+
RelationshipLegend: {
|
1567
|
+
listRectRadius: 7
|
1568
|
+
// 圓型圖例列點
|
1569
|
+
}
|
1570
|
+
}
|
1571
|
+
}, tt = {
|
1572
|
+
name: "PRESET_TREE_MAP_BASIC",
|
1573
|
+
description: "基本Tree Map參數",
|
1325
1574
|
chartParams: {
|
1326
1575
|
padding: {
|
1327
1576
|
top: 40,
|
@@ -1342,44 +1591,56 @@ const _ = {
|
|
1342
1591
|
}
|
1343
1592
|
};
|
1344
1593
|
export {
|
1345
|
-
|
1594
|
+
u as PRESET_BARS_HORIZONTAL_AND_ROUND,
|
1346
1595
|
P as PRESET_BARS_HORIZONTAL_AND_THIN,
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1596
|
+
c as PRESET_BARS_ROUND,
|
1597
|
+
p as PRESET_BARS_THIN,
|
1598
|
+
g as PRESET_BUBBLES_SCALING_BY_RADIUS,
|
1599
|
+
_ as PRESET_BUBBLES_SEPARATE_SERIES,
|
1600
|
+
w as PRESET_FORCE_DIRECTED_BASIC,
|
1601
|
+
z as PRESET_FORCE_DIRECTED_BUBBLES_BASIC,
|
1602
|
+
K as PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH,
|
1603
|
+
j as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW,
|
1604
|
+
q as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM,
|
1605
|
+
Q as PRESET_FORCE_DIRECTED_FIX_FONT_SIZE,
|
1606
|
+
$ as PRESET_FORCE_DIRECTED_NONE_ARROW,
|
1607
|
+
J as PRESET_FORCE_DIRECTED_NONE_ZOOM,
|
1351
1608
|
m as PRESET_GRID_BASIC,
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1609
|
+
A as PRESET_GRID_HORIZONTAL,
|
1610
|
+
T as PRESET_GRID_PN_SCALE,
|
1611
|
+
I as PRESET_GRID_ROTATE_AXIS_LABEL,
|
1355
1612
|
L as PRESET_GRID_SEPARATE_SERIES,
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1613
|
+
O as PRESET_LINES_BASIC,
|
1614
|
+
M as PRESET_LINES_CURVE,
|
1615
|
+
N as PRESET_LINES_HORIZONTAL,
|
1616
|
+
C as PRESET_LINES_LOOSE_TICKS,
|
1617
|
+
F as PRESET_LINES_ROTATE_AXIS_LABEL,
|
1361
1618
|
U as PRESET_LINES_WITH_SOLID_DOTS,
|
1362
1619
|
h as PRESET_LINE_AREAS_BASIC,
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
|
1620
|
+
b as PRESET_LINE_AREAS_CURVE,
|
1621
|
+
x as PRESET_LINE_AREAS_HORIZONTAL,
|
1622
|
+
B as PRESET_LINE_AREAS_LOOSE_TICKS,
|
1623
|
+
D as PRESET_LINE_AREAS_ROTATE_AXIS_LABEL,
|
1624
|
+
G as PRESET_LINE_AREAS_SEPARATE_SERIES,
|
1625
|
+
v as PRESET_MULTI_GRID_BASIC,
|
1626
|
+
H as PRESET_MULTI_GRID_DIVERGING,
|
1627
|
+
f as PRESET_MULTI_GRID_ROUND_STYLE,
|
1371
1628
|
V as PRESET_MULTI_GRID_SEPARATE_GRID,
|
1372
1629
|
W as PRESET_MULTI_LINES_SEPARATE_GRID,
|
1373
1630
|
k as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID,
|
1631
|
+
Z as PRESET_MULTI_VALUE_BASIC,
|
1632
|
+
X as PRESET_MULTI_VALUE_SEPARATE_CATEGORY,
|
1374
1633
|
i as PRESET_PIE_BASIC,
|
1375
1634
|
r as PRESET_PIE_DONUT,
|
1376
1635
|
s as PRESET_PIE_HALF_DONUT,
|
1377
1636
|
l as PRESET_PIE_WITH_INNER_LABELS,
|
1378
1637
|
o as PRESET_ROSE_BASIC,
|
1379
1638
|
n as PRESET_ROSE_SCALING_BY_RADIUS,
|
1380
|
-
|
1381
|
-
|
1639
|
+
y as PRESET_SCATTER_BUBBLES_LINEAR_OPACITY,
|
1640
|
+
Y as PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS,
|
1641
|
+
S as PRESET_SERIES_BASIC,
|
1642
|
+
E as PRESET_SERIES_SEPARATE_SERIES,
|
1382
1643
|
d as PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES,
|
1383
|
-
|
1384
|
-
|
1644
|
+
R as PRESET_SERIES_SUM_SERIES,
|
1645
|
+
tt as PRESET_TREE_MAP_BASIC
|
1385
1646
|
};
|