@orbcharts/presets-basic 3.0.0-alpha.3 → 3.0.0-alpha.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. package/LICENSE +200 -200
  2. package/dist/orbcharts-presets-basic.es.js +1334 -358
  3. package/dist/orbcharts-presets-basic.umd.js +1 -1
  4. package/dist/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.d.ts +4 -0
  5. package/dist/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.d.ts +4 -0
  6. package/dist/src/grid/PRESET_BARS_ROUND.d.ts +4 -0
  7. package/dist/src/grid/PRESET_BARS_THIN.d.ts +4 -0
  8. package/dist/src/grid/PRESET_GRID_BASIC.d.ts +4 -0
  9. package/dist/src/grid/PRESET_GRID_HORIZONTAL.d.ts +4 -0
  10. package/dist/src/grid/PRESET_GRID_PN_SCALE.d.ts +4 -0
  11. package/dist/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.d.ts +4 -0
  12. package/dist/src/grid/PRESET_GRID_SEPARATE_SERIES.d.ts +4 -0
  13. package/dist/src/grid/PRESET_LINES_BASIC.d.ts +4 -0
  14. package/dist/src/grid/PRESET_LINES_CURVE.d.ts +4 -0
  15. package/dist/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.d.ts +4 -0
  16. package/dist/src/grid/PRESET_LINES_HORIZONTAL.d.ts +4 -0
  17. package/dist/src/grid/PRESET_LINES_LOOSE_TICKS.d.ts +4 -0
  18. package/dist/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.d.ts +4 -0
  19. package/dist/src/grid/PRESET_LINES_WITH_SOLID_DOTS.d.ts +4 -0
  20. package/dist/src/grid/PRESET_LINE_AREAS_BASIC.d.ts +4 -0
  21. package/dist/src/grid/PRESET_LINE_AREAS_CURVE.d.ts +4 -0
  22. package/dist/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.d.ts +4 -0
  23. package/dist/src/grid/PRESET_LINE_AREAS_HORIZONTAL.d.ts +4 -0
  24. package/dist/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.d.ts +4 -0
  25. package/dist/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.d.ts +4 -0
  26. package/dist/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.d.ts +4 -0
  27. package/dist/src/grid/index.d.ts +23 -0
  28. package/dist/src/index.d.ts +4 -17
  29. package/dist/src/multiGrid/PRESET_MULTI_GRID_BASIC.d.ts +4 -0
  30. package/dist/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.d.ts +4 -0
  31. package/dist/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.d.ts +6 -0
  32. package/dist/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.d.ts +4 -0
  33. package/dist/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.d.ts +4 -0
  34. package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.d.ts +4 -0
  35. package/dist/src/multiGrid/index.d.ts +6 -0
  36. package/dist/src/params.d.ts +7 -0
  37. package/dist/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.d.ts +4 -0
  38. package/dist/src/series/PRESET_BUBBLES_SEPARATE_SERIES.d.ts +4 -0
  39. package/dist/src/series/PRESET_PIE_DONUT.d.ts +4 -0
  40. package/dist/src/series/PRESET_PIE_HALF_DONUT.d.ts +4 -0
  41. package/dist/src/series/PRESET_PIE_WITH_INNER_LABELS.d.ts +4 -0
  42. package/dist/src/series/PRESET_ROSE_SCALING_BY_RADIUS.d.ts +4 -0
  43. package/dist/src/series/PRESET_SERIES_BASIC.d.ts +4 -0
  44. package/dist/src/series/PRESET_SERIES_DESC.d.ts +4 -0
  45. package/dist/src/series/PRESET_SERIES_SEPARATE_SERIES.d.ts +4 -0
  46. package/dist/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +4 -0
  47. package/dist/src/series/PRESET_SERIES_SUM_SERIES.d.ts +4 -0
  48. package/dist/src/series/index.d.ts +11 -0
  49. package/dist/src/tree/PRESET_TREE_BASIC.d.ts +4 -0
  50. package/dist/src/tree/index.d.ts +1 -0
  51. package/dist/src/types.d.ts +116 -37
  52. package/dist/vite.config.d.ts +1 -1
  53. package/package.json +43 -43
  54. package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +62 -0
  55. package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +59 -0
  56. package/src/grid/PRESET_BARS_ROUND.ts +46 -0
  57. package/src/grid/PRESET_BARS_THIN.ts +43 -0
  58. package/src/grid/PRESET_GRID_BASIC.ts +25 -0
  59. package/src/grid/PRESET_GRID_HORIZONTAL.ts +42 -0
  60. package/src/grid/PRESET_GRID_PN_SCALE.ts +33 -0
  61. package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +33 -0
  62. package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +38 -0
  63. package/src/grid/PRESET_LINES_BASIC.ts +44 -0
  64. package/src/grid/PRESET_LINES_CURVE.ts +47 -0
  65. package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +46 -0
  66. package/src/grid/PRESET_LINES_HORIZONTAL.ts +60 -0
  67. package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +46 -0
  68. package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +49 -0
  69. package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +48 -0
  70. package/src/grid/PRESET_LINE_AREAS_BASIC.ts +54 -0
  71. package/src/grid/PRESET_LINE_AREAS_CURVE.ts +59 -0
  72. package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +58 -0
  73. package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +58 -0
  74. package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +56 -0
  75. package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +59 -0
  76. package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +61 -0
  77. package/src/grid/index.ts +23 -0
  78. package/src/index.ts +4 -124
  79. package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +36 -0
  80. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +85 -0
  81. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +57 -0
  82. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +59 -0
  83. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +103 -0
  84. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +121 -0
  85. package/src/multiGrid/index.ts +6 -0
  86. package/src/params.ts +57 -0
  87. package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +19 -0
  88. package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +29 -0
  89. package/src/series/PRESET_PIE_DONUT.ts +23 -0
  90. package/src/series/PRESET_PIE_HALF_DONUT.ts +36 -0
  91. package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +24 -0
  92. package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +23 -0
  93. package/src/series/PRESET_SERIES_BASIC.ts +15 -0
  94. package/src/series/PRESET_SERIES_DESC.ts +16 -0
  95. package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +15 -0
  96. package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +16 -0
  97. package/src/series/PRESET_SERIES_SUM_SERIES.ts +15 -0
  98. package/src/series/index.ts +11 -0
  99. package/src/tree/PRESET_TREE_BASIC.ts +25 -0
  100. package/src/tree/index.ts +1 -0
  101. package/src/types.ts +242 -58
  102. package/tsconfig.base.json +14 -0
  103. package/tsconfig.json +2 -13
  104. package/vite.config.js +22 -44
  105. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.d.ts +0 -3
  106. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  107. package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.d.ts +0 -3
  108. package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  109. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING.d.ts +0 -3
  110. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.d.ts +0 -3
  111. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
  112. package/dist/src/chartParamsFiles/CP_LEFT_PADDING.d.ts +0 -3
  113. package/dist/src/chartParamsFiles/CP_RIGHT_PADDING.d.ts +0 -3
  114. package/dist/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts +0 -3
  115. package/dist/src/chartParamsFiles/index.d.ts +0 -10
  116. package/dist/src/createPreset.d.ts +0 -9
  117. package/dist/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.d.ts +0 -3
  118. package/dist/src/gridDataFormatterFiles/index.d.ts +0 -1
  119. package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.d.ts +0 -4
  120. package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.d.ts +0 -4
  121. package/dist/src/gridPluginParamsFiles/Bars/index.d.ts +0 -2
  122. package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.d.ts +0 -4
  123. package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.d.ts +0 -4
  124. package/dist/src/gridPluginParamsFiles/Dots/index.d.ts +0 -2
  125. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.d.ts +0 -4
  126. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -4
  127. package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +0 -2
  128. package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.d.ts +0 -4
  129. package/dist/src/gridPluginParamsFiles/GroupAxis/index.d.ts +0 -1
  130. package/dist/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.d.ts +0 -4
  131. package/dist/src/gridPluginParamsFiles/Lines/index.d.ts +0 -1
  132. package/dist/src/gridPluginParamsFiles/index.d.ts +0 -5
  133. package/dist/src/multiGridDataFormatterFiles/index.d.ts +0 -1
  134. package/dist/src/multiGridPluginParamsFiles/index.d.ts +0 -1
  135. package/dist/src/multiValueDataFormatterFiles/index.d.ts +0 -1
  136. package/dist/src/multiValuePluginParamsFiles/index.d.ts +0 -1
  137. package/dist/src/relationshipDataFormatterFiles/index.d.ts +0 -1
  138. package/dist/src/relationshipPluginParamsFiles/index.d.ts +0 -1
  139. package/dist/src/seriesDataFormatterFiles/index.d.ts +0 -1
  140. package/dist/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.d.ts +0 -4
  141. package/dist/src/seriesPluginParamsFiles/Bubbles/index.d.ts +0 -1
  142. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.d.ts +0 -0
  143. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.d.ts +0 -4
  144. package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.d.ts +0 -4
  145. package/dist/src/seriesPluginParamsFiles/Pie/index.d.ts +0 -2
  146. package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.d.ts +0 -4
  147. package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.d.ts +0 -4
  148. package/dist/src/seriesPluginParamsFiles/PieLabels/index.d.ts +0 -2
  149. package/dist/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.d.ts +0 -4
  150. package/dist/src/seriesPluginParamsFiles/SeriesLegend/index.d.ts +0 -1
  151. package/dist/src/seriesPluginParamsFiles/index.d.ts +0 -4
  152. package/dist/src/treeDataFormatterFiles/index.d.ts +0 -1
  153. package/dist/src/treePluginParamsFiles/index.d.ts +0 -1
  154. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +0 -14
  155. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  156. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +0 -14
  157. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  158. package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +0 -14
  159. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +0 -15
  160. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
  161. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +0 -14
  162. package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +0 -14
  163. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +0 -14
  164. package/src/chartParamsFiles/index.ts +0 -10
  165. package/src/createPreset.ts +0 -88
  166. package/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.ts +0 -16
  167. package/src/gridDataFormatterFiles/index.ts +0 -1
  168. package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +0 -15
  169. package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +0 -14
  170. package/src/gridPluginParamsFiles/Bars/index.ts +0 -2
  171. package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +0 -12
  172. package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +0 -14
  173. package/src/gridPluginParamsFiles/Dots/index.ts +0 -2
  174. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +0 -14
  175. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +0 -15
  176. package/src/gridPluginParamsFiles/GridLegend/index.ts +0 -2
  177. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +0 -12
  178. package/src/gridPluginParamsFiles/GroupAxis/index.ts +0 -1
  179. package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +0 -13
  180. package/src/gridPluginParamsFiles/Lines/index.ts +0 -1
  181. package/src/gridPluginParamsFiles/index.ts +0 -6
  182. package/src/multiGridDataFormatterFiles/index.ts +0 -1
  183. package/src/multiGridPluginParamsFiles/index.ts +0 -1
  184. package/src/multiValueDataFormatterFiles/index.ts +0 -1
  185. package/src/multiValuePluginParamsFiles/index.ts +0 -1
  186. package/src/relationshipDataFormatterFiles/index.ts +0 -1
  187. package/src/relationshipPluginParamsFiles/index.ts +0 -1
  188. package/src/seriesDataFormatterFiles/index.ts +0 -1
  189. package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +0 -12
  190. package/src/seriesPluginParamsFiles/Bubbles/index.ts +0 -1
  191. package/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.ts +0 -0
  192. package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +0 -12
  193. package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +0 -14
  194. package/src/seriesPluginParamsFiles/Pie/index.ts +0 -2
  195. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +0 -13
  196. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +0 -13
  197. package/src/seriesPluginParamsFiles/PieLabels/index.ts +0 -2
  198. package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +0 -12
  199. package/src/seriesPluginParamsFiles/SeriesLegend/index.ts +0 -1
  200. package/src/seriesPluginParamsFiles/index.ts +0 -4
  201. package/src/treeDataFormatterFiles/index.ts +0 -1
  202. package/src/treePluginParamsFiles/index.ts +0 -1
