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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/LICENSE +200 -200
  2. package/dist/orbcharts-presets-basic.es.js +170 -131
  3. package/dist/orbcharts-presets-basic.umd.js +1 -1
  4. package/dist/src/multiValue/PRESET_RACING_BARS_LOOP.d.ts +4 -0
  5. package/dist/src/multiValue/index.d.ts +1 -0
  6. package/lib/core-types.ts +7 -7
  7. package/lib/plugins-basic-types.ts +6 -6
  8. package/package.json +42 -42
  9. package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +60 -60
  10. package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +61 -61
  11. package/src/grid/PRESET_BARS_ROUND.ts +56 -56
  12. package/src/grid/PRESET_BARS_THIN.ts +53 -53
  13. package/src/grid/PRESET_GRID_BASIC.ts +44 -44
  14. package/src/grid/PRESET_GRID_HORIZONTAL.ts +61 -61
  15. package/src/grid/PRESET_GRID_PN_SCALE.ts +52 -52
  16. package/src/grid/PRESET_GRID_PN_SCALE_SIMPLE.ts +49 -49
  17. package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +52 -52
  18. package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +57 -57
  19. package/src/grid/PRESET_GRID_SIMPLE.ts +44 -44
  20. package/src/grid/PRESET_LINES_BASIC.ts +48 -48
  21. package/src/grid/PRESET_LINES_CURVE.ts +51 -51
  22. package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +50 -50
  23. package/src/grid/PRESET_LINES_HORIZONTAL.ts +56 -56
  24. package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +50 -50
  25. package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +53 -53
  26. package/src/grid/PRESET_LINES_SIMPLE.ts +53 -53
  27. package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +52 -52
  28. package/src/grid/PRESET_LINE_AREAS_BASIC.ts +54 -60
  29. package/src/grid/PRESET_LINE_AREAS_CURVE.ts +65 -65
  30. package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +58 -58
  31. package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +58 -58
  32. package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +56 -56
  33. package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +59 -59
  34. package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +60 -60
  35. package/src/grid/PRESET_LINE_AREAS_SIMPLE.ts +57 -57
  36. package/src/grid/index.ts +26 -26
  37. package/src/index.ts +6 -6
  38. package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +50 -50
  39. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +98 -98
  40. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING_SIMPLE.ts +101 -101
  41. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +71 -71
  42. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE_SIMPLE.ts +81 -81
  43. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +73 -73
  44. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE.ts +84 -84
  45. package/src/multiGrid/PRESET_MULTI_GRID_SIMPLE.ts +60 -60
  46. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +101 -101
  47. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE.ts +110 -110
  48. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +119 -119
  49. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE.ts +113 -113
  50. package/src/multiGrid/index.ts +12 -12
  51. package/src/multiValue/PRESET_MULTI_VALUE_BASIC.ts +39 -39
  52. package/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.ts +50 -50
  53. package/src/multiValue/PRESET_MULTI_VALUE_SIMPLE.ts +39 -39
  54. package/src/multiValue/PRESET_RACING_BARS_ALL_ITEMS.ts +44 -44
  55. package/src/multiValue/PRESET_RACING_BARS_BASIC.ts +43 -43
  56. package/src/multiValue/PRESET_RACING_BARS_FAST.ts +43 -43
  57. package/src/multiValue/PRESET_RACING_BARS_FASTER.ts +43 -43
  58. package/src/multiValue/PRESET_RACING_BARS_LOOP.ts +44 -0
  59. package/src/multiValue/PRESET_RACING_BARS_OUTSIDE_LABELS.ts +47 -47
  60. package/src/multiValue/PRESET_RACING_BARS_SEPARATE_CATEGORY.ts +60 -60
  61. package/src/multiValue/PRESET_RACING_BARS_SIMPLE.ts +43 -43
  62. package/src/multiValue/PRESET_RACING_BARS_STOP.ts +42 -42
  63. package/src/multiValue/PRESET_SCATTER_BASIC.ts +40 -40
  64. package/src/multiValue/PRESET_SCATTER_BUBBLES_BASIC.ts +40 -40
  65. package/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.ts +43 -43
  66. package/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.ts +43 -43
  67. package/src/multiValue/PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY.ts +43 -43
  68. package/src/multiValue/PRESET_SCATTER_BUBBLES_SIMPLE.ts +40 -40
  69. package/src/multiValue/PRESET_SCATTER_SEPARATE_CATEGORY.ts +51 -51
  70. package/src/multiValue/PRESET_SCATTER_SIMPLE.ts +40 -40
  71. package/src/multiValue/index.ts +20 -19
  72. package/src/params.ts +83 -83
  73. package/src/relationship/PRESET_FORCE_DIRECTED_BASIC.ts +33 -33
  74. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.ts +33 -33
  75. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.ts +38 -38
  76. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.ts +38 -38
  77. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.ts +35 -35
  78. package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE.ts +34 -34
  79. package/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.ts +40 -40
  80. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.ts +38 -38
  81. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.ts +35 -35
  82. package/src/relationship/PRESET_FORCE_DIRECTED_SIMPLE.ts +34 -34
  83. package/src/relationship/index.ts +9 -9
  84. package/src/series/PRESET_BUBBLES_BASIC.ts +32 -32
  85. package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +35 -35
  86. package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +44 -44
  87. package/src/series/PRESET_BUBBLES_SIMPLE.ts +39 -39
  88. package/src/series/PRESET_BUBBLES_SUM_SERIES.ts +34 -34
  89. package/src/series/PRESET_PIE_BASIC.ts +35 -35
  90. package/src/series/PRESET_PIE_DONUT.ts +40 -40
  91. package/src/series/PRESET_PIE_HALF_DONUT.ts +52 -52
  92. package/src/series/PRESET_PIE_SEPARATE_SERIES.ts +33 -33
  93. package/src/series/PRESET_PIE_SIMPLE.ts +42 -42
  94. package/src/series/PRESET_PIE_SUM_SERIES.ts +34 -34
  95. package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +41 -41
  96. package/src/series/PRESET_ROSE_BASIC.ts +41 -41
  97. package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +47 -47
  98. package/src/series/PRESET_ROSE_SEPARATE_SERIES.ts +41 -41
  99. package/src/series/PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES.ts +42 -42
  100. package/src/series/PRESET_ROSE_SIMPLE.ts +42 -42
  101. package/src/series/PRESET_ROSE_SUM_SERIES.ts +40 -40
  102. package/src/series/PRESET_SERIES_BASIC.ts +32 -32
  103. package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +15 -15
  104. package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +16 -16
  105. package/src/series/PRESET_SERIES_SUM_SERIES.ts +17 -17
  106. package/src/series/index.ts +23 -23
  107. package/src/tree/PRESET_TREE_MAP_BASIC.ts +44 -44
  108. package/src/tree/PRESET_TREE_MAP_SIMPLE.ts +40 -44
  109. package/src/tree/index.ts +1 -1
  110. package/src/types.ts +368 -368
  111. package/tsconfig.base.json +13 -13
  112. package/tsconfig.json +2 -2
  113. package/vite.config.js +22 -22
