@orbcharts/presets-basic 3.0.0-beta.5 → 3.0.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/LICENSE +200 -200
  2. package/dist/orbcharts-presets-basic.es.js +342 -162
  3. package/dist/orbcharts-presets-basic.umd.js +1 -1
  4. package/dist/src/index.d.ts +1 -0
  5. package/dist/src/params.d.ts +2 -1
  6. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BASIC.d.ts +4 -0
  7. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.d.ts +4 -0
  8. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.d.ts +4 -0
  9. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.d.ts +4 -0
  10. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.d.ts +4 -0
  11. package/dist/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.d.ts +4 -0
  12. package/dist/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.d.ts +4 -0
  13. package/dist/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.d.ts +4 -0
  14. package/dist/src/relationship/index.d.ts +8 -0
  15. package/dist/src/tree/PRESET_TREE_MAP_BASIC.d.ts +4 -0
  16. package/dist/src/tree/index.d.ts +1 -1
  17. package/dist/src/types.d.ts +29 -16
  18. package/lib/core-types.ts +7 -7
  19. package/lib/plugins-basic-types.ts +6 -6
  20. package/package.json +42 -42
  21. package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +56 -56
  22. package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +52 -52
  23. package/src/grid/PRESET_BARS_ROUND.ts +39 -39
  24. package/src/grid/PRESET_BARS_THIN.ts +36 -36
  25. package/src/grid/PRESET_GRID_BASIC.ts +27 -27
  26. package/src/grid/PRESET_GRID_HORIZONTAL.ts +44 -44
  27. package/src/grid/PRESET_GRID_PN_SCALE.ts +35 -35
  28. package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +35 -35
  29. package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +40 -40
  30. package/src/grid/PRESET_LINES_BASIC.ts +35 -35
  31. package/src/grid/PRESET_LINES_CURVE.ts +38 -38
  32. package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +37 -37
  33. package/src/grid/PRESET_LINES_HORIZONTAL.ts +51 -51
  34. package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +37 -37
  35. package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +40 -40
  36. package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +39 -39
  37. package/src/grid/PRESET_LINE_AREAS_BASIC.ts +43 -43
  38. package/src/grid/PRESET_LINE_AREAS_CURVE.ts +48 -48
  39. package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +47 -47
  40. package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +47 -47
  41. package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +45 -45
  42. package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +48 -48
  43. package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +50 -50
  44. package/src/grid/index.ts +22 -22
  45. package/src/index.ts +6 -5
  46. package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +38 -38
  47. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +86 -86
  48. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +58 -58
  49. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +60 -60
  50. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +86 -86
  51. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +104 -104
  52. package/src/multiGrid/index.ts +6 -6
  53. package/src/multiValue/PRESET_MULTI_VALUE_BASIC.ts +23 -23
  54. package/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.ts +26 -26
  55. package/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.ts +26 -26
  56. package/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.ts +26 -26
  57. package/src/multiValue/index.ts +3 -3
  58. package/src/params.ts +80 -71
  59. package/src/relationship/PRESET_FORCE_DIRECTED_BASIC.ts +23 -0
  60. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.ts +23 -0
  61. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.ts +28 -0
  62. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.ts +30 -0
  63. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.ts +25 -0
  64. package/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.ts +30 -0
  65. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.ts +28 -0
  66. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.ts +25 -0
  67. package/src/relationship/index.ts +8 -0
  68. package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +18 -18
  69. package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +29 -29
  70. package/src/series/PRESET_PIE_BASIC.ts +18 -18
  71. package/src/series/PRESET_PIE_DONUT.ts +23 -23
  72. package/src/series/PRESET_PIE_HALF_DONUT.ts +36 -36
  73. package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +24 -24
  74. package/src/series/PRESET_ROSE_BASIC.ts +19 -19
  75. package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +24 -24
  76. package/src/series/PRESET_SERIES_BASIC.ts +16 -16
  77. package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +17 -17
  78. package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +18 -18
  79. package/src/series/PRESET_SERIES_SUM_SERIES.ts +18 -18
  80. package/src/series/index.ts +13 -13
  81. package/src/tree/{PRESET_TREE_BASIC.ts → PRESET_TREE_MAP_BASIC.ts} +27 -27
  82. package/src/tree/index.ts +1 -1
  83. package/src/types.ts +349 -321
  84. package/tsconfig.base.json +13 -13
  85. package/tsconfig.json +2 -2
  86. package/vite.config.js +22 -22
  87. package/dist/src/tree/PRESET_TREE_BASIC.d.ts +0 -4