@@ -1,434 +1,1410 @@
1
- const l = {
2
- id: "CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",
3
- description: "間距下面及左邊留空",
4
- data: {
1
+ const i = {
2
+ Bubbles: {},
3
+ Pie: {},
4
+ PieEventTexts: {},
5
+ PieLabels: {},
6
+ Rose: {},
7
+ RoseLabels: {},
8
+ SeriesLegend: {}
9
+ }, e = {
10
+ Bars: {},
11
+ BarsPN: {},
12
+ BarStack: {},
13
+ BarsTriangle: {},
14
+ Dots: {},
15
+ GridLegend: {},
16
+ GroupAux: {},
17
+ GroupAxis: {},
18
+ LineAreas: {},
19
+ Lines: {},
20
+ ScalingArea: {},
21
+ ValueAxis: {},
22
+ ValueStackAxis: {}
23
+ }, s = {
24
+ MultiBars: {},
25
+ MultiBarStack: {},
26
+ MultiBarsTriangle: {},
27
+ MultiDots: {},
28
+ MultiGridLegend: {},
29
+ MultiGroupAxis: {},
30
+ MultiLineAreas: {},
31
+ MultiLines: {},
32
+ MultiValueAxis: {},
33
+ MultiValueStackAxis: {},
34
+ OverlappingValueAxes: {},
35
+ OverlappingValueStackAxes: {}
36
+ }, t = {
37
+ Tooltip: {}
38
+ }, n = {
39
+ name: "PRESET_BUBBLES_SCALING_BY_RADIUS",
40
+ description: "以半徑尺寸為比例的泡泡圖",
41
+ allPluginParams: {
42
+ ...t,
43
+ Bubbles: {
44
+ arcScaleType: "radius"
45
+ },
46
+ SeriesLegend: {
47
+ listRectRadius: 7
48
+ // 圓型圖例列點
49
+ }
50
+ }
51
+ }, l = {
52
+ name: "PRESET_BUBBLES_SEPARATE_SERIES",
53
+ description: "分開顯示Series泡泡",
54
+ chartParams: {
55
+ // 加長留空
56
+ padding: {
57
+ top: 160,
58
+ right: 160,
59
+ bottom: 160,
60
+ left: 160
61
+ }
62
+ },
63
+ dataFormatter: {
64
+ separateSeries: !0
65
+ },
66
+ allPluginParams: {
67
+ ...t,
68
+ Bubbles: {},
69
+ SeriesLegend: {
70
+ listRectRadius: 7
71
+ // 圓型圖例列點
72
+ }
73
+ }
74
+ }, d = {
75
+ name: "PRESET_PIE_DONUT",
76
+ description: "甜甜圈圖",
77
+ allPluginParams: {
78
+ ...t,
79
+ Pie: {
80
+ innerRadius: 0.5
81
+ },
82
+ PieLabels: {},
83
+ PieEventTexts: {},
84
+ SeriesLegend: {
85
+ listRectRadius: 7
86
+ // 圓型圖例列點
87
+ }
88
+ }
89
+ }, g = {
90
+ name: "PRESET_PIE_HALF_DONUT",
91
+ description: "半圓甜甜圈圖",
92
+ chartParams: {
93
+ padding: {
94
+ top: 120,
95
+ right: 120,
96
+ bottom: 0,
97
+ left: 60
98
+ }
99
+ },
100
+ allPluginParams: {
101
+ ...t,
102
+ Pie: {
103
+ innerRadius: 0.5,
104
+ startAngle: -Math.PI / 2,
105
+ endAngle: Math.PI / 2
106
+ },
107
+ PieLabels: {
108
+ startAngle: -Math.PI / 2,
109
+ endAngle: Math.PI / 2
110
+ },
111
+ PieEventTexts: {},
112
+ SeriesLegend: {
113
+ listRectRadius: 7
114
+ // 圓型圖例列點
115
+ }
116
+ }
117
+ }, E = {
118
+ name: "PRESET_PIE_WITH_INNER_LABELS",
119
+ description: "圓餅圖及內部資料標籤",
120
+ allPluginParams: {
121
+ ...t,
122
+ Pie: {},
123
+ PieLabels: {
124
+ labelCentroid: 1.3,
125
+ // 圖內資料標籤
126
+ labelColorType: "primary"
127
+ },
128
+ PieEventTexts: {},
129
+ SeriesLegend: {
130
+ listRectRadius: 7
131
+ // 圓型圖例列點
132
+ }
133
+ }
134
+ }, u = {
135
+ name: "PRESET_ROSE_SCALING_BY_RADIUS",
136
+ description: "以半徑尺寸為比例的玫瑰圖",
137
+ allPluginParams: {
138
+ ...t,
139
+ Rose: {
140
+ arcScaleType: "radius"
141
+ },
142
+ RoseLabels: {
143
+ arcScaleType: "radius"
144
+ },
145
+ SeriesLegend: {
146
+ listRectRadius: 7
147
+ // 圓型圖例列點
148
+ }
149
+ }
150
+ }, S = {
151
+ name: "PRESET_SERIES_BASIC",
152
+ description: "基本Series參數",
153
+ allPluginParams: {
154
+ ...i,
155
+ ...t,
156
+ SeriesLegend: {
157
+ listRectRadius: 7
158
+ // 圓型圖例列點
159
+ }
160
+ }
161
+ }, o = {
162
+ name: "PRESET_SERIES_DESC",
163
+ description: "資料由大到小排序",
164
+ dataFormatter: {
165
+ sort: (a, r) => r.value - a.value
166
+ },
167
+ allPluginParams: {
168
+ ...i,
169
+ ...t
170
+ }
171
+ };
172
+ o.dataFormatter.sort.toString = () => "(a, b) => b.value - a.value";
173
+ const R = {
174
+ name: "PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES",
175
+ description: "分開顯示Series並合併Series資料",
176
+ dataFormatter: {
177
+ separateSeries: !0,
178
+ sumSeries: !0
179
+ },
180
+ allPluginParams: {
181
+ ...i,
182
+ ...t
183
+ }
184
+ }, _ = {
185
+ name: "PRESET_SERIES_SEPARATE_SERIES",
186
+ description: "分開顯示Series",
187
+ dataFormatter: {
188
+ separateSeries: !0
189
+ },
190
+ allPluginParams: {
191
+ ...i,
192
+ ...t
193
+ }
194
+ }, p = {
195
+ name: "PRESET_SERIES_SUM_SERIES",
196
+ description: "合併Series資料",
197
+ dataFormatter: {
198
+ sumSeries: !0
199
+ },
200
+ allPluginParams: {
201
+ ...i,
202
+ ...t
203
+ }
204
+ }, A = {
205
+ name: "PRESET_BARS_HORIZONTAL_AND_ROUND",
206
+ description: "橫向圓角長條圖",
207
+ chartParams: {
5
208
  padding: {
6
209
  top: 60,
7
210
  right: 60,
8
211
  bottom: 120,
9
- left: 120
212
+ left: 160
213
+ }
214
+ },
215
+ dataFormatter: {
216
+ grid: {
217
+ valueAxis: {
218
+ position: "bottom"
219
+ // position: 'top'
220
+ // position: 'left'
221
+ // position: 'right'
222
+ },
223
+ groupAxis: {
224
+ position: "left"
225
+ // position: 'right'
226
+ // position: 'bottom'
227
+ // position: 'top'
228
+ }
229
+ }
230
+ },
231
+ allPluginParams: {
232
+ ...t,
233
+ Bars: {
234
+ barWidth: 0,
235
+ barPadding: 1,
236
+ barGroupPadding: 10,
237
+ barRadius: !0
10
238
  },
11
- highlightTarget: "series"
239
+ GroupAxis: {},
240
+ ValueAxis: {},
241
+ GroupAux: {},
242
+ GridLegend: {
243
+ // 底部圖例及圓弧列點
244
+ position: "bottom",
245
+ justify: "center",
246
+ padding: 14,
247
+ listRectRadius: 7
248
+ }
12
249
  }
13
- }, O = {
14
- id: "CP_BOTTOM_AND_LEFT_PADDING",
15
- description: "間距下面及左邊留空",
16
- data: {
250
+ }, P = {
251
+ name: "PRESET_BARS_HORIZONTAL_AND_THIN",
252
+ description: "橫向細長長條圖",
253
+ chartParams: {
17
254
  padding: {
18
255
  top: 60,
19
256
  right: 60,
20
257
  bottom: 120,
21
- left: 120
258
+ left: 160
259
+ }
260
+ },
261
+ dataFormatter: {
262
+ grid: {
263
+ valueAxis: {
264
+ position: "bottom"
265
+ // position: 'top'
266
+ // position: 'left'
267
+ // position: 'right'
268
+ },
269
+ groupAxis: {
270
+ position: "left"
271
+ // position: 'right'
272
+ // position: 'bottom'
273
+ // position: 'top'
274
+ }
275
+ }
276
+ },
277
+ allPluginParams: {
278
+ ...t,
279
+ Bars: {
280
+ barWidth: 20,
281
+ barPadding: 1,
282
+ barGroupPadding: 10
283
+ },
284
+ GroupAxis: {},
285
+ ValueAxis: {},
286
+ GroupAux: {},
287
+ GridLegend: {
288
+ position: "bottom",
289
+ justify: "center",
290
+ padding: 14
22
291
  }
23
292
  }
24
- }, E = {
25
- id: "CP_BOTTOM_LONG_PADDING",
26
- description: "間距下面加長留空",
27
- data: {
293
+ }, c = {
294
+ name: "PRESET_BARS_ROUND",
295
+ description: "圓角長條圖",
296
+ chartParams: {
28
297
  padding: {
29
298
  top: 60,
30
299
  right: 60,
31
- bottom: 140,
300
+ bottom: 120,
32
301
  left: 60
33
302
  }
303
+ },
304
+ allPluginParams: {
305
+ ...t,
306
+ Bars: {
307
+ barWidth: 0,
308
+ barPadding: 1,
309
+ barGroupPadding: 10,
310
+ barRadius: !0
311
+ },
312
+ GroupAxis: {},
313
+ ValueAxis: {},
314
+ GroupAux: {},
315
+ GridLegend: {
316
+ // 底部圖例及圓弧列點
317
+ position: "bottom",
318
+ justify: "center",
319
+ padding: 14,
320
+ listRectRadius: 7
321
+ }
34
322
  }
35
- }, c = {
36
- id: "CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",
37
- description: "間距下面加長留空及highlight系列",
38
- data: {
323
+ }, m = {
324
+ name: "PRESET_BARS_THIN",
325
+ description: "細長條圖",
326
+ chartParams: {
39
327
  padding: {
40
328
  top: 60,
41
329
  right: 60,
42
- bottom: 140,
330
+ bottom: 120,
331
+ left: 60
332
+ }
333
+ },
334
+ allPluginParams: {
335
+ ...t,
336
+ Bars: {
337
+ barWidth: 20,
338
+ barPadding: 1,
339
+ barGroupPadding: 10
340
+ },
341
+ GroupAxis: {},
342
+ ValueAxis: {},
343
+ GroupAux: {},
344
+ GridLegend: {
345
+ position: "bottom",
346
+ justify: "center",
347
+ padding: 14
348
+ }
349
+ }
350
+ }, I = {
351
+ name: "PRESET_GRID_BASIC",
352
+ description: "基本Grid參數",
353
+ chartParams: {
354
+ padding: {
355
+ top: 60,
356
+ right: 60,
357
+ bottom: 120,
358
+ left: 60
359
+ }
360
+ },
361
+ allPluginParams: {
362
+ ...e,
363
+ ...t,
364
+ GridLegend: {
365
+ position: "bottom",
366
+ justify: "center",
367
+ padding: 14
368
+ }
369
+ }
370
+ }, T = {
371
+ name: "PRESET_GRID_HORIZONTAL",
372
+ description: "橫向圖",
373
+ chartParams: {
374
+ // 間距下面及左邊留空
375
+ padding: {
376
+ top: 60,
377
+ right: 60,
378
+ bottom: 120,
379
+ left: 160
380
+ }
381
+ },
382
+ dataFormatter: {
383
+ grid: {
384
+ valueAxis: {
385
+ position: "bottom"
386
+ // position: 'top'
387
+ // position: 'left'
388
+ // position: 'right'
389
+ },
390
+ groupAxis: {
391
+ position: "left"
392
+ // position: 'right'
393
+ // position: 'bottom'
394
+ // position: 'top'
395
+ }
396
+ }
397
+ },
398
+ allPluginParams: {
399
+ ...e,
400
+ ...t,
401
+ GridLegend: {
402
+ position: "bottom",
403
+ justify: "center",
404
+ padding: 14
405
+ }
406
+ }
407
+ }, L = {
408
+ name: "PRESET_GRID_PN_SCALE",
409
+ description: "正負值分向圖",
410
+ chartParams: {
411
+ padding: {
412
+ top: 60,
413
+ right: 60,
414
+ bottom: 120,
415
+ left: 60
416
+ }
417
+ },
418
+ dataFormatter: {
419
+ grid: {
420
+ valueAxis: {
421
+ scaleDomain: ["auto", "auto"],
422
+ scaleRange: [0.05, 0.95]
423
+ }
424
+ }
425
+ },
426
+ allPluginParams: {
427
+ ...e,
428
+ ...t,
429
+ GridLegend: {
430
+ position: "bottom",
431
+ justify: "center",
432
+ padding: 14
433
+ }
434
+ }
435
+ }, h = {
436
+ name: "PRESET_GRID_ROTATE_AXIS_LABEL",
437
+ description: "傾斜標籤",
438
+ chartParams: {
439
+ // 間距下面加長留空
440
+ padding: {
441
+ top: 60,
442
+ right: 60,
443
+ bottom: 160,
444
+ left: 60
445
+ }
446
+ },
447
+ allPluginParams: {
448
+ ...e,
449
+ ...t,
450
+ GroupAux: {
451
+ labelRotate: -30
452
+ },
453
+ GroupAxis: {
454
+ tickPadding: 15,
455
+ tickTextRotate: -30
456
+ },
457
+ GridLegend: {
458
+ position: "bottom",
459
+ justify: "center",
460
+ padding: 14
461
+ }
462
+ }
463
+ }, x = {
464
+ name: "PRESET_GRID_SEPARATE_SERIES",
465
+ description: "分開顯示Series",
466
+ chartParams: {
467
+ padding: {
468
+ top: 60,
469
+ right: 60,
470
+ bottom: 160,
471
+ left: 60
472
+ }
473
+ },
474
+ dataFormatter: {
475
+ grid: {
476
+ // seriesSlotIndexes: [0, 1],
477
+ separateSeries: !0
478
+ }
479
+ },
480
+ allPluginParams: {
481
+ ...e,
482
+ ...t,
483
+ GroupAux: {
484
+ labelRotate: -30
485
+ },
486
+ GroupAxis: {
487
+ tickPadding: 15,
488
+ tickTextRotate: -30
489
+ },
490
+ GridLegend: {
491
+ position: "bottom",
492
+ justify: "center",
493
+ padding: 14
494
+ }
495
+ }
496
+ }, G = {
497
+ name: "PRESET_LINE_AREAS_BASIC",
498
+ description: "基本LineArea參數",
499
+ chartParams: {
500
+ padding: {
501
+ top: 60,
502
+ right: 60,
503
+ bottom: 120,
43
504
  left: 60
44
505
  },
45
506
  highlightTarget: "series"
507
+ },
508
+ dataFormatter: {
509
+ grid: {
510
+ groupAxis: {
511
+ scalePadding: 0
512
+ }
513
+ }
514
+ },
515
+ allPluginParams: {
516
+ ...t,
517
+ Lines: {},
518
+ LineAreas: {},
519
+ Dots: {},
520
+ GroupAxis: {},
521
+ ValueAxis: {},
522
+ GroupAux: {},
523
+ GridLegend: {
524
+ position: "bottom",
525
+ justify: "center",
526
+ padding: 14,
527
+ listRectHeight: 2
528
+ }
46
529
  }
47
- }, D = {
48
- id: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
49
- description: "間距下面留空及highlight群組",
50
- data: {
530
+ }, b = {
531
+ name: "PRESET_LINE_AREAS_CURVE",
532
+ description: "弧線折線圖",
533
+ chartParams: {
51
534
  padding: {
52
535
  top: 60,
53
536
  right: 60,
54
537
  bottom: 120,
55
538
  left: 60
56
539
  },
57
- highlightTarget: "group"
540
+ highlightTarget: "series"
541
+ },
542
+ dataFormatter: {
543
+ grid: {
544
+ groupAxis: {
545
+ scalePadding: 0
546
+ }
547
+ }
548
+ },
549
+ allPluginParams: {
550
+ ...t,
551
+ Lines: {
552
+ lineCurve: "curveMonotoneX",
553
+ lineWidth: 3
554
+ },
555
+ LineAreas: {
556
+ lineCurve: "curveMonotoneX"
557
+ },
558
+ Dots: {},
559
+ GroupAxis: {},
560
+ ValueAxis: {},
561
+ GroupAux: {},
562
+ GridLegend: {
563
+ position: "bottom",
564
+ justify: "center",
565
+ padding: 14,
566
+ listRectHeight: 2
567
+ }
58
568
  }
59
- }, p = {
60
- id: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
61
- description: "間距下面留空及highlight系列",
62
- data: {
569
+ }, M = {
570
+ name: "PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS",
571
+ description: "折線圖及Highlight Group圓點",
572
+ chartParams: {
63
573
  padding: {
64
574
  top: 60,
65
575
  right: 60,
66
576
  bottom: 120,
67
577
  left: 60
68
578
  },
579
+ highlightTarget: "group"
580
+ },
581
+ dataFormatter: {
582
+ grid: {
583
+ groupAxis: {
584
+ scalePadding: 0
585
+ }
586
+ }
587
+ },
588
+ allPluginParams: {
589
+ ...t,
590
+ Lines: {
591
+ lineWidth: 3
592
+ },
593
+ LineAreas: {},
594
+ Dots: {
595
+ onlyShowHighlighted: !1
596
+ },
597
+ GroupAxis: {},
598
+ ValueAxis: {},
599
+ GroupAux: {},
600
+ GridLegend: {
601
+ position: "bottom",
602
+ justify: "center",
603
+ padding: 14,
604
+ listRectHeight: 2
605
+ }
606
+ }
607
+ }, D = {
608
+ name: "PRESET_LINE_AREAS_HORIZONTAL",
609
+ description: "橫向折線圖",
610
+ chartParams: {
611
+ padding: {
612
+ top: 60,
613
+ right: 60,
614
+ bottom: 120,
615
+ left: 160
616
+ },
69
617
  highlightTarget: "series"
618
+ },
619
+ dataFormatter: {
620
+ grid: {
621
+ valueAxis: {
622
+ position: "bottom"
623
+ },
624
+ groupAxis: {
625
+ position: "left",
626
+ scalePadding: 0
627
+ }
628
+ }
629
+ },
630
+ allPluginParams: {
631
+ ...t,
632
+ Lines: {},
633
+ LineAreas: {},
634
+ Dots: {},
635
+ GroupAxis: {},
636
+ ValueAxis: {},
637
+ GroupAux: {},
638
+ GridLegend: {
639
+ position: "bottom",
640
+ justify: "center",
641
+ padding: 14,
642
+ listRectHeight: 2
643
+ }
70
644
  }
71
645
  }, N = {
72
- id: "CP_BOTTOM_PADDING",
73
- description: "間距下面留空",
74
- data: {
646
+ name: "PRESET_LINE_AREAS_LOOSE_TICKS",
647
+ description: "寬鬆標籤",
648
+ chartParams: {
75
649
  padding: {
76
650
  top: 60,
77
651
  right: 60,
78
652
  bottom: 120,
79
653
  left: 60
654
+ },
655
+ highlightTarget: "series"
656
+ },
657
+ dataFormatter: {
658
+ grid: {
659
+ groupAxis: {
660
+ scalePadding: 0
661
+ }
662
+ }
663
+ },
664
+ allPluginParams: {
665
+ ...t,
666
+ Lines: {},
667
+ LineAreas: {},
668
+ Dots: {},
669
+ GroupAxis: {
670
+ ticks: 6
671
+ },
672
+ ValueAxis: {},
673
+ GroupAux: {},
674
+ GridLegend: {
675
+ position: "bottom",
676
+ justify: "center",
677
+ padding: 14,
678
+ listRectHeight: 2
80
679
  }
81
680
  }
82
- }, S = {
83
- id: "CP_LEFT_PADDING",
84
- description: "間距右邊留空",
85
- data: {
681
+ }, f = {
682
+ name: "PRESET_LINE_AREAS_ROTATE_AXIS_LABEL",
683
+ description: "傾斜標籤",
684
+ chartParams: {
86
685
  padding: {
87
686
  top: 60,
88
687
  right: 60,
89
- bottom: 60,
90
- left: 120
688
+ bottom: 160,
689
+ left: 60
690
+ },
691
+ highlightTarget: "series"
692
+ },
693
+ dataFormatter: {
694
+ grid: {
695
+ groupAxis: {
696
+ scalePadding: 0
697
+ }
698
+ }
699
+ },
700
+ allPluginParams: {
701
+ ...t,
702
+ Lines: {},
703
+ LineAreas: {},
704
+ Dots: {},
705
+ GroupAxis: {
706
+ tickPadding: 15,
707
+ tickTextRotate: -30
708
+ },
709
+ ValueAxis: {},
710
+ GroupAux: {
711
+ labelRotate: -30
712
+ },
713
+ GridLegend: {
714
+ position: "bottom",
715
+ justify: "center",
716
+ padding: 14,
717
+ listRectHeight: 2
91
718
  }
92
719
  }
93
- }, g = {
94
- id: "CP_TOP_AND_NO_BOTTOM_PADDING",
95
- description: "間距上面留空下面不留空",
96
- data: {
720
+ }, B = {
721
+ name: "PRESET_LINE_AREAS_SEPARATE_SERIES",
722
+ description: "LineAreas 分開顯示Series",
723
+ chartParams: {
97
724
  padding: {
98
- top: 140,
99
- right: 120,
100
- bottom: 0,
725
+ top: 60,
726
+ right: 60,
727
+ bottom: 160,
101
728
  left: 60
729
+ },
730
+ highlightTarget: "series"
731
+ },
732
+ dataFormatter: {
733
+ grid: {
734
+ // seriesSlotIndexes: [0, 1],
735
+ separateSeries: !0,
736
+ groupAxis: {
737
+ scalePadding: 0
738
+ }
739
+ }
740
+ },
741
+ allPluginParams: {
742
+ ...t,
743
+ Lines: {},
744
+ LineAreas: {},
745
+ Dots: {},
746
+ GroupAxis: {
747
+ tickPadding: 15,
748
+ tickTextRotate: -30
749
+ },
750
+ ValueAxis: {},
751
+ GroupAux: {
752
+ labelRotate: -30
753
+ },
754
+ GridLegend: {
755
+ position: "bottom",
756
+ justify: "center",
757
+ padding: 14,
758
+ listRectHeight: 2
102
759
  }
103
760
  }
104
- }, G = {
105
- id: "CP_RIGHT_PADDING",
106
- description: "間距右邊留空",
107
- data: {
761
+ }, H = {
762
+ name: "PRESET_LINES_BASIC",
763
+ description: "基本Lines參數",
764
+ chartParams: {
108
765
  padding: {
109
766
  top: 60,
110
- right: 120,
111
- bottom: 60,
767
+ right: 60,
768
+ bottom: 120,
112
769
  left: 60
770
+ },
771
+ highlightTarget: "series"
772
+ },
773
+ allPluginParams: {
774
+ ...t,
775
+ Lines: {},
776
+ Dots: {},
777
+ GroupAxis: {},
778
+ ValueAxis: {},
779
+ GroupAux: {},
780
+ GridLegend: {
781
+ position: "bottom",
782
+ justify: "center",
783
+ padding: 14,
784
+ listRectHeight: 2
113
785
  }
114
786
  }
115
- }, L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
116
- __proto__: null,
117
- CP_BOTTOM_AND_LEFT_PADDING: O,
118
- CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT: l,
119
- CP_BOTTOM_LONG_PADDING: E,
120
- CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT: c,
121
- CP_BOTTOM_PADDING: N,
122
- CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT: D,
123
- CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT: p,
124
- CP_LEFT_PADDING: S,
125
- CP_RIGHT_PADDING: G,
126
- CP_TOP_AND_NO_BOTTOM_PADDING: g
127
- }, Symbol.toStringTag, { value: "Module" })), A = {}, m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
128
- __proto__: null,
129
- temp: A
130
- }, Symbol.toStringTag, { value: "Module" })), u = {
131
- id: "PP_BUBBLES_SCALING_BY_RADIUS",
132
- chartType: "series",
133
- pluginName: "Bubbles",
134
- description: "以半徑尺寸為比例的泡泡圖",
135
- data: {
136
- bubbleScaleType: "radius"
787
+ }, O = {
788
+ name: "PRESET_LINES_CURVE",
789
+ description: "弧線折線圖",
790
+ chartParams: {
791
+ padding: {
792
+ top: 60,
793
+ right: 60,
794
+ bottom: 120,
795
+ left: 60
796
+ },
797
+ highlightTarget: "series"
798
+ },
799
+ allPluginParams: {
800
+ ...t,
801
+ Lines: {
802
+ lineCurve: "curveMonotoneX",
803
+ lineWidth: 3
804
+ },
805
+ Dots: {},
806
+ GroupAxis: {},
807
+ ValueAxis: {},
808
+ GroupAux: {},
809
+ GridLegend: {
810
+ position: "bottom",
811
+ justify: "center",
812
+ padding: 14,
813
+ listRectHeight: 2
814
+ }
137
815
  }
138
- }, R = {
139
- id: "PP_PIE_DONUT",
140
- chartType: "series",
141
- pluginName: "Pie",
142
- description: "甜甜圈圖",
143
- data: {
144
- innerRadius: 0.5
816
+ }, U = {
817
+ name: "PRESET_LINES_HIGHLIGHT_GROUP_DOTS",
818
+ description: "折線圖及Highlight Group圓點",
819
+ chartParams: {
820
+ padding: {
821
+ top: 60,
822
+ right: 60,
823
+ bottom: 120,
824
+ left: 60
825
+ },
826
+ highlightTarget: "group"
827
+ },
828
+ allPluginParams: {
829
+ ...t,
830
+ Lines: {},
831
+ Dots: {
832
+ onlyShowHighlighted: !1
833
+ },
834
+ GroupAxis: {},
835
+ ValueAxis: {},
836
+ GroupAux: {},
837
+ GridLegend: {
838
+ position: "bottom",
839
+ justify: "center",
840
+ padding: 14,
841
+ listRectHeight: 2
842
+ }
145
843
  }
146
- }, B = {
147
- id: "PP_PIE_HALF_DONUT",
148
- chartType: "series",
149
- pluginName: "Pie",
150
- description: "半圓甜甜圈圖",
151
- data: {
152
- innerRadius: 0.5,
153
- startAngle: -Math.PI / 2,
154
- endAngle: Math.PI / 2
844
+ }, V = {
845
+ name: "PRESET_LINES_HORIZONTAL",
846
+ description: "橫向折線圖",
847
+ chartParams: {
848
+ padding: {
849
+ top: 60,
850
+ right: 60,
851
+ bottom: 120,
852
+ left: 160
853
+ },
854
+ highlightTarget: "series"
855
+ },
856
+ dataFormatter: {
857
+ grid: {
858
+ valueAxis: {
859
+ position: "bottom"
860
+ // position: 'top'
861
+ // position: 'left'
862
+ // position: 'right'
863
+ },
864
+ groupAxis: {
865
+ position: "left"
866
+ // position: 'right'
867
+ // position: 'bottom'
868
+ // position: 'top'
869
+ }
870
+ }
871
+ },
872
+ allPluginParams: {
873
+ ...t,
874
+ Lines: {},
875
+ Dots: {},
876
+ GroupAxis: {},
877
+ ValueAxis: {},
878
+ GroupAux: {},
879
+ GridLegend: {
880
+ position: "bottom",
881
+ justify: "center",
882
+ padding: 14,
883
+ listRectHeight: 2
884
+ }
155
885
  }
156
- }, H = {
157
- id: "PP_PIE_LABELS_HALF_ANGLE",
158
- chartType: "series",
159
- pluginName: "PieLabels",
160
- description: "半圓甜甜圈資料標籤",
161
- data: {
162
- startAngle: -Math.PI / 2,
163
- endAngle: Math.PI / 2
886
+ }, y = {
887
+ name: "PRESET_LINES_LOOSE_TICKS",
888
+ description: "寬鬆標籤",
889
+ chartParams: {
890
+ padding: {
891
+ top: 60,
892
+ right: 60,
893
+ bottom: 120,
894
+ left: 60
895
+ },
896
+ highlightTarget: "series"
897
+ },
898
+ allPluginParams: {
899
+ ...t,
900
+ Lines: {},
901
+ Dots: {},
902
+ GroupAxis: {
903
+ ticks: 6
904
+ },
905
+ ValueAxis: {},
906
+ GroupAux: {},
907
+ GridLegend: {
908
+ position: "bottom",
909
+ justify: "center",
910
+ padding: 14,
911
+ listRectHeight: 2
912
+ }
164
913
  }
165
- }, h = {
166
- id: "PP_PIE_LABELS_INNER",
167
- chartType: "series",
168
- pluginName: "PieLabels",
169
- description: "圖內資料標籤",
170
- data: {
171
- labelCentroid: 1.3,
172
- labelColorType: "primary"
914
+ }, C = {
915
+ name: "PRESET_LINES_ROTATE_AXIS_LABEL",
916
+ description: "傾斜標籤",
917
+ chartParams: {
918
+ padding: {
919
+ top: 60,
920
+ right: 60,
921
+ bottom: 160,
922
+ left: 60
923
+ },
924
+ highlightTarget: "series"
925
+ },
926
+ allPluginParams: {
927
+ ...t,
928
+ Lines: {},
929
+ Dots: {},
930
+ GroupAxis: {
931
+ tickPadding: 15,
932
+ tickTextRotate: -30
933
+ },
934
+ ValueAxis: {},
935
+ GroupAux: {
936
+ labelRotate: -30
937
+ },
938
+ GridLegend: {
939
+ position: "bottom",
940
+ justify: "center",
941
+ padding: 14,
942
+ listRectHeight: 2
943
+ }
173
944
  }
174
- }, M = {
175
- id: "PP_SERIES_LEGEND_BOTTOM",
176
- chartType: "series",
177
- pluginName: "SeriesLegend",
178
- description: "圓型圖例列點",
179
- data: {
180
- listRectRadius: 7
181
- }
182
- }, b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
183
- __proto__: null,
184
- PP_BUBBLES_SCALING_BY_RADIUS: u,
185
- PP_PIE_DONUT: R,
186
- PP_PIE_HALF_DONUT: B,
187
- PP_PIE_LABELS_HALF_ANGLE: H,
188
- PP_PIE_LABELS_INNER: h,
189
- PP_SERIES_LEGEND_ROUND: M
190
- }, Symbol.toStringTag, { value: "Module" })), C = {
191
- id: "DF_BOTTOM_VALUE_AXIS",
192
- chartType: "grid",
193
- description: "底部橫向資料圖軸",
194
- data: {
195
- valueAxis: {
196
- position: "bottom"
197
- },
198
- groupAxis: {
199
- position: "left"
200
- }
201
- }
202
- }, y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
203
- __proto__: null,
204
- DF_BOTTOM_VALUE_AXIS: C
205
- }, Symbol.toStringTag, { value: "Module" })), F = {
206
- id: "PP_BARS_ROUND",
207
- chartType: "grid",
208
- pluginName: "Bars",
209
- description: "圓角長條圖",
210
- data: {
211
- barWidth: 0,
212
- barPadding: 1,
213
- barGroupPadding: 10,
214
- barRadius: !0
945
+ }, k = {
946
+ name: "PRESET_LINES_WITH_SOLID_DOTS",
947
+ description: "折線圖及實心圓點",
948
+ chartParams: {
949
+ padding: {
950
+ top: 60,
951
+ right: 60,
952
+ bottom: 120,
953
+ left: 60
954
+ },
955
+ highlightTarget: "series"
956
+ },
957
+ allPluginParams: {
958
+ ...t,
959
+ Lines: {},
960
+ Dots: {
961
+ radius: 3,
962
+ fillColorType: "series",
963
+ onlyShowHighlighted: !1
964
+ },
965
+ GroupAxis: {},
966
+ ValueAxis: {},
967
+ GroupAux: {},
968
+ GridLegend: {
969
+ position: "bottom",
970
+ justify: "center",
971
+ padding: 14,
972
+ listRectHeight: 2
973
+ }
215
974
  }
216
- }, U = {
217
- id: "PP_BARS_THIN",
218
- chartType: "grid",
219
- pluginName: "Bars",
220
- description: "圓角長條圖",
221
- data: {
222
- barWidth: 20,
223
- barPadding: 1,
224
- barGroupPadding: 10
975
+ }, j = {
976
+ name: "PRESET_MULTI_GRID_BASIC",
977
+ description: "基本MultiGrid參數",
978
+ chartParams: {
979
+ padding: {
980
+ top: 60,
981
+ right: 60,
982
+ bottom: 120,
983
+ left: 60
984
+ },
985
+ highlightTarget: "series"
986
+ },
987
+ allPluginParams: {
988
+ ...s,
989
+ ...t,
990
+ MultiGridLegend: {
991
+ position: "bottom",
992
+ justify: "center",
993
+ padding: 14,
994
+ gridList: [
995
+ {},
996
+ {
997
+ listRectHeight: 2
998
+ }
999
+ ]
1000
+ }
225
1001
  }
226
- }, f = {
227
- id: "PP_DOTS_ONLY_SHOW_HIGHLIGHTED",
228
- chartType: "grid",
229
- pluginName: "Dots",
230
- description: "顯示highlight圓點",
231
- data: {
232
- onlyShowHighlighted: !1
1002
+ }, v = {
1003
+ name: "PRESET_MULTI_GRID_DIVERGING",
1004
+ description: "雙向折線圖",
1005
+ chartParams: {
1006
+ padding: {
1007
+ top: 60,
1008
+ right: 60,
1009
+ bottom: 120,
1010
+ left: 60
1011
+ }
1012
+ },
1013
+ dataFormatter: {
1014
+ gridList: [
1015
+ // 第一個grid
1016
+ {
1017
+ groupAxis: {
1018
+ position: "right"
1019
+ },
1020
+ valueAxis: {
1021
+ position: "bottom"
1022
+ }
1023
+ },
1024
+ // 第二個grid
1025
+ {
1026
+ groupAxis: {
1027
+ position: "left"
1028
+ },
1029
+ valueAxis: {
1030
+ position: "bottom"
1031
+ }
1032
+ }
1033
+ ],
1034
+ // 設定排版方式
1035
+ container: {
1036
+ gap: 200,
1037
+ rowAmount: 1,
1038
+ columnAmount: 2
1039
+ },
1040
+ separateGrid: !0
1041
+ // 將兩個grid拆分
1042
+ },
1043
+ allPluginParams: {
1044
+ ...t,
1045
+ MultiGroupAxis: {
1046
+ tickPadding: 60,
1047
+ // 加長間距
1048
+ gridIndexes: [0]
1049
+ // 只顯示一個
1050
+ },
1051
+ MultiValueAxis: {
1052
+ gridIndexes: [0, 1]
1053
+ },
1054
+ MultiValueStackAxis: {
1055
+ gridIndexes: [0, 1]
1056
+ },
1057
+ MultiBars: {
1058
+ gridIndexes: [0, 1]
1059
+ },
1060
+ MultiBarStack: {
1061
+ gridIndexes: [0, 1]
1062
+ },
1063
+ MultiBarsTriangle: {
1064
+ gridIndexes: [0, 1]
1065
+ },
1066
+ MultiLines: {
1067
+ gridIndexes: [0, 1]
1068
+ },
1069
+ MultiLineAreas: {
1070
+ gridIndexes: [0, 1]
1071
+ },
1072
+ MultiDots: {
1073
+ gridIndexes: [0, 1]
1074
+ },
1075
+ MultiGridLegend: {
1076
+ position: "bottom",
1077
+ justify: "center",
1078
+ padding: 14
1079
+ }
233
1080
  }
234
- }, j = {
235
- id: "PP_DOTS_SOLID",
236
- chartType: "grid",
237
- pluginName: "Dots",
238
- description: "實心圓點",
239
- data: {
240
- radius: 3,
241
- fillColorType: "series",
242
- onlyShowHighlighted: !1
1081
+ }, F = {
1082
+ name: "PRESET_MULTI_GRID_ROUND_STYLE",
1083
+ description: "MultiGrid圓弧風格",
1084
+ chartParams: {
1085
+ padding: {
1086
+ top: 60,
1087
+ right: 60,
1088
+ bottom: 120,
1089
+ left: 60
1090
+ },
1091
+ highlightTarget: "series"
1092
+ },
1093
+ allPluginParams: {
1094
+ ...t,
1095
+ MultiBars: {
1096
+ barWidth: 0,
1097
+ barPadding: 1,
1098
+ barGroupPadding: 10,
1099
+ barRadius: !0
1100
+ },
1101
+ MultiBarStack: {},
1102
+ MultiDots: {},
1103
+ MultiGridLegend: {
1104
+ position: "bottom",
1105
+ justify: "center",
1106
+ padding: 14,
1107
+ gridList: [
1108
+ {
1109
+ listRectRadius: 7
1110
+ },
1111
+ {
1112
+ listRectHeight: 2
1113
+ }
1114
+ ]
1115
+ },
1116
+ MultiGroupAxis: {},
1117
+ MultiLineAreas: {},
1118
+ MultiLines: {
1119
+ lineCurve: "curveMonotoneX",
1120
+ lineWidth: 3
1121
+ },
1122
+ MultiValueAxis: {},
1123
+ MultiValueStackAxis: {},
1124
+ OverlappingValueAxes: {},
1125
+ OverlappingValueStackAxes: {}
243
1126
  }
244
1127
  }, W = {
245
- id: "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",
246
- chartType: "grid",
247
- pluginName: "GridLegend",
248
- description: "底部圖例及線條列點",
249
- data: {
250
- position: "bottom",
251
- justify: "center",
252
- padding: 14,
253
- listRectHeight: 2
1128
+ name: "PRESET_MULTI_GRID_SEPARATE_GRID",
1129
+ description: "2組Grid圖表",
1130
+ chartParams: {
1131
+ padding: {
1132
+ top: 60,
1133
+ right: 60,
1134
+ bottom: 160,
1135
+ left: 60
1136
+ }
1137
+ },
1138
+ dataFormatter: {
1139
+ separateGrid: !0
1140
+ },
1141
+ allPluginParams: {
1142
+ ...t,
1143
+ MultiGroupAxis: {
1144
+ tickTextRotate: -30,
1145
+ gridIndexes: "all"
1146
+ },
1147
+ MultiValueAxis: {
1148
+ gridIndexes: "all"
1149
+ },
1150
+ MultiValueStackAxis: {
1151
+ gridIndexes: "all"
1152
+ },
1153
+ MultiBars: {
1154
+ gridIndexes: "all"
1155
+ },
1156
+ MultiBarStack: {
1157
+ gridIndexes: "all"
1158
+ },
1159
+ MultiBarsTriangle: {
1160
+ gridIndexes: "all"
1161
+ },
1162
+ MultiLines: {
1163
+ gridIndexes: "all"
1164
+ },
1165
+ MultiLineAreas: {
1166
+ gridIndexes: "all"
1167
+ },
1168
+ MultiDots: {
1169
+ gridIndexes: "all"
1170
+ },
1171
+ MultiGridLegend: {
1172
+ position: "bottom",
1173
+ justify: "center",
1174
+ padding: 14
1175
+ }
254
1176
  }
255
- }, v = {
256
- id: "PP_GRID_LEGEND_BOTTOM",
257
- chartType: "grid",
258
- pluginName: "GridLegend",
259
- description: "底部圖例",
260
- data: {
261
- position: "bottom",
262
- justify: "center",
263
- padding: 14
1177
+ }, X = {
1178
+ name: "PRESET_MULTI_LINE_AREAS_SEPARATE_GRID",
1179
+ description: "2組區域圖表",
1180
+ chartParams: {
1181
+ padding: {
1182
+ top: 60,
1183
+ right: 60,
1184
+ bottom: 160,
1185
+ left: 60
1186
+ }
1187
+ },
1188
+ dataFormatter: {
1189
+ gridList: [
1190
+ {
1191
+ // slotIndex: 0
1192
+ groupAxis: {
1193
+ scalePadding: 0
1194
+ }
1195
+ },
1196
+ {
1197
+ // slotIndex: 1,
1198
+ groupAxis: {
1199
+ scalePadding: 0
1200
+ }
1201
+ }
1202
+ ],
1203
+ separateGrid: !0
1204
+ // container: {
1205
+ // rowAmount: 1,
1206
+ // columnAmount: 2,
1207
+ // }
1208
+ },
1209
+ allPluginParams: {
1210
+ ...t,
1211
+ MultiGroupAxis: {
1212
+ tickTextRotate: -30,
1213
+ gridIndexes: "all"
1214
+ },
1215
+ MultiValueAxis: {
1216
+ gridIndexes: "all"
1217
+ },
1218
+ MultiValueStackAxis: {
1219
+ gridIndexes: "all"
1220
+ },
1221
+ MultiBars: {
1222
+ gridIndexes: "all"
1223
+ },
1224
+ MultiBarStack: {
1225
+ gridIndexes: "all"
1226
+ },
1227
+ MultiBarsTriangle: {
1228
+ gridIndexes: "all"
1229
+ },
1230
+ MultiLines: {
1231
+ gridIndexes: "all"
1232
+ },
1233
+ MultiLineAreas: {
1234
+ gridIndexes: "all"
1235
+ },
1236
+ MultiDots: {
1237
+ gridIndexes: "all"
1238
+ },
1239
+ MultiGridLegend: {
1240
+ position: "bottom",
1241
+ justify: "center",
1242
+ padding: 14,
1243
+ gridList: [
1244
+ {
1245
+ listRectHeight: 2
1246
+ },
1247
+ {
1248
+ listRectHeight: 2
1249
+ },
1250
+ {
1251
+ listRectHeight: 2
1252
+ },
1253
+ {
1254
+ listRectHeight: 2
1255
+ },
1256
+ {
1257
+ listRectHeight: 2
1258
+ },
1259
+ {
1260
+ listRectHeight: 2
1261
+ },
1262
+ {
1263
+ listRectHeight: 2
1264
+ },
1265
+ {
1266
+ listRectHeight: 2
1267
+ }
1268
+ ]
1269
+ }
264
1270
  }
265
- }, V = {
266
- id: "PP_GROUP_AXIS_ROTATE_LABEL",
267
- chartType: "grid",
268
- pluginName: "GroupAxis",
269
- description: "群組圖軸標籤文字傾斜",
270
- data: {
271
- tickTextRotate: 40
272
- }
273
- }, z = {
274
- id: "PP_LINES_CURVE",
275
- chartType: "grid",
276
- pluginName: "Lines",
277
- description: "圓弧折線圖",
278
- data: {
279
- lineCurve: "curveMonotoneX",
280
- lineWidth: 3
281
- }
282
- }, X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
283
- __proto__: null,
284
- PP_BARS_ROUND: F,
285
- PP_BARS_THIN: U,
286
- PP_DOTS_ONLY_SHOW_HIGHLIGHTED: f,
287
- PP_DOTS_SOLID: j,
288
- PP_GRID_LEGEND_BOTTOM: v,
289
- PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: W,
290
- PP_GROUP_AXIS_ROTATE_LABEL: V,
291
- PP_LINES_CURVE: z
292
- }, Symbol.toStringTag, { value: "Module" })), $ = {}, Y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
293
- __proto__: null,
294
- temp: $
295
- }, Symbol.toStringTag, { value: "Module" })), x = {}, Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
296
- __proto__: null,
297
- temp: x
298
- }, Symbol.toStringTag, { value: "Module" })), w = {}, k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
299
- __proto__: null,
300
- temp: w
301
- }, Symbol.toStringTag, { value: "Module" })), q = {}, J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
302
- __proto__: null,
303
- temp: q
304
- }, Symbol.toStringTag, { value: "Module" })), K = {}, Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
305
- __proto__: null,
306
- temp: K
307
- }, Symbol.toStringTag, { value: "Module" })), __ = {}, t_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
308
- __proto__: null,
309
- temp: __
310
- }, Symbol.toStringTag, { value: "Module" })), e_ = {}, a_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
311
- __proto__: null,
312
- temp: e_
313
- }, Symbol.toStringTag, { value: "Module" })), i_ = {}, P_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
314
- __proto__: null,
315
- temp: i_
316
- }, Symbol.toStringTag, { value: "Module" })), o = {
317
- series: m,
318
- grid: y,
319
- multiGrid: Y,
320
- multiValue: k,
321
- relationship: Q,
322
- tree: a_
323
- }, P = {
324
- series: b,
325
- grid: X,
326
- multiGrid: Z,
327
- multiValue: J,
328
- relationship: t_,
329
- tree: P_
330
- }, s = (t, e) => {
331
- const n = e.chartParamsId ? L[e.chartParamsId].data : void 0, d = o[t][e.dataFormatterId] ? o[t][e.dataFormatterId].data : void 0, T = e.allPluginParamsIds ? e.allPluginParamsIds.reduce((r, i) => {
332
- if (P[t][i]) {
333
- const I = P[t][i].pluginName;
334
- r[I] = P[t][i].data;
335
- }
336
- return r;
337
- }, {}) : void 0;
338
- return {
339
- chartParams: n,
340
- dataFormatter: d,
341
- allPluginParams: T
342
- };
343
- }, a = (t) => s("series", t), _ = (t) => s("grid", t), r_ = a({
344
- // chartParamsId: 'CP_RIGHT_PADDING',
345
- allPluginParamsIds: [],
346
- description: "基本Series參數"
347
- }), o_ = a({
348
- // chartParamsId: 'CP_RIGHT_PADDING',
349
- allPluginParamsIds: ["PP_BUBBLES_SCALING_BY_RADIUS", "PP_SERIES_LEGEND_ROUND"],
350
- description: "以半徑尺寸為比例的泡泡圖"
351
- }), s_ = a({
352
- // chartParamsId: 'CP_RIGHT_PADDING',
353
- allPluginParamsIds: ["PP_PIE_LABELS_INNER", "PP_SERIES_LEGEND_ROUND"],
354
- description: "圓餅圖及內部資料標籤"
355
- }), n_ = a({
356
- // chartParamsId: 'CP_RIGHT_PADDING',
357
- allPluginParamsIds: ["PP_PIE_DONUT", "PP_SERIES_LEGEND_ROUND"],
358
- description: "甜甜圈圖"
359
- }), d_ = a({
360
- chartParamsId: "CP_TOP_AND_NO_BOTTOM_PADDING",
361
- allPluginParamsIds: ["PP_PIE_HALF_DONUT", "PP_PIE_LABELS_HALF_ANGLE", "PP_SERIES_LEGEND_ROUND"],
362
- description: "半圓甜甜圈圖"
363
- }), T_ = _({
364
- chartParamsId: "CP_BOTTOM_PADDING",
365
- allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
366
- description: "基本Grid參數"
367
- }), I_ = _({
368
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
369
- allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
370
- description: "傾斜標籤"
371
- }), l_ = _({
372
- chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
373
- dataFormatterId: "DF_BOTTOM_VALUE_AXIS",
374
- allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
375
- description: "橫向圓角長條圖"
376
- }), O_ = _({
377
- chartParamsId: "CP_BOTTOM_PADDING",
378
- allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
379
- description: "圓角長條圖"
380
- }), E_ = _({
381
- chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
382
- dataFormatterId: "DF_BOTTOM_VALUE_AXIS",
383
- allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
384
- description: "橫向圓角長條圖"
385
- }), c_ = _({
386
- chartParamsId: "CP_BOTTOM_PADDING",
387
- allPluginParamsIds: ["PP_BARS_THIN", "PP_GRID_LEGEND_BOTTOM"],
388
- description: "細長條圖"
389
- }), D_ = _({
390
- chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
391
- dataFormatterId: "DF_BOTTOM_VALUE_AXIS",
392
- allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
393
- description: "橫向圓角長條圖"
394
- }), p_ = _({
395
- chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
396
- allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
397
- description: "基本Grid參數"
398
- }), N_ = _({
399
- chartParamsId: "CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",
400
- allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
401
- description: "傾斜標籤"
402
- }), S_ = _({
403
- chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",
404
- dataFormatterId: "DF_BOTTOM_VALUE_AXIS",
405
- allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
406
- description: "橫向圓角長條圖"
407
- }), g_ = _({
408
- chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
409
- allPluginParamsIds: ["PP_LINES_CURVE", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
410
- description: "弧線折線圖"
411
- }), G_ = _({
412
- chartParamsId: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
413
- allPluginParamsIds: ["PP_DOTS_ONLY_SHOW_HIGHLIGHTED", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
414
- description: "折線圖及Highlight Group圓點"
415
- });
1271
+ }, Z = {
1272
+ name: "PRESET_MULTI_LINES_SEPARATE_GRID",
1273
+ description: "多組分開折線圖表",
1274
+ chartParams: {
1275
+ padding: {
1276
+ top: 60,
1277
+ right: 60,
1278
+ bottom: 160,
1279
+ left: 60
1280
+ }
1281
+ },
1282
+ dataFormatter: {
1283
+ separateGrid: !0
1284
+ },
1285
+ allPluginParams: {
1286
+ ...t,
1287
+ MultiGroupAxis: {
1288
+ tickTextRotate: -30,
1289
+ gridIndexes: "all"
1290
+ },
1291
+ MultiValueAxis: {
1292
+ gridIndexes: "all"
1293
+ },
1294
+ MultiValueStackAxis: {
1295
+ gridIndexes: "all"
1296
+ },
1297
+ MultiBars: {
1298
+ gridIndexes: "all"
1299
+ },
1300
+ MultiBarStack: {
1301
+ gridIndexes: "all"
1302
+ },
1303
+ MultiBarsTriangle: {
1304
+ gridIndexes: "all"
1305
+ },
1306
+ MultiLines: {
1307
+ gridIndexes: "all"
1308
+ },
1309
+ MultiLineAreas: {
1310
+ gridIndexes: "all"
1311
+ },
1312
+ MultiDots: {
1313
+ gridIndexes: "all"
1314
+ },
1315
+ MultiGridLegend: {
1316
+ position: "bottom",
1317
+ justify: "center",
1318
+ padding: 14,
1319
+ gridList: [
1320
+ {
1321
+ listRectHeight: 2
1322
+ },
1323
+ {
1324
+ listRectHeight: 2
1325
+ },
1326
+ {
1327
+ listRectHeight: 2
1328
+ },
1329
+ {
1330
+ listRectHeight: 2
1331
+ },
1332
+ {
1333
+ listRectHeight: 2
1334
+ },
1335
+ {
1336
+ listRectHeight: 2
1337
+ },
1338
+ {
1339
+ listRectHeight: 2
1340
+ },
1341
+ {
1342
+ listRectHeight: 2
1343
+ }
1344
+ ]
1345
+ }
1346
+ }
1347
+ }, Y = {
1348
+ name: "PRESET_TREE_BASIC",
1349
+ description: "基本Tree參數",
1350
+ chartParams: {
1351
+ padding: {
1352
+ top: 40,
1353
+ right: 40,
1354
+ bottom: 60,
1355
+ left: 40
1356
+ }
1357
+ },
1358
+ allPluginParams: {
1359
+ ...t,
1360
+ TreeMap: {},
1361
+ TreeLegend: {
1362
+ position: "bottom",
1363
+ justify: "center",
1364
+ padding: 14
1365
+ }
1366
+ }
1367
+ };
416
1368
  export {
417
- E_ as PRESET_BARS_HORIZONTAL_AND_ROUND,
418
- D_ as PRESET_BARS_HORIZONTAL_AND_THIN,
419
- O_ as PRESET_BARS_ROUND,
420
- c_ as PRESET_BARS_THIN,
421
- o_ as PRESET_BUBBLES_SCALING_BY_RADIUS,
422
- T_ as PRESET_GRID_BASIC,
423
- l_ as PRESET_GRID_HORIZONTAL,
424
- I_ as PRESET_GRID_ROTATE_AXIS_LABEL,
425
- p_ as PRESET_LINES_BASIC,
426
- g_ as PRESET_LINES_CURVE,
427
- G_ as PRESET_LINES_HIGHLIGHT_GROUP_DOTS,
428
- S_ as PRESET_LINES_HORIZONTAL,
429
- N_ as PRESET_LINES_ROTATE_AXIS_LABEL,
430
- n_ as PRESET_PIE_DONUT,
431
- d_ as PRESET_PIE_HALF_DONUT,
432
- s_ as PRESET_PIE_WITH_INNER_LABELS,
433
- r_ as PRESET_SERIES_BASIC
1369
+ A as PRESET_BARS_HORIZONTAL_AND_ROUND,
1370
+ P as PRESET_BARS_HORIZONTAL_AND_THIN,
1371
+ c as PRESET_BARS_ROUND,
1372
+ m as PRESET_BARS_THIN,
1373
+ n as PRESET_BUBBLES_SCALING_BY_RADIUS,
1374
+ l as PRESET_BUBBLES_SEPARATE_SERIES,
1375
+ I as PRESET_GRID_BASIC,
1376
+ T as PRESET_GRID_HORIZONTAL,
1377
+ L as PRESET_GRID_PN_SCALE,
1378
+ h as PRESET_GRID_ROTATE_AXIS_LABEL,
1379
+ x as PRESET_GRID_SEPARATE_SERIES,
1380
+ H as PRESET_LINES_BASIC,
1381
+ O as PRESET_LINES_CURVE,
1382
+ U as PRESET_LINES_HIGHLIGHT_GROUP_DOTS,
1383
+ V as PRESET_LINES_HORIZONTAL,
1384
+ y as PRESET_LINES_LOOSE_TICKS,
1385
+ C as PRESET_LINES_ROTATE_AXIS_LABEL,
1386
+ k as PRESET_LINES_WITH_SOLID_DOTS,
1387
+ G as PRESET_LINE_AREAS_BASIC,
1388
+ b as PRESET_LINE_AREAS_CURVE,
1389
+ M as PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS,
1390
+ D as PRESET_LINE_AREAS_HORIZONTAL,
1391
+ N as PRESET_LINE_AREAS_LOOSE_TICKS,
1392
+ f as PRESET_LINE_AREAS_ROTATE_AXIS_LABEL,
1393
+ B as PRESET_LINE_AREAS_SEPARATE_SERIES,
1394
+ j as PRESET_MULTI_GRID_BASIC,
1395
+ v as PRESET_MULTI_GRID_DIVERGING,
1396
+ F as PRESET_MULTI_GRID_ROUND_STYLE,
1397
+ W as PRESET_MULTI_GRID_SEPARATE_GRID,
1398
+ Z as PRESET_MULTI_LINES_SEPARATE_GRID,
1399
+ X as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID,
1400
+ d as PRESET_PIE_DONUT,
1401
+ g as PRESET_PIE_HALF_DONUT,
1402
+ E as PRESET_PIE_WITH_INNER_LABELS,
1403
+ u as PRESET_ROSE_SCALING_BY_RADIUS,
1404
+ S as PRESET_SERIES_BASIC,
1405
+ o as PRESET_SERIES_DESC,
1406
+ _ as PRESET_SERIES_SEPARATE_SERIES,
1407
+ R as PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES,
1408
+ p as PRESET_SERIES_SUM_SERIES,
1409
+ Y as PRESET_TREE_BASIC
434
1410
  };