@@ -282,7 +282,7 @@ const s = {
282
282
  }
283
283
  };
284
284
  s.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
285
- const o = {
285
+ const l = {
286
286
  name: "PRESET_PIE_WITH_INNER_LABELS",
287
287
  description: "Pie chart with inner data labels",
288
288
  descriptionZh: "圓餅圖及內部資料標籤",
@@ -321,8 +321,8 @@ const o = {
321
321
  }
322
322
  }
323
323
  };
324
- o.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
325
- const l = {
324
+ l.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
325
+ const o = {
326
326
  name: "PRESET_PIE_SEPARATE_SERIES",
327
327
  description: "Separate pie chart of Series",
328
328
  descriptionZh: "分開顯示Series的圓餅圖",
@@ -350,7 +350,7 @@ const l = {
350
350
  },
351
351
  pluginParams: {}
352
352
  };
353
- l.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
353
+ o.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
354
354
  const n = {
355
355
  name: "PRESET_PIE_SIMPLE",
356
356
  description: "Simple pie chart",
@@ -459,7 +459,7 @@ const E = {
459
459
  }
460
460
  };
461
461
  E.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
462
- const F = {
462
+ const c = {
463
463
  name: "PRESET_ROSE_SCALING_BY_RADIUS",
464
464
  description: "Rose chart with radius scaling",
465
465
  descriptionZh: "以半徑尺寸為比例的玫瑰圖",
@@ -503,8 +503,8 @@ const F = {
503
503
  }
504
504
  }
505
505
  };
506
- F.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
507
- const c = {
506
+ c.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
507
+ const F = {
508
508
  name: "PRESET_ROSE_SEPARATE_SERIES",
509
509
  description: "Separate rose chart of Series",
510
510
  descriptionZh: "分開顯示Series的玫瑰圖",
@@ -541,7 +541,7 @@ const c = {
541
541
  // ...ALL_PLUGIN_PARAMS_NONE_DATA,
542
542
  }
543
543
  };
544
- c.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
544
+ F.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
545
545
  const g = {
546
546
  name: "PRESET_ROSE_SIMPLE",
547
547
  description: "Simple Rose chart",
@@ -916,10 +916,10 @@ const P = {
916
916
  padding: 14
917
917
  }
918
918
  }
919
- }, L = {
919
+ }, b = {
920
920
  name: "PRESET_GRID_BASIC",
921
921
  description: "Basic Grid",
922
- descriptionZh: "基本Grid參數",
922
+ descriptionZh: "基本Grid",
923
923
  chartParams: {
924
924
  colors: {
925
925
  light: {
@@ -954,7 +954,7 @@ const P = {
954
954
  padding: 14
955
955
  }
956
956
  }
957
- }, b = {
957
+ }, L = {
958
958
  name: "PRESET_GRID_HORIZONTAL",
959
959
  description: "Horizontal Grid",
960
960
  descriptionZh: "橫向圖",
@@ -1199,7 +1199,7 @@ const P = {
1199
1199
  }, N = {
1200
1200
  name: "PRESET_GRID_SIMPLE",
1201
1201
  description: "Simple Grid",
1202
- descriptionZh: "簡單Grid參數",
1202
+ descriptionZh: "簡單Grid",
1203
1203
  chartParams: {
1204
1204
  colors: {
1205
1205
  light: {
@@ -1258,21 +1258,19 @@ const P = {
1258
1258
  },
1259
1259
  padding: {
1260
1260
  top: 40,
1261
- right: 40,
1261
+ right: 80,
1262
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
1262
1263
  bottom: 100,
1263
1264
  left: 80
1264
1265
  },
1265
1266
  highlightTarget: "series"
1266
1267
  },
1267
1268
  dataFormatter: {
1268
- // grid: {
1269
1269
  groupAxis: {
1270
1270
  scalePadding: 0
1271
1271
  }
1272
- // }
1273
1272
  },
1274
1273
  pluginParams: {
1275
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
1276
1274
  Lines: {},
1277
1275
  LineAreas: {},
1278
1276
  Dots: {},
@@ -1280,8 +1278,6 @@ const P = {
1280
1278
  ValueAxis: {},
1281
1279
  GroupAux: {},
1282
1280
  GridLegend: {
1283
- // position: 'bottom',
1284
- // justify: 'center',
1285
1281
  placement: "bottom",
1286
1282
  padding: 14,
1287
1283
  listRectHeight: 2
@@ -1310,7 +1306,8 @@ const P = {
1310
1306
  },
1311
1307
  padding: {
1312
1308
  top: 40,
1313
- right: 40,
1309
+ right: 80,
1310
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
1314
1311
  bottom: 100,
1315
1312
  left: 80
1316
1313
  },
@@ -1418,7 +1415,8 @@ const P = {
1418
1415
  },
1419
1416
  padding: {
1420
1417
  top: 40,
1421
- right: 40,
1418
+ right: 80,
1419
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
1422
1420
  bottom: 100,
1423
1421
  left: 80
1424
1422
  },
@@ -1572,9 +1570,11 @@ const P = {
1572
1570
  },
1573
1571
  padding: {
1574
1572
  top: 40,
1575
- right: 40,
1573
+ right: 80,
1574
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
1576
1575
  bottom: 80,
1577
- left: 40
1576
+ left: 80
1577
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
1578
1578
  },
1579
1579
  highlightTarget: "series"
1580
1580
  },
@@ -1916,7 +1916,7 @@ const P = {
1916
1916
  }, j = {
1917
1917
  name: "PRESET_MULTI_GRID_BASIC",
1918
1918
  description: "Basic MultiGrid",
1919
- descriptionZh: "基本MultiGrid參數",
1919
+ descriptionZh: "基本MultiGrid",
1920
1920
  chartParams: {
1921
1921
  colors: {
1922
1922
  light: {
@@ -2007,7 +2007,7 @@ const P = {
2007
2007
  ],
2008
2008
  // 設定排版方式
2009
2009
  container: {
2010
- gap: 100,
2010
+ gap: 140,
2011
2011
  rowAmount: 1,
2012
2012
  columnAmount: 2
2013
2013
  },
@@ -2275,8 +2275,8 @@ const P = {
2275
2275
  }
2276
2276
  }, tt = {
2277
2277
  name: "PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE",
2278
- description: "Simple 2 groups of Grid chart",
2279
- descriptionZh: "簡單2組Grid圖表",
2278
+ description: "Simple separate grid",
2279
+ descriptionZh: "簡單的分開顯示Grid圖表",
2280
2280
  chartParams: {
2281
2281
  colors: {
2282
2282
  light: {
@@ -2351,8 +2351,8 @@ const P = {
2351
2351
  }
2352
2352
  }, et = {
2353
2353
  name: "PRESET_MULTI_GRID_SEPARATE_GRID",
2354
- description: "2 groups of Grid chart",
2355
- descriptionZh: "2組Grid圖表",
2354
+ description: "Separate Grid",
2355
+ descriptionZh: "分開顯示Grid圖表",
2356
2356
  chartParams: {
2357
2357
  colors: {
2358
2358
  light: {
@@ -2467,8 +2467,8 @@ const P = {
2467
2467
  }
2468
2468
  }, at = {
2469
2469
  name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE",
2470
- description: "Simple 2 groups of Line Area chart",
2471
- descriptionZh: "簡單2組區域折線圖",
2470
+ description: "Simple separate grid line areas",
2471
+ descriptionZh: "簡單的分開顯示Grid的折線區域圖",
2472
2472
  chartParams: {
2473
2473
  colors: {
2474
2474
  light: {
@@ -2488,9 +2488,11 @@ const P = {
2488
2488
  },
2489
2489
  padding: {
2490
2490
  top: 40,
2491
- right: 60,
2491
+ right: 80,
2492
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
2492
2493
  bottom: 80,
2493
- left: 60
2494
+ left: 80
2495
+ // lineAre 的左右刻度靠邊,要避免太窄造成 label 超出
2494
2496
  }
2495
2497
  },
2496
2498
  dataFormatter: {
@@ -2505,10 +2507,10 @@ const P = {
2505
2507
  }
2506
2508
  }
2507
2509
  ],
2508
- separateGrid: !0
2509
- // container: {
2510
- // gap: 40
2511
- // }
2510
+ separateGrid: !0,
2511
+ container: {
2512
+ gap: 160
2513
+ }
2512
2514
  },
2513
2515
  pluginParams: {
2514
2516
  MultiGroupAxis: {
@@ -2572,8 +2574,8 @@ const P = {
2572
2574
  }
2573
2575
  }, rt = {
2574
2576
  name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID",
2575
- description: "2 groups of Line Area chart",
2576
- descriptionZh: "2組區域折線圖",
2577
+ description: "Separate Grid line areas",
2578
+ descriptionZh: "分開顯示Grid的折線區域圖",
2577
2579
  chartParams: {
2578
2580
  colors: {
2579
2581
  light: {
@@ -2683,8 +2685,8 @@ const P = {
2683
2685
  }
2684
2686
  }, st = {
2685
2687
  name: "PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE",
2686
- description: "Simple Multiple groups of Line chart",
2687
- descriptionZh: "簡單多組分開折線圖表",
2688
+ description: "Simple separate grid line",
2689
+ descriptionZh: "簡單的分開顯示Grid的折線圖",
2688
2690
  chartParams: {
2689
2691
  colors: {
2690
2692
  light: {
@@ -2783,10 +2785,10 @@ const P = {
2783
2785
  ]
2784
2786
  }
2785
2787
  }
2786
- }, ot = {
2788
+ }, lt = {
2787
2789
  name: "PRESET_MULTI_LINES_SEPARATE_GRID",
2788
- description: "Multiple groups of Line chart",
2789
- descriptionZh: "多組分開折線圖表",
2790
+ description: "Separate Grid line",
2791
+ descriptionZh: "分開顯示Grid的折線圖",
2790
2792
  chartParams: {
2791
2793
  colors: {
2792
2794
  light: {
@@ -2876,7 +2878,7 @@ const P = {
2876
2878
  ]
2877
2879
  }
2878
2880
  }
2879
- }, lt = {
2881
+ }, ot = {
2880
2882
  name: "PRESET_MULTI_VALUE_BASIC",
2881
2883
  description: "Basic MultiValue",
2882
2884
  descriptionZh: "基本MultiValue參數",
@@ -2991,7 +2993,7 @@ const P = {
2991
2993
  }
2992
2994
  }, Et = {
2993
2995
  name: "PRESET_RACING_BARS_ALL_ITEMS",
2994
- description: "Racing Bars for all items",
2996
+ description: "Racing bars for all items",
2995
2997
  descriptionZh: "顯示全部項目的賽跑長條圖",
2996
2998
  chartParams: {
2997
2999
  colors: {
@@ -3028,9 +3030,9 @@ const P = {
3028
3030
  padding: 14
3029
3031
  }
3030
3032
  }
3031
- }, Ft = {
3033
+ }, ct = {
3032
3034
  name: "PRESET_RACING_BARS_BASIC",
3033
- description: "Basic Racing Bars",
3035
+ description: "Basic racing bars",
3034
3036
  descriptionZh: "基本賽跑長條圖",
3035
3037
  chartParams: {
3036
3038
  colors: {
@@ -3066,9 +3068,9 @@ const P = {
3066
3068
  padding: 14
3067
3069
  }
3068
3070
  }
3069
- }, ct = {
3071
+ }, Ft = {
3070
3072
  name: "PRESET_RACING_BARS_FAST",
3071
- description: "Fast Racing Bars",
3073
+ description: "Fast racing bars",
3072
3074
  descriptionZh: "快速的賽跑長條圖",
3073
3075
  chartParams: {
3074
3076
  colors: {
@@ -3106,7 +3108,7 @@ const P = {
3106
3108
  }
3107
3109
  }, gt = {
3108
3110
  name: "PRESET_RACING_BARS_FASTER",
3109
- description: "Faster Racing Bars",
3111
+ description: "Faster racing bars",
3110
3112
  descriptionZh: "更快速的賽跑長條圖",
3111
3113
  chartParams: {
3112
3114
  colors: {
@@ -3143,8 +3145,47 @@ const P = {
3143
3145
  }
3144
3146
  }
3145
3147
  }, Bt = {
3148
+ name: "PRESET_RACING_BARS_LOOP",
3149
+ description: "Looping racing bars",
3150
+ descriptionZh: "循環的賽跑長條圖",
3151
+ chartParams: {
3152
+ colors: {
3153
+ light: {
3154
+ label: [
3155
+ "#4BABFF",
3156
+ "#FFA0A0",
3157
+ "#7DD3C4",
3158
+ "#F9B052",
3159
+ "#8454D4",
3160
+ "#42C724",
3161
+ "#FF4B4B",
3162
+ "#904026",
3163
+ "#4B25B3",
3164
+ "#C50669"
3165
+ ]
3166
+ }
3167
+ },
3168
+ padding: {
3169
+ top: 60,
3170
+ right: 60,
3171
+ bottom: 100,
3172
+ left: 60
3173
+ },
3174
+ transitionDuration: 500
3175
+ },
3176
+ pluginParams: {
3177
+ RacingBars: {
3178
+ autorun: !0,
3179
+ loop: !0
3180
+ },
3181
+ MultiValueLegend: {
3182
+ placement: "bottom",
3183
+ padding: 14
3184
+ }
3185
+ }
3186
+ }, pt = {
3146
3187
  name: "PRESET_RACING_BARS_OUTSIDE_LABELS",
3147
- description: "Racing Bars with labels outside",
3188
+ description: "Racing bars with labels outside",
3148
3189
  descriptionZh: "標籤在外面的賽跑長條圖",
3149
3190
  chartParams: {
3150
3191
  colors: {
@@ -3184,9 +3225,9 @@ const P = {
3184
3225
  padding: 14
3185
3226
  }
3186
3227
  }
3187
- }, pt = {
3228
+ }, At = {
3188
3229
  name: "PRESET_RACING_BARS_SEPARATE_CATEGORY",
3189
- description: "Racing Bars with separate category",
3230
+ description: "Racing bars with separate category",
3190
3231
  descriptionZh: "分開顯示category的賽跑長條圖",
3191
3232
  chartParams: {
3192
3233
  colors: {
@@ -3239,9 +3280,9 @@ const P = {
3239
3280
  padding: 14
3240
3281
  }
3241
3282
  }
3242
- }, At = {
3283
+ }, St = {
3243
3284
  name: "PRESET_RACING_BARS_SIMPLE",
3244
- description: "Simple Racing Bars",
3285
+ description: "Simple racing bars",
3245
3286
  descriptionZh: "簡單賽跑長條圖",
3246
3287
  chartParams: {
3247
3288
  colors: {
@@ -3277,9 +3318,9 @@ const P = {
3277
3318
  padding: 7
3278
3319
  }
3279
3320
  }
3280
- }, St = {
3321
+ }, Rt = {
3281
3322
  name: "PRESET_RACING_BARS_STOP",
3282
- description: "Stopped Racing Bars",
3323
+ description: "Stopped racing bars",
3283
3324
  descriptionZh: "停止的賽跑長條圖",
3284
3325
  chartParams: {
3285
3326
  colors: {
@@ -3314,9 +3355,9 @@ const P = {
3314
3355
  padding: 14
3315
3356
  }
3316
3357
  }
3317
- }, Rt = {
3358
+ }, ut = {
3318
3359
  name: "PRESET_SCATTER_BASIC",
3319
- description: "Basic Scatter",
3360
+ description: "Basic scatter",
3320
3361
  descriptionZh: "基本散布圖",
3321
3362
  chartParams: {
3322
3363
  colors: {
@@ -3350,9 +3391,9 @@ const P = {
3350
3391
  // 圓型圖例列點
3351
3392
  }
3352
3393
  }
3353
- }, ut = {
3394
+ }, _t = {
3354
3395
  name: "PRESET_SCATTER_BUBBLES_BASIC",
3355
- description: "Basic Scatter Bubbles",
3396
+ description: "Basic scatter bubbles",
3356
3397
  descriptionZh: "基本的散布泡泡圖",
3357
3398
  chartParams: {
3358
3399
  colors: {
@@ -3386,9 +3427,9 @@ const P = {
3386
3427
  // 圓型圖例列點
3387
3428
  }
3388
3429
  }
3389
- }, _t = {
3430
+ }, Ct = {
3390
3431
  name: "PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS",
3391
- description: "Scatter Bubbles with Radius Scaling",
3432
+ description: "Scatter bubbles with radius scaling",
3392
3433
  descriptionZh: "以半徑尺寸為比例的散布泡泡圖",
3393
3434
  chartParams: {
3394
3435
  colors: {
@@ -3425,9 +3466,9 @@ const P = {
3425
3466
  arcScaleType: "radius"
3426
3467
  }
3427
3468
  }
3428
- }, Ct = {
3469
+ }, mt = {
3429
3470
  name: "PRESET_SCATTER_BUBBLES_LINEAR_OPACITY",
3430
- description: "Scatter Bubbles with Linear Opacity",
3471
+ description: "Scatter bubbles with linear opacity",
3431
3472
  descriptionZh: "漸變透明度的散布泡泡圖",
3432
3473
  chartParams: {
3433
3474
  colors: {
@@ -3464,9 +3505,9 @@ const P = {
3464
3505
  valueLinearOpacity: [0.6, 0.95]
3465
3506
  }
3466
3507
  }
3467
- }, mt = {
3508
+ }, ht = {
3468
3509
  name: "PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY",
3469
- description: "Scatter Bubbles with Separate Category",
3510
+ description: "Scatter bubbles with separate category",
3470
3511
  descriptionZh: "分開顯示category的散布泡泡圖",
3471
3512
  chartParams: {
3472
3513
  colors: {
@@ -3503,9 +3544,9 @@ const P = {
3503
3544
  // 圓型圖例列點
3504
3545
  }
3505
3546
  }
3506
- }, ht = {
3547
+ }, Pt = {
3507
3548
  name: "PRESET_SCATTER_BUBBLES_SIMPLE",
3508
- description: "Simple Scatter Bubbles",
3549
+ description: "Simple scatter bubbles",
3509
3550
  descriptionZh: "簡單的散布泡泡圖",
3510
3551
  chartParams: {
3511
3552
  colors: {
@@ -3539,9 +3580,9 @@ const P = {
3539
3580
  // 圓型圖例列點
3540
3581
  }
3541
3582
  }
3542
- }, Pt = {
3583
+ }, Dt = {
3543
3584
  name: "PRESET_SCATTER_SEPARATE_CATEGORY",
3544
- description: "Scatter with Separate Category",
3585
+ description: "Scatter with separate category",
3545
3586
  descriptionZh: "分開顯示category的散布圖",
3546
3587
  chartParams: {
3547
3588
  colors: {
@@ -3586,9 +3627,9 @@ const P = {
3586
3627
  // 圓型圖例列點
3587
3628
  }
3588
3629
  }
3589
- }, Dt = {
3630
+ }, Tt = {
3590
3631
  name: "PRESET_SCATTER_SIMPLE",
3591
- description: "Simple Scatter",
3632
+ description: "Simple scatter",
3592
3633
  descriptionZh: "簡單散布圖",
3593
3634
  chartParams: {
3594
3635
  colors: {
@@ -3622,9 +3663,9 @@ const P = {
3622
3663
  // 圓型圖例列點
3623
3664
  }
3624
3665
  }
3625
- }, Tt = {
3666
+ }, It = {
3626
3667
  name: "PRESET_FORCE_DIRECTED_BASIC",
3627
- description: "Basic Force Directed Chart",
3668
+ description: "Basic force directed chart",
3628
3669
  descriptionZh: "基本力導向圖",
3629
3670
  chartParams: {
3630
3671
  colors: {
@@ -3651,9 +3692,9 @@ const P = {
3651
3692
  // 圓型圖例列點
3652
3693
  }
3653
3694
  }
3654
- }, It = {
3695
+ }, bt = {
3655
3696
  name: "PRESET_FORCE_DIRECTED_BUBBLES_BASIC",
3656
- description: "Basic Force Directed Bubbles Chart",
3697
+ description: "Basic force directed bubbles chart",
3657
3698
  descriptionZh: "基本力導向泡泡圖",
3658
3699
  chartParams: {
3659
3700
  colors: {
@@ -3714,7 +3755,7 @@ const P = {
3714
3755
  // 圓型圖例列點
3715
3756
  }
3716
3757
  }
3717
- }, bt = {
3758
+ }, Mt = {
3718
3759
  name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW",
3719
3760
  description: "Force-directed bubble chart without arrows",
3720
3761
  descriptionZh: "沒有箭頭的力導向泡泡圖",
@@ -3748,9 +3789,9 @@ const P = {
3748
3789
  // 圓型圖例列點
3749
3790
  }
3750
3791
  }
3751
- }, Mt = {
3792
+ }, xt = {
3752
3793
  name: "PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM",
3753
- description: "Force Directed Bubbles Chart without mouse drag and zoom control",
3794
+ description: "Force Directed bubbles chart without mouse drag and zoom control",
3754
3795
  descriptionZh: "無滑鼠托曳及縮放控制的力導向泡泡圖",
3755
3796
  chartParams: {
3756
3797
  colors: {
@@ -3779,9 +3820,9 @@ const P = {
3779
3820
  // 圓型圖例列點
3780
3821
  }
3781
3822
  }
3782
- }, xt = {
3823
+ }, Gt = {
3783
3824
  name: "PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE",
3784
- description: "Simple Force Directed Bubbles Chart",
3825
+ description: "Simple force directed bubbles chart",
3785
3826
  descriptionZh: "簡單力導向泡泡圖",
3786
3827
  chartParams: {
3787
3828
  colors: {
@@ -3809,9 +3850,9 @@ const P = {
3809
3850
  padding: 7
3810
3851
  }
3811
3852
  }
3812
- }, Gt = {
3853
+ }, Ot = {
3813
3854
  name: "PRESET_FORCE_DIRECTED_NONE_ZOOM",
3814
- description: "Force Directed Chart without mouse drag and zoom control",
3855
+ description: "Force directed chart without mouse drag and zoom control",
3815
3856
  descriptionZh: "無滑鼠托曳及縮放控制的力導向圖",
3816
3857
  chartParams: {
3817
3858
  colors: {
@@ -3840,9 +3881,9 @@ const P = {
3840
3881
  // 圓型圖例列點
3841
3882
  }
3842
3883
  }
3843
- }, Ot = {
3884
+ }, Nt = {
3844
3885
  name: "PRESET_FORCE_DIRECTED_FIX_FONT_SIZE",
3845
- description: "Force Directed Chart with fixed font size",
3886
+ description: "Force directed chart with fixed font size",
3846
3887
  descriptionZh: "固定字體大小的力導向圖",
3847
3888
  chartParams: {
3848
3889
  colors: {
@@ -3876,9 +3917,9 @@ const P = {
3876
3917
  // 圓型圖例列點
3877
3918
  }
3878
3919
  }
3879
- }, Nt = {
3920
+ }, vt = {
3880
3921
  name: "PRESET_FORCE_DIRECTED_NONE_ARROW",
3881
- description: "Force Directed Chart without Arrows",
3922
+ description: "Force directed chart without arrows",
3882
3923
  descriptionZh: "沒有箭頭的力導向圖",
3883
3924
  chartParams: {
3884
3925
  colors: {
@@ -3910,9 +3951,9 @@ const P = {
3910
3951
  // 圓型圖例列點
3911
3952
  }
3912
3953
  }
3913
- }, vt = {
3954
+ }, Zt = {
3914
3955
  name: "PRESET_FORCE_DIRECTED_SIMPLE",
3915
- description: "Simple Force Directed Chart",
3956
+ description: "Simple force directed chart",
3916
3957
  descriptionZh: "簡單力導向圖",
3917
3958
  chartParams: {
3918
3959
  colors: {
@@ -3940,9 +3981,9 @@ const P = {
3940
3981
  padding: 7
3941
3982
  }
3942
3983
  }
3943
- }, Zt = {
3984
+ }, Ut = {
3944
3985
  name: "PRESET_TREE_MAP_BASIC",
3945
- description: "Basic Tree Map",
3986
+ description: "Basic tree map",
3946
3987
  descriptionZh: "基本樹狀矩形圖",
3947
3988
  chartParams: {
3948
3989
  colors: {
@@ -3978,9 +4019,9 @@ const P = {
3978
4019
  padding: 14
3979
4020
  }
3980
4021
  }
3981
- }, Ut = {
4022
+ }, ft = {
3982
4023
  name: "PRESET_TREE_MAP_SIMPLE",
3983
- description: "Simple Tree Map",
4024
+ description: "Simple tree map",
3984
4025
  descriptionZh: "簡單樹狀矩形圖",
3985
4026
  chartParams: {
3986
4027
  colors: {
@@ -4002,16 +4043,13 @@ const P = {
4002
4043
  padding: {
4003
4044
  top: 40,
4004
4045
  right: 40,
4005
- bottom: 60,
4046
+ bottom: 40,
4006
4047
  left: 40
4007
4048
  }
4008
4049
  },
4009
4050
  pluginParams: {
4010
- // ...ALL_PLUGIN_PARAMS_NONE_DATA,
4011
4051
  TreeMap: {},
4012
4052
  TreeLegend: {
4013
- // position: 'bottom',
4014
- // justify: 'center',
4015
4053
  placement: "bottom",
4016
4054
  padding: 7
4017
4055
  }
@@ -4027,18 +4065,18 @@ export {
4027
4065
  C as PRESET_BUBBLES_SEPARATE_SERIES,
4028
4066
  m as PRESET_BUBBLES_SIMPLE,
4029
4067
  i as PRESET_BUBBLES_SUM_SERIES,
4030
- Tt as PRESET_FORCE_DIRECTED_BASIC,
4031
- It as PRESET_FORCE_DIRECTED_BUBBLES_BASIC,
4068
+ It as PRESET_FORCE_DIRECTED_BASIC,
4069
+ bt as PRESET_FORCE_DIRECTED_BUBBLES_BASIC,
4032
4070
  Lt as PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH,
4033
- bt as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW,
4034
- Mt as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM,
4035
- xt as PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE,
4036
- Ot as PRESET_FORCE_DIRECTED_FIX_FONT_SIZE,
4037
- Nt as PRESET_FORCE_DIRECTED_NONE_ARROW,
4038
- Gt as PRESET_FORCE_DIRECTED_NONE_ZOOM,
4039
- vt as PRESET_FORCE_DIRECTED_SIMPLE,
4040
- L as PRESET_GRID_BASIC,
4041
- b as PRESET_GRID_HORIZONTAL,
4071
+ Mt as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW,
4072
+ xt as PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM,
4073
+ Gt as PRESET_FORCE_DIRECTED_BUBBLES_SIMPLE,
4074
+ Nt as PRESET_FORCE_DIRECTED_FIX_FONT_SIZE,
4075
+ vt as PRESET_FORCE_DIRECTED_NONE_ARROW,
4076
+ Ot as PRESET_FORCE_DIRECTED_NONE_ZOOM,
4077
+ Zt as PRESET_FORCE_DIRECTED_SIMPLE,
4078
+ b as PRESET_GRID_BASIC,
4079
+ L as PRESET_GRID_HORIZONTAL,
4042
4080
  x as PRESET_GRID_PN_SCALE,
4043
4081
  M as PRESET_GRID_PN_SCALE_SIMPLE,
4044
4082
  G as PRESET_GRID_ROTATE_AXIS_LABEL,
@@ -4066,46 +4104,47 @@ export {
4066
4104
  et as PRESET_MULTI_GRID_SEPARATE_GRID,
4067
4105
  tt as PRESET_MULTI_GRID_SEPARATE_GRID_SIMPLE,
4068
4106
  it as PRESET_MULTI_GRID_SIMPLE,
4069
- ot as PRESET_MULTI_LINES_SEPARATE_GRID,
4107
+ lt as PRESET_MULTI_LINES_SEPARATE_GRID,
4070
4108
  st as PRESET_MULTI_LINES_SEPARATE_GRID_SIMPLE,
4071
4109
  rt as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID,
4072
4110
  at as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID_SIMPLE,
4073
- lt as PRESET_MULTI_VALUE_BASIC,
4111
+ ot as PRESET_MULTI_VALUE_BASIC,
4074
4112
  nt as PRESET_MULTI_VALUE_SEPARATE_CATEGORY,
4075
4113
  dt as PRESET_MULTI_VALUE_SIMPLE,
4076
4114
  a as PRESET_PIE_BASIC,
4077
4115
  r as PRESET_PIE_DONUT,
4078
4116
  s as PRESET_PIE_HALF_DONUT,
4079
- l as PRESET_PIE_SEPARATE_SERIES,
4117
+ o as PRESET_PIE_SEPARATE_SERIES,
4080
4118
  n as PRESET_PIE_SIMPLE,
4081
4119
  d as PRESET_PIE_SUM_SERIES,
4082
- o as PRESET_PIE_WITH_INNER_LABELS,
4120
+ l as PRESET_PIE_WITH_INNER_LABELS,
4083
4121
  Et as PRESET_RACING_BARS_ALL_ITEMS,
4084
- Ft as PRESET_RACING_BARS_BASIC,
4085
- ct as PRESET_RACING_BARS_FAST,
4122
+ ct as PRESET_RACING_BARS_BASIC,
4123
+ Ft as PRESET_RACING_BARS_FAST,
4086
4124
  gt as PRESET_RACING_BARS_FASTER,
4087
- Bt as PRESET_RACING_BARS_OUTSIDE_LABELS,
4088
- pt as PRESET_RACING_BARS_SEPARATE_CATEGORY,
4089
- At as PRESET_RACING_BARS_SIMPLE,
4090
- St as PRESET_RACING_BARS_STOP,
4125
+ Bt as PRESET_RACING_BARS_LOOP,
4126
+ pt as PRESET_RACING_BARS_OUTSIDE_LABELS,
4127
+ At as PRESET_RACING_BARS_SEPARATE_CATEGORY,
4128
+ St as PRESET_RACING_BARS_SIMPLE,
4129
+ Rt as PRESET_RACING_BARS_STOP,
4091
4130
  E as PRESET_ROSE_BASIC,
4092
- F as PRESET_ROSE_SCALING_BY_RADIUS,
4093
- c as PRESET_ROSE_SEPARATE_SERIES,
4131
+ c as PRESET_ROSE_SCALING_BY_RADIUS,
4132
+ F as PRESET_ROSE_SEPARATE_SERIES,
4094
4133
  p as PRESET_ROSE_SEPARATE_SERIES_AND_SUM_SERIES,
4095
4134
  g as PRESET_ROSE_SIMPLE,
4096
4135
  B as PRESET_ROSE_SUM_SERIES,
4097
- Rt as PRESET_SCATTER_BASIC,
4098
- ut as PRESET_SCATTER_BUBBLES_BASIC,
4099
- Ct as PRESET_SCATTER_BUBBLES_LINEAR_OPACITY,
4100
- _t as PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS,
4101
- mt as PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY,
4102
- ht as PRESET_SCATTER_BUBBLES_SIMPLE,
4103
- Pt as PRESET_SCATTER_SEPARATE_CATEGORY,
4104
- Dt as PRESET_SCATTER_SIMPLE,
4136
+ ut as PRESET_SCATTER_BASIC,
4137
+ _t as PRESET_SCATTER_BUBBLES_BASIC,
4138
+ mt as PRESET_SCATTER_BUBBLES_LINEAR_OPACITY,
4139
+ Ct as PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS,
4140
+ ht as PRESET_SCATTER_BUBBLES_SEPARATE_CATEGORY,
4141
+ Pt as PRESET_SCATTER_BUBBLES_SIMPLE,
4142
+ Dt as PRESET_SCATTER_SEPARATE_CATEGORY,
4143
+ Tt as PRESET_SCATTER_SIMPLE,
4105
4144
  h as PRESET_SERIES_BASIC,
4106
4145
  S as PRESET_SERIES_SEPARATE_SERIES,
4107
4146
  A as PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES,
4108
4147
  R as PRESET_SERIES_SUM_SERIES,
4109
- Zt as PRESET_TREE_MAP_BASIC,
4110
- Ut as PRESET_TREE_MAP_SIMPLE
4148
+ Ut as PRESET_TREE_MAP_BASIC,
4149
+ ft as PRESET_TREE_MAP_SIMPLE
4111
4150
  };