@@ -1,4 +1,4 @@
1
- const u = {
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
- }, S = {
14
+ }, _ = {
15
15
  name: "PRESET_BUBBLES_SEPARATE_SERIES",
16
16
  description: "分開顯示Series泡泡",
17
17
  chartParams: {
@@ -162,7 +162,7 @@ const n = {
162
162
  }
163
163
  };
164
164
  n.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
165
- const R = {
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 g = {
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
- g.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
203
- const E = {
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
- E.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
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
- valueAxis: {
230
- position: "bottom"
231
- // position: 'top'
232
- // position: 'left'
233
- // position: 'right'
234
- },
235
- groupAxis: {
236
- position: "left"
237
- // position: 'right'
238
- // position: 'bottom'
239
- // position: 'top'
240
- }
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
- valueAxis: {
277
- position: "bottom"
278
- // position: 'top'
279
- // position: 'left'
280
- // position: 'right'
281
- },
282
- groupAxis: {
283
- position: "left"
284
- // position: 'right'
285
- // position: 'bottom'
286
- // position: 'top'
287
- }
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
- }, p = {
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
- }, A = {
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
- }, c = {
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
- valueAxis: {
402
- position: "bottom"
403
- // position: 'top'
404
- // position: 'left'
405
- // position: 'right'
406
- },
407
- groupAxis: {
408
- position: "left"
409
- // position: 'right'
410
- // position: 'bottom'
411
- // position: 'top'
412
- }
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,
@@ -434,12 +434,12 @@ const _ = {
434
434
  }
435
435
  },
436
436
  dataFormatter: {
437
- grid: {
438
- valueAxis: {
439
- scaleDomain: ["auto", "auto"],
440
- scaleRange: [0.05, 0.95]
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,
@@ -492,10 +492,10 @@ const _ = {
492
492
  }
493
493
  },
494
494
  dataFormatter: {
495
- grid: {
496
- // seriesSlotIndexes: [0, 1],
497
- separateSeries: !0
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
- groupAxis: {
532
- scalePadding: 0
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
- }, x = {
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
- groupAxis: {
567
- scalePadding: 0
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
- }, b = {
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
- valueAxis: {
607
- position: "bottom"
608
- },
609
- groupAxis: {
610
- position: "left",
611
- scalePadding: 0
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
- }, G = {
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
- groupAxis: {
646
- scalePadding: 0
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
- }, B = {
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
- groupAxis: {
683
- scalePadding: 0
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
- }, M = {
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
- // seriesSlotIndexes: [0, 1],
723
- separateSeries: !0,
724
- groupAxis: {
725
- scalePadding: 0
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
- }, N = {
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
- }, D = {
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
- }, O = {
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
- valueAxis: {
822
- position: "bottom"
823
- // position: 'top'
824
- // position: 'left'
825
- // position: 'right'
826
- },
827
- groupAxis: {
828
- position: "left"
829
- // position: 'right'
830
- // position: 'bottom'
831
- // position: 'top'
832
- }
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
- }, v = {
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
- }, U = {
879
+ }, F = {
880
880
  name: "PRESET_LINES_ROTATE_AXIS_LABEL",
881
881
  description: "傾斜標籤",
882
882
  chartParams: {
@@ -908,7 +908,7 @@ const _ = {
908
908
  listRectHeight: 2
909
909
  }
910
910
  }
911
- }, H = {
911
+ }, U = {
912
912
  name: "PRESET_LINES_WITH_SOLID_DOTS",
913
913
  description: "折線圖及實心圓點",
914
914
  chartParams: {
@@ -925,7 +925,7 @@ const _ = {
925
925
  Lines: {},
926
926
  Dots: {
927
927
  radius: 3,
928
- fillColorType: "series",
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
- }, C = {
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
- }, V = {
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
- MultiValueStackAxis: {
1022
+ MultiStackedValueAxis: {
1023
1023
  gridIndexes: [0, 1]
1024
1024
  },
1025
1025
  MultiBars: {
1026
1026
  gridIndexes: [0, 1]
1027
1027
  },
1028
- MultiBarStack: {
1028
+ MultiStackedBar: {
1029
1029
  gridIndexes: [0, 1]
1030
1030
  },
1031
1031
  MultiBarsTriangle: {
@@ -1067,7 +1067,7 @@ const _ = {
1067
1067
  barGroupPadding: 10,
1068
1068
  barRadius: !0
1069
1069
  },
1070
- MultiBarStack: {},
1070
+ MultiStackedBar: {},
1071
1071
  MultiDots: {},
1072
1072
  MultiGridLegend: {
1073
1073
  // position: 'bottom',
@@ -1090,11 +1090,11 @@ const _ = {
1090
1090
  lineWidth: 3
1091
1091
  },
1092
1092
  MultiValueAxis: {},
1093
- MultiValueStackAxis: {},
1093
+ MultiStackedValueAxis: {},
1094
1094
  OverlappingValueAxes: {},
1095
- OverlappingValueStackAxes: {}
1095
+ OverlappingStackedValueAxes: {}
1096
1096
  }
1097
- }, F = {
1097
+ }, V = {
1098
1098
  name: "PRESET_MULTI_GRID_SEPARATE_GRID",
1099
1099
  description: "2組Grid圖表",
1100
1100
  chartParams: {
@@ -1117,13 +1117,13 @@ const _ = {
1117
1117
  MultiValueAxis: {
1118
1118
  gridIndexes: "all"
1119
1119
  },
1120
- MultiValueStackAxis: {
1120
+ MultiStackedValueAxis: {
1121
1121
  gridIndexes: "all"
1122
1122
  },
1123
1123
  MultiBars: {
1124
1124
  gridIndexes: "all"
1125
1125
  },
1126
- MultiBarStack: {
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
- MultiValueStackAxis: {
1191
+ MultiStackedValueAxis: {
1192
1192
  gridIndexes: "all"
1193
1193
  },
1194
1194
  MultiBars: {
1195
1195
  gridIndexes: "all"
1196
1196
  },
1197
- MultiBarStack: {
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
- MultiValueStackAxis: {
1268
+ MultiStackedValueAxis: {
1269
1269
  gridIndexes: "all"
1270
1270
  },
1271
1271
  MultiBars: {
1272
1272
  gridIndexes: "all"
1273
1273
  },
1274
- MultiBarStack: {
1274
+ MultiStackedBar: {
1275
1275
  gridIndexes: "all"
1276
1276
  },
1277
1277
  MultiBarsTriangle: {
@@ -1319,7 +1319,7 @@ const _ = {
1319
1319
  ]
1320
1320
  }
1321
1321
  }
1322
- }, Y = {
1322
+ }, Z = {
1323
1323
  name: "PRESET_MULTI_VALUE_BASIC",
1324
1324
  description: "基本MultiValue參數",
1325
1325
  chartParams: {
@@ -1336,7 +1336,7 @@ const _ = {
1336
1336
  padding: 14
1337
1337
  }
1338
1338
  }
1339
- }, y = {
1339
+ }, X = {
1340
1340
  name: "PRESET_MULTI_VALUE_SEPARATE_CATEGORY",
1341
1341
  description: "MultiValue 分開顯示category",
1342
1342
  chartParams: {
@@ -1356,7 +1356,7 @@ const _ = {
1356
1356
  padding: 14
1357
1357
  }
1358
1358
  }
1359
- }, X = {
1359
+ }, Y = {
1360
1360
  name: "PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS",
1361
1361
  description: "ScatterBubbles以半徑尺寸為比例",
1362
1362
  chartParams: {
@@ -1376,7 +1376,7 @@ const _ = {
1376
1376
  arcScaleType: "radius"
1377
1377
  }
1378
1378
  }
1379
- }, Z = {
1379
+ }, y = {
1380
1380
  name: "PRESET_SCATTER_BUBBLES_LINEAR_OPACITY",
1381
1381
  description: "ScatterBubbles漸變透明度",
1382
1382
  chartParams: {
@@ -1396,9 +1396,181 @@ const _ = {
1396
1396
  valueLinearOpacity: [0.6, 0.95]
1397
1397
  }
1398
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
+ }
1399
1435
  }, K = {
1400
- name: "PRESET_TREE_BASIC",
1401
- description: "基本Tree參數",
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參數",
1402
1574
  chartParams: {
1403
1575
  padding: {
1404
1576
  top: 40,
@@ -1419,48 +1591,56 @@ const _ = {
1419
1591
  }
1420
1592
  };
1421
1593
  export {
1422
- _ as PRESET_BARS_HORIZONTAL_AND_ROUND,
1594
+ u as PRESET_BARS_HORIZONTAL_AND_ROUND,
1423
1595
  P as PRESET_BARS_HORIZONTAL_AND_THIN,
1424
- p as PRESET_BARS_ROUND,
1425
- A as PRESET_BARS_THIN,
1426
- u as PRESET_BUBBLES_SCALING_BY_RADIUS,
1427
- S as PRESET_BUBBLES_SEPARATE_SERIES,
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,
1428
1608
  m as PRESET_GRID_BASIC,
1429
- c as PRESET_GRID_HORIZONTAL,
1609
+ A as PRESET_GRID_HORIZONTAL,
1430
1610
  T as PRESET_GRID_PN_SCALE,
1431
1611
  I as PRESET_GRID_ROTATE_AXIS_LABEL,
1432
1612
  L as PRESET_GRID_SEPARATE_SERIES,
1433
- N as PRESET_LINES_BASIC,
1434
- D as PRESET_LINES_CURVE,
1435
- O as PRESET_LINES_HORIZONTAL,
1436
- v as PRESET_LINES_LOOSE_TICKS,
1437
- U as PRESET_LINES_ROTATE_AXIS_LABEL,
1438
- H as PRESET_LINES_WITH_SOLID_DOTS,
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,
1618
+ U as PRESET_LINES_WITH_SOLID_DOTS,
1439
1619
  h as PRESET_LINE_AREAS_BASIC,
1440
- x as PRESET_LINE_AREAS_CURVE,
1441
- b as PRESET_LINE_AREAS_HORIZONTAL,
1442
- G as PRESET_LINE_AREAS_LOOSE_TICKS,
1443
- B as PRESET_LINE_AREAS_ROTATE_AXIS_LABEL,
1444
- M as PRESET_LINE_AREAS_SEPARATE_SERIES,
1445
- C as PRESET_MULTI_GRID_BASIC,
1446
- V as PRESET_MULTI_GRID_DIVERGING,
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,
1447
1627
  f as PRESET_MULTI_GRID_ROUND_STYLE,
1448
- F as PRESET_MULTI_GRID_SEPARATE_GRID,
1628
+ V as PRESET_MULTI_GRID_SEPARATE_GRID,
1449
1629
  W as PRESET_MULTI_LINES_SEPARATE_GRID,
1450
1630
  k as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID,
1451
- Y as PRESET_MULTI_VALUE_BASIC,
1452
- y as PRESET_MULTI_VALUE_SEPARATE_CATEGORY,
1631
+ Z as PRESET_MULTI_VALUE_BASIC,
1632
+ X as PRESET_MULTI_VALUE_SEPARATE_CATEGORY,
1453
1633
  i as PRESET_PIE_BASIC,
1454
1634
  r as PRESET_PIE_DONUT,
1455
1635
  s as PRESET_PIE_HALF_DONUT,
1456
1636
  l as PRESET_PIE_WITH_INNER_LABELS,
1457
1637
  o as PRESET_ROSE_BASIC,
1458
1638
  n as PRESET_ROSE_SCALING_BY_RADIUS,
1459
- Z as PRESET_SCATTER_BUBBLES_LINEAR_OPACITY,
1460
- X as PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS,
1461
- R as PRESET_SERIES_BASIC,
1462
- g as PRESET_SERIES_SEPARATE_SERIES,
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,
1463
1643
  d as PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES,
1464
- E as PRESET_SERIES_SUM_SERIES,
1465
- K as PRESET_TREE_BASIC
1644
+ R as PRESET_SERIES_SUM_SERIES,
1645
+ tt as PRESET_TREE_MAP_BASIC
1466
1646
  };