@orbcharts/presets-basic 3.0.0-alpha.1 → 3.0.0-alpha.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. package/dist/orbcharts-presets-basic.es.js +789 -129
  2. package/dist/orbcharts-presets-basic.umd.js +1 -1
  3. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.d.ts +3 -0
  4. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +3 -0
  5. package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +3 -0
  6. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +3 -0
  7. package/dist/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.d.ts +3 -0
  8. package/dist/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts +3 -0
  9. package/dist/src/chartParamsFiles/index.d.ts +6 -0
  10. package/dist/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts +3 -0
  11. package/dist/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts +3 -0
  12. package/dist/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts +3 -0
  13. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.d.ts +3 -0
  14. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.d.ts +3 -0
  15. package/dist/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.d.ts +3 -0
  16. package/dist/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.d.ts +3 -0
  17. package/dist/src/gridDataFormatterFiles/index.d.ts +7 -1
  18. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.d.ts +4 -0
  19. package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +1 -0
  20. package/dist/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.d.ts +4 -0
  21. package/dist/src/gridPluginParamsFiles/LineAreas/index.d.ts +1 -0
  22. package/dist/src/gridPluginParamsFiles/index.d.ts +1 -0
  23. package/dist/src/index.d.ts +25 -0
  24. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.d.ts +3 -0
  25. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.d.ts +3 -0
  26. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.d.ts +3 -0
  27. package/dist/src/multiGridDataFormatterFiles/index.d.ts +3 -1
  28. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.d.ts +4 -0
  29. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.d.ts +4 -0
  30. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.d.ts +4 -0
  31. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/index.d.ts +3 -0
  32. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.d.ts +4 -0
  33. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.d.ts +4 -0
  34. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.d.ts +4 -0
  35. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.d.ts +4 -0
  36. package/dist/src/multiGridPluginParamsFiles/MultiBars/index.d.ts +4 -0
  37. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.d.ts +4 -0
  38. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.d.ts +4 -0
  39. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.d.ts +4 -0
  40. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.d.ts +3 -0
  41. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +4 -0
  42. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +4 -0
  43. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.d.ts +4 -0
  44. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.d.ts +4 -0
  45. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +4 -0
  46. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.d.ts +4 -0
  47. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.d.ts +4 -0
  48. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.d.ts +4 -0
  49. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +3 -0
  50. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.d.ts +4 -0
  51. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.d.ts +4 -0
  52. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.d.ts +4 -0
  53. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.d.ts +4 -0
  54. package/dist/src/multiGridPluginParamsFiles/MultiLines/index.d.ts +4 -0
  55. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.d.ts +4 -0
  56. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.d.ts +4 -0
  57. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.d.ts +4 -0
  58. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/index.d.ts +3 -0
  59. package/dist/src/multiGridPluginParamsFiles/index.d.ts +7 -1
  60. package/dist/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.d.ts +4 -0
  61. package/dist/src/treePluginParamsFiles/TreeLegend/index.d.ts +1 -0
  62. package/dist/src/treePluginParamsFiles/index.d.ts +1 -1
  63. package/dist/src/types.d.ts +6 -2
  64. package/package.json +3 -3
  65. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +14 -0
  66. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  67. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +1 -1
  68. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  69. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  70. package/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.ts +14 -0
  71. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +2 -2
  72. package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +1 -1
  73. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +14 -0
  74. package/src/chartParamsFiles/index.ts +6 -0
  75. package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +16 -0
  76. package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +16 -0
  77. package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +16 -0
  78. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +23 -0
  79. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.ts +18 -0
  80. package/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.ts +15 -0
  81. package/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.ts +14 -0
  82. package/src/gridDataFormatterFiles/index.ts +7 -1
  83. package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +0 -2
  84. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +15 -0
  85. package/src/gridPluginParamsFiles/GridLegend/index.ts +1 -0
  86. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +2 -1
  87. package/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.ts +12 -0
  88. package/src/gridPluginParamsFiles/LineAreas/index.ts +1 -0
  89. package/src/gridPluginParamsFiles/index.ts +1 -0
  90. package/src/index.ts +169 -18
  91. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +21 -0
  92. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +24 -0
  93. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +27 -0
  94. package/src/multiGridDataFormatterFiles/index.ts +3 -1
  95. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +12 -0
  96. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +12 -0
  97. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +12 -0
  98. package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +4 -0
  99. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +12 -0
  100. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +12 -0
  101. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +12 -0
  102. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +15 -0
  103. package/src/multiGridPluginParamsFiles/MultiBars/index.ts +5 -0
  104. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +12 -0
  105. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +12 -0
  106. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +12 -0
  107. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +3 -0
  108. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +14 -0
  109. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +28 -0
  110. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +21 -0
  111. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +22 -0
  112. package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +4 -0
  113. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +13 -0
  114. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +13 -0
  115. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +13 -0
  116. package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +3 -0
  117. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +12 -0
  118. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +12 -0
  119. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +12 -0
  120. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +13 -0
  121. package/src/multiGridPluginParamsFiles/MultiLines/index.ts +4 -0
  122. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +12 -0
  123. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +12 -0
  124. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +12 -0
  125. package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +3 -0
  126. package/src/multiGridPluginParamsFiles/index.ts +7 -1
  127. package/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.ts +14 -0
  128. package/src/treePluginParamsFiles/TreeLegend/index.ts +1 -0
  129. package/src/treePluginParamsFiles/index.ts +1 -1
  130. package/src/types.ts +5 -2
  131. package/tsconfig.dev.json +18 -0
  132. package/tsconfig.prod.json +14 -0
  133. package/dist/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.d.ts +0 -3
  134. package/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.ts +0 -16
@@ -1,15 +1,50 @@
1
- const T = {
1
+ const G = {
2
+ id: "CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",
3
+ description: "間距下面及左邊留空",
4
+ data: {
5
+ padding: {
6
+ top: 60,
7
+ right: 60,
8
+ bottom: 120,
9
+ left: 160
10
+ },
11
+ highlightTarget: "series"
12
+ }
13
+ }, D = {
14
+ id: "CP_BOTTOM_AND_LEFT_PADDING",
15
+ description: "間距下面及左邊留空",
16
+ data: {
17
+ padding: {
18
+ top: 60,
19
+ right: 60,
20
+ bottom: 120,
21
+ left: 160
22
+ }
23
+ }
24
+ }, O = {
2
25
  id: "CP_BOTTOM_LONG_PADDING",
3
26
  description: "間距下面加長留空",
4
27
  data: {
5
28
  padding: {
6
29
  top: 60,
7
30
  right: 60,
8
- bottom: 180,
31
+ bottom: 160,
9
32
  left: 60
10
33
  }
11
34
  }
12
- }, I = {
35
+ }, S = {
36
+ id: "CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",
37
+ description: "間距下面加長留空及highlight系列",
38
+ data: {
39
+ padding: {
40
+ top: 60,
41
+ right: 60,
42
+ bottom: 160,
43
+ left: 60
44
+ },
45
+ highlightTarget: "series"
46
+ }
47
+ }, E = {
13
48
  id: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
14
49
  description: "間距下面留空及highlight群組",
15
50
  data: {
@@ -21,7 +56,19 @@ const T = {
21
56
  },
22
57
  highlightTarget: "group"
23
58
  }
24
- }, E = {
59
+ }, R = {
60
+ id: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
61
+ description: "間距下面留空及highlight系列",
62
+ data: {
63
+ padding: {
64
+ top: 60,
65
+ right: 60,
66
+ bottom: 120,
67
+ left: 60
68
+ },
69
+ highlightTarget: "series"
70
+ }
71
+ }, l = {
25
72
  id: "CP_BOTTOM_PADDING",
26
73
  description: "間距下面留空",
27
74
  data: {
@@ -32,39 +79,67 @@ const T = {
32
79
  left: 60
33
80
  }
34
81
  }
35
- }, p = {
82
+ }, c = {
83
+ id: "CP_BOTTOM_SLIGHT_PADDING",
84
+ description: "間距下面些微留空",
85
+ data: {
86
+ padding: {
87
+ top: 40,
88
+ right: 40,
89
+ bottom: 60,
90
+ left: 40
91
+ }
92
+ }
93
+ }, N = {
36
94
  id: "CP_LEFT_PADDING",
37
- description: "間距右邊留空",
95
+ description: "間距左邊留空",
38
96
  data: {
39
97
  padding: {
40
98
  top: 60,
41
99
  right: 60,
42
100
  bottom: 60,
43
- left: 180
101
+ left: 160
44
102
  }
45
103
  }
46
- }, O = {
104
+ }, A = {
105
+ id: "CP_TOP_AND_NO_BOTTOM_PADDING",
106
+ description: "間距上面留空下面不留空",
107
+ data: {
108
+ padding: {
109
+ top: 120,
110
+ right: 120,
111
+ bottom: 0,
112
+ left: 60
113
+ }
114
+ }
115
+ }, p = {
47
116
  id: "CP_RIGHT_PADDING",
48
117
  description: "間距右邊留空",
49
118
  data: {
50
119
  padding: {
51
120
  top: 60,
52
- right: 180,
121
+ right: 120,
53
122
  bottom: 60,
54
123
  left: 60
55
124
  }
56
125
  }
57
- }, g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
126
+ }, M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
58
127
  __proto__: null,
59
- CP_BOTTOM_LONG_PADDING: T,
60
- CP_BOTTOM_PADDING: E,
61
- CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT: I,
62
- CP_LEFT_PADDING: p,
63
- CP_RIGHT_PADDING: O
64
- }, Symbol.toStringTag, { value: "Module" })), S = {}, u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
128
+ CP_BOTTOM_AND_LEFT_PADDING: D,
129
+ CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT: G,
130
+ CP_BOTTOM_LONG_PADDING: O,
131
+ CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT: S,
132
+ CP_BOTTOM_PADDING: l,
133
+ CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT: E,
134
+ CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT: R,
135
+ CP_BOTTOM_SLIGHT_PADDING: c,
136
+ CP_LEFT_PADDING: N,
137
+ CP_RIGHT_PADDING: p,
138
+ CP_TOP_AND_NO_BOTTOM_PADDING: A
139
+ }, Symbol.toStringTag, { value: "Module" })), u = {}, g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
65
140
  __proto__: null,
66
- temp: S
67
- }, Symbol.toStringTag, { value: "Module" })), D = {
141
+ temp: u
142
+ }, Symbol.toStringTag, { value: "Module" })), m = {
68
143
  id: "PP_BUBBLES_SCALING_BY_RADIUS",
69
144
  chartType: "series",
70
145
  pluginName: "Bubbles",
@@ -72,7 +147,7 @@ const T = {
72
147
  data: {
73
148
  bubbleScaleType: "radius"
74
149
  }
75
- }, m = {
150
+ }, U = {
76
151
  id: "PP_PIE_DONUT",
77
152
  chartType: "series",
78
153
  pluginName: "Pie",
@@ -80,7 +155,7 @@ const T = {
80
155
  data: {
81
156
  innerRadius: 0.5
82
157
  }
83
- }, N = {
158
+ }, B = {
84
159
  id: "PP_PIE_HALF_DONUT",
85
160
  chartType: "series",
86
161
  pluginName: "Pie",
@@ -90,7 +165,7 @@ const T = {
90
165
  startAngle: -Math.PI / 2,
91
166
  endAngle: Math.PI / 2
92
167
  }
93
- }, L = {
168
+ }, H = {
94
169
  id: "PP_PIE_LABELS_HALF_ANGLE",
95
170
  chartType: "series",
96
171
  pluginName: "PieLabels",
@@ -99,7 +174,7 @@ const T = {
99
174
  startAngle: -Math.PI / 2,
100
175
  endAngle: Math.PI / 2
101
176
  }
102
- }, G = {
177
+ }, h = {
103
178
  id: "PP_PIE_LABELS_INNER",
104
179
  chartType: "series",
105
180
  pluginName: "PieLabels",
@@ -108,7 +183,7 @@ const T = {
108
183
  labelCentroid: 1.3,
109
184
  labelColorType: "primary"
110
185
  }
111
- }, R = {
186
+ }, C = {
112
187
  id: "PP_SERIES_LEGEND_BOTTOM",
113
188
  chartType: "series",
114
189
  pluginName: "SeriesLegend",
@@ -116,30 +191,121 @@ const T = {
116
191
  data: {
117
192
  listRectRadius: 7
118
193
  }
119
- }, A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
194
+ }, F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
120
195
  __proto__: null,
121
- PP_BUBBLES_SCALING_BY_RADIUS: D,
122
- PP_PIE_DONUT: m,
123
- PP_PIE_HALF_DONUT: N,
124
- PP_PIE_LABELS_HALF_ANGLE: L,
125
- PP_PIE_LABELS_INNER: G,
126
- PP_SERIES_LEGEND_ROUND: R
127
- }, Symbol.toStringTag, { value: "Module" })), B = {
128
- id: "DF_BOTTOM_VALUE_AXIS",
196
+ PP_BUBBLES_SCALING_BY_RADIUS: m,
197
+ PP_PIE_DONUT: U,
198
+ PP_PIE_HALF_DONUT: B,
199
+ PP_PIE_LABELS_HALF_ANGLE: H,
200
+ PP_PIE_LABELS_INNER: h,
201
+ PP_SERIES_LEGEND_ROUND: C
202
+ }, Symbol.toStringTag, { value: "Module" })), y = {
203
+ id: "DF_GRID_BOTTOM_VALUE_AXIS",
129
204
  chartType: "grid",
130
205
  description: "底部橫向資料圖軸",
131
206
  data: {
132
- valueAxis: {
133
- position: "bottom"
207
+ grid: {
208
+ valueAxis: {
209
+ position: "bottom"
210
+ // position: 'top'
211
+ // position: 'left'
212
+ // position: 'right'
213
+ },
214
+ groupAxis: {
215
+ position: "left"
216
+ // position: 'right'
217
+ // position: 'bottom'
218
+ // position: 'top'
219
+ }
220
+ }
221
+ }
222
+ }, b = {
223
+ id: "DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING",
224
+ chartType: "grid",
225
+ description: "底部橫向資料圖軸及無群組圖軸的左右間距",
226
+ data: {
227
+ grid: {
228
+ valueAxis: {
229
+ position: "bottom"
230
+ },
231
+ groupAxis: {
232
+ position: "left",
233
+ scalePadding: 0
234
+ }
235
+ }
236
+ }
237
+ }, W = {
238
+ id: "DF_GRID_2_SERIES_SLOT",
239
+ chartType: "grid",
240
+ description: "2個Series Slot",
241
+ data: {
242
+ grid: {
243
+ seriesSlotIndexes: [0, 1]
134
244
  },
135
- groupAxis: {
136
- position: "left"
245
+ container: {
246
+ rowAmount: 1,
247
+ columnAmount: 2
137
248
  }
138
249
  }
139
- }, b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
250
+ }, f = {
251
+ id: "DF_GRID_3_SERIES_SLOT",
252
+ chartType: "grid",
253
+ description: "3個Series Slot",
254
+ data: {
255
+ grid: {
256
+ seriesSlotIndexes: [0, 1, 2]
257
+ },
258
+ container: {
259
+ rowAmount: 1,
260
+ columnAmount: 3
261
+ }
262
+ }
263
+ }, X = {
264
+ id: "DF_GRID_4_SERIES_SLOT",
265
+ chartType: "grid",
266
+ description: "4個Series Slot",
267
+ data: {
268
+ grid: {
269
+ seriesSlotIndexes: [0, 1, 2, 3]
270
+ },
271
+ container: {
272
+ rowAmount: 2,
273
+ columnAmount: 2
274
+ }
275
+ }
276
+ }, x = {
277
+ id: "DF_GRID_DIVERGING_SCALE",
278
+ chartType: "grid",
279
+ description: "分向資料圖軸",
280
+ data: {
281
+ grid: {
282
+ valueAxis: {
283
+ scaleDomain: ["auto", "auto"],
284
+ scaleRange: [0.05, 0.95]
285
+ }
286
+ }
287
+ }
288
+ }, V = {
289
+ id: "DF_GRID_NONE_GROUP_SCALE_PADDING",
290
+ chartType: "grid",
291
+ description: "無群組圖軸的左右間距",
292
+ data: {
293
+ grid: {
294
+ groupAxis: {
295
+ scalePadding: 0
296
+ }
297
+ }
298
+ }
299
+ }, j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
140
300
  __proto__: null,
141
- DF_BOTTOM_VALUE_AXIS: B
142
- }, Symbol.toStringTag, { value: "Module" })), h = {
301
+ DF_GRID_2_SERIES_SLOT: W,
302
+ DF_GRID_3_SERIES_SLOT: f,
303
+ DF_GRID_4_SERIES_SLOT: X,
304
+ DF_GRID_BOTTOM_VALUE_AXIS: y,
305
+ DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING: b,
306
+ DF_GRID_DIVERGING_SCALE: x,
307
+ DF_GRID_NONE_GROUP_SCALE_PADDING: V
308
+ }, Symbol.toStringTag, { value: "Module" })), v = {
143
309
  id: "PP_BARS_ROUND",
144
310
  chartType: "grid",
145
311
  pluginName: "Bars",
@@ -150,7 +316,7 @@ const T = {
150
316
  barGroupPadding: 10,
151
317
  barRadius: !0
152
318
  }
153
- }, H = {
319
+ }, z = {
154
320
  id: "PP_BARS_THIN",
155
321
  chartType: "grid",
156
322
  pluginName: "Bars",
@@ -160,17 +326,15 @@ const T = {
160
326
  barPadding: 1,
161
327
  barGroupPadding: 10
162
328
  }
163
- }, y = {
329
+ }, K = {
164
330
  id: "PP_DOTS_ONLY_SHOW_HIGHLIGHTED",
165
331
  chartType: "grid",
166
332
  pluginName: "Dots",
167
333
  description: "顯示highlight圓點",
168
334
  data: {
169
- radius: 3,
170
- fillColorType: "series",
171
335
  onlyShowHighlighted: !1
172
336
  }
173
- }, M = {
337
+ }, Y = {
174
338
  id: "PP_DOTS_SOLID",
175
339
  chartType: "grid",
176
340
  pluginName: "Dots",
@@ -180,7 +344,7 @@ const T = {
180
344
  fillColorType: "series",
181
345
  onlyShowHighlighted: !1
182
346
  }
183
- }, U = {
347
+ }, k = {
184
348
  id: "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",
185
349
  chartType: "grid",
186
350
  pluginName: "GridLegend",
@@ -191,7 +355,18 @@ const T = {
191
355
  padding: 14,
192
356
  listRectHeight: 2
193
357
  }
194
- }, f = {
358
+ }, w = {
359
+ id: "PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST",
360
+ chartType: "grid",
361
+ pluginName: "GridLegend",
362
+ description: "底部圖例及圓弧列點",
363
+ data: {
364
+ position: "bottom",
365
+ justify: "center",
366
+ padding: 14,
367
+ listRectRadius: 7
368
+ }
369
+ }, Z = {
195
370
  id: "PP_GRID_LEGEND_BOTTOM",
196
371
  chartType: "grid",
197
372
  pluginName: "GridLegend",
@@ -201,15 +376,16 @@ const T = {
201
376
  justify: "center",
202
377
  padding: 14
203
378
  }
204
- }, F = {
379
+ }, $ = {
205
380
  id: "PP_GROUP_AXIS_ROTATE_LABEL",
206
381
  chartType: "grid",
207
382
  pluginName: "GroupAxis",
208
383
  description: "群組圖軸標籤文字傾斜",
209
384
  data: {
210
- tickTextRotate: 40
385
+ tickPadding: 15,
386
+ tickTextRotate: -30
211
387
  }
212
- }, C = {
388
+ }, q = {
213
389
  id: "PP_LINES_CURVE",
214
390
  chartType: "grid",
215
391
  pluginName: "Lines",
@@ -218,130 +394,614 @@ const T = {
218
394
  lineCurve: "curveMonotoneX",
219
395
  lineWidth: 3
220
396
  }
221
- }, j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
397
+ }, J = {
398
+ id: "PP_LINE_AREAS_CURVE",
399
+ chartType: "grid",
400
+ pluginName: "LineAreas",
401
+ description: "圓弧折線圖",
402
+ data: {
403
+ lineCurve: "curveMonotoneX"
404
+ }
405
+ }, Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
222
406
  __proto__: null,
223
- PP_BARS_ROUND: h,
224
- PP_BARS_THIN: H,
225
- PP_DOTS_ONLY_SHOW_HIGHLIGHTED: y,
226
- PP_DOTS_SOLID: M,
227
- PP_GRID_LEGEND_BOTTOM: f,
228
- PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: U,
229
- PP_GROUP_AXIS_ROTATE_LABEL: F,
230
- PP_LINES_CURVE: C
231
- }, Symbol.toStringTag, { value: "Module" })), v = {}, W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
407
+ PP_BARS_ROUND: v,
408
+ PP_BARS_THIN: z,
409
+ PP_DOTS_ONLY_SHOW_HIGHLIGHTED: K,
410
+ PP_DOTS_SOLID: Y,
411
+ PP_GRID_LEGEND_BOTTOM: Z,
412
+ PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: k,
413
+ PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST: w,
414
+ PP_GROUP_AXIS_ROTATE_LABEL: $,
415
+ PP_LINES_CURVE: q,
416
+ PP_LINE_AREAS_CURVE: J
417
+ }, Symbol.toStringTag, { value: "Module" })), __ = {
418
+ id: "DF_MULTI_GRID_2_GRID_SLOT",
419
+ chartType: "multiGrid",
420
+ description: "2個Grid Slot",
421
+ data: {
422
+ gridList: [
423
+ {
424
+ // slotIndex: 0
425
+ },
426
+ {
427
+ slotIndex: 1
428
+ }
429
+ ],
430
+ container: {
431
+ rowAmount: 1,
432
+ columnAmount: 2
433
+ }
434
+ }
435
+ }, t_ = {
436
+ id: "DF_MULTI_GRID_3_GRID_SLOT",
437
+ chartType: "multiGrid",
438
+ description: "3個Grid Slot",
439
+ data: {
440
+ gridList: [
441
+ {
442
+ slotIndex: 0
443
+ },
444
+ {
445
+ slotIndex: 1
446
+ },
447
+ {
448
+ slotIndex: 2
449
+ }
450
+ ],
451
+ container: {
452
+ rowAmount: 1,
453
+ columnAmount: 3
454
+ }
455
+ }
456
+ }, I_ = {
457
+ id: "DF_MULTI_GRID_4_GRID_SLOT",
458
+ chartType: "multiGrid",
459
+ description: "4個Grid Slot",
460
+ data: {
461
+ gridList: [
462
+ {
463
+ slotIndex: 0
464
+ },
465
+ {
466
+ slotIndex: 1
467
+ },
468
+ {
469
+ slotIndex: 2
470
+ },
471
+ {
472
+ slotIndex: 3
473
+ }
474
+ ],
475
+ container: {
476
+ rowAmount: 2,
477
+ columnAmount: 2
478
+ }
479
+ }
480
+ }, i_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
232
481
  __proto__: null,
233
- temp: v
234
- }, Symbol.toStringTag, { value: "Module" })), z = {}, V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
482
+ DF_MULTI_GRID_2_GRID_SLOT: __,
483
+ DF_MULTI_GRID_3_GRID_SLOT: t_,
484
+ DF_MULTI_GRID_4_GRID_SLOT: I_
485
+ }, Symbol.toStringTag, { value: "Module" })), T_ = {
486
+ id: "PP_MULTI_BARS_2_GRID_SLOT",
487
+ chartType: "multiGrid",
488
+ pluginName: "MultiBars",
489
+ description: "2組群組長條圖",
490
+ data: {
491
+ gridIndexes: [0, 1]
492
+ }
493
+ }, P_ = {
494
+ id: "PP_MULTI_BARS_3_GRID_SLOT",
495
+ chartType: "multiGrid",
496
+ pluginName: "MultiBars",
497
+ description: "3組群組長條圖",
498
+ data: {
499
+ gridIndexes: [0, 1, 2]
500
+ }
501
+ }, a_ = {
502
+ id: "PP_MULTI_BARS_4_GRID_SLOT",
503
+ chartType: "multiGrid",
504
+ pluginName: "MultiBars",
505
+ description: "4組群組長條圖",
506
+ data: {
507
+ gridIndexes: [0, 1, 2, 3]
508
+ }
509
+ }, e_ = {
510
+ id: "PP_MULTI_BARS_ROUND",
511
+ chartType: "multiGrid",
512
+ pluginName: "MultiBars",
513
+ description: "圓角長條圖",
514
+ data: {
515
+ barWidth: 0,
516
+ barPadding: 1,
517
+ barGroupPadding: 10,
518
+ barRadius: !0
519
+ }
520
+ }, r_ = {
521
+ id: "PP_MULTI_BAR_STACK_2_GRID_SLOT",
522
+ chartType: "multiGrid",
523
+ pluginName: "MultiBarStack",
524
+ description: "2組堆疊長條圖",
525
+ data: {
526
+ gridIndexes: [0, 1]
527
+ }
528
+ }, d_ = {
529
+ id: "PP_MULTI_BAR_STACK_3_GRID_SLOT",
530
+ chartType: "multiGrid",
531
+ pluginName: "MultiBarStack",
532
+ description: "3組堆疊長條圖",
533
+ data: {
534
+ gridIndexes: [0, 1, 2]
535
+ }
536
+ }, L_ = {
537
+ id: "PP_MULTI_BAR_STACK_4_GRID_SLOT",
538
+ chartType: "multiGrid",
539
+ pluginName: "MultiBarStack",
540
+ description: "4組堆疊長條圖",
541
+ data: {
542
+ gridIndexes: [0, 1, 2, 3]
543
+ }
544
+ }, s_ = {
545
+ id: "PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT",
546
+ chartType: "multiGrid",
547
+ pluginName: "MultiBarsTriangle",
548
+ description: "2組群組三角長條圖",
549
+ data: {
550
+ gridIndexes: [0, 1]
551
+ }
552
+ }, n_ = {
553
+ id: "PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT",
554
+ chartType: "multiGrid",
555
+ pluginName: "MultiBarsTriangle",
556
+ description: "3組群組三角長條圖",
557
+ data: {
558
+ gridIndexes: [0, 1, 2]
559
+ }
560
+ }, o_ = {
561
+ id: "PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT",
562
+ chartType: "multiGrid",
563
+ pluginName: "MultiBarsTriangle",
564
+ description: "4組群組三角長條圖",
565
+ data: {
566
+ gridIndexes: [0, 1, 2, 3]
567
+ }
568
+ }, G_ = {
569
+ id: "PP_MULTI_LINES_2_GRID_SLOT",
570
+ chartType: "multiGrid",
571
+ pluginName: "MultiLines",
572
+ description: "2組折線圖",
573
+ data: {
574
+ gridIndexes: [0, 1]
575
+ }
576
+ }, D_ = {
577
+ id: "PP_MULTI_LINES_3_GRID_SLOT",
578
+ chartType: "multiGrid",
579
+ pluginName: "MultiLines",
580
+ description: "3組折線圖",
581
+ data: {
582
+ gridIndexes: [0, 1, 2]
583
+ }
584
+ }, O_ = {
585
+ id: "PP_MULTI_LINES_4_GRID_SLOT",
586
+ chartType: "multiGrid",
587
+ pluginName: "MultiLines",
588
+ description: "4組折線圖",
589
+ data: {
590
+ gridIndexes: [0, 1, 2, 3]
591
+ }
592
+ }, S_ = {
593
+ id: "PP_MULTI_LINES_CURVE",
594
+ chartType: "multiGrid",
595
+ pluginName: "MultiLines",
596
+ description: "圓弧折線圖",
597
+ data: {
598
+ lineCurve: "curveMonotoneX",
599
+ lineWidth: 3
600
+ }
601
+ }, E_ = {
602
+ id: "PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",
603
+ chartType: "multiGrid",
604
+ pluginName: "MultiGridLegend",
605
+ description: "底部圖例線條列點",
606
+ data: {
607
+ position: "bottom",
608
+ justify: "center",
609
+ padding: 14,
610
+ gridList: [
611
+ {
612
+ listRectHeight: 2
613
+ },
614
+ {
615
+ listRectHeight: 2
616
+ },
617
+ {
618
+ listRectHeight: 2
619
+ },
620
+ {
621
+ listRectHeight: 2
622
+ }
623
+ ]
624
+ }
625
+ }, R_ = {
626
+ id: "PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST",
627
+ chartType: "multiGrid",
628
+ pluginName: "MultiGridLegend",
629
+ description: "底部圖例矩型及線條列點",
630
+ data: {
631
+ position: "bottom",
632
+ justify: "center",
633
+ padding: 14,
634
+ gridList: [
635
+ {},
636
+ {
637
+ listRectHeight: 2
638
+ }
639
+ ]
640
+ }
641
+ }, l_ = {
642
+ id: "PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST",
643
+ chartType: "multiGrid",
644
+ pluginName: "MultiGridLegend",
645
+ description: "底部圖例圓型及線條列點",
646
+ data: {
647
+ position: "bottom",
648
+ justify: "center",
649
+ padding: 14,
650
+ gridList: [
651
+ {
652
+ listRectRadius: 7
653
+ },
654
+ {
655
+ listRectHeight: 2
656
+ }
657
+ ]
658
+ }
659
+ }, c_ = {
660
+ id: "PP_MULTI_GRID_LEGEND_BOTTOM",
661
+ chartType: "multiGrid",
662
+ pluginName: "MultiGridLegend",
663
+ description: "底部圖例",
664
+ data: {
665
+ position: "bottom",
666
+ justify: "center",
667
+ padding: 14
668
+ }
669
+ }, N_ = {
670
+ id: "PP_MULTI_GROUP_AXIS_2_GRID_SLOT",
671
+ chartType: "multiGrid",
672
+ pluginName: "MultiGroupAxis",
673
+ description: "2個群組圖軸",
674
+ data: {
675
+ tickTextRotate: -30,
676
+ gridIndexes: [0, 1]
677
+ }
678
+ }, A_ = {
679
+ id: "PP_MULTI_GROUP_AXIS_3_GRID_SLOT",
680
+ chartType: "multiGrid",
681
+ pluginName: "MultiGroupAxis",
682
+ description: "3個群組圖軸",
683
+ data: {
684
+ tickTextRotate: -30,
685
+ gridIndexes: [0, 1, 2]
686
+ }
687
+ }, p_ = {
688
+ id: "PP_MULTI_GROUP_AXIS_4_GRID_SLOT",
689
+ chartType: "multiGrid",
690
+ pluginName: "MultiGroupAxis",
691
+ description: "4個群組圖軸",
692
+ data: {
693
+ tickTextRotate: -30,
694
+ gridIndexes: [0, 1, 2, 3]
695
+ }
696
+ }, M_ = {
697
+ id: "PP_MULTI_VALUE_AXIS_2_GRID_SLOT",
698
+ chartType: "multiGrid",
699
+ pluginName: "MultiValueAxis",
700
+ description: "2個資料圖軸",
701
+ data: {
702
+ gridIndexes: [0, 1]
703
+ }
704
+ }, u_ = {
705
+ id: "PP_MULTI_VALUE_AXIS_3_GRID_SLOT",
706
+ chartType: "multiGrid",
707
+ pluginName: "MultiValueAxis",
708
+ description: "3個資料圖軸",
709
+ data: {
710
+ gridIndexes: [0, 1, 2]
711
+ }
712
+ }, g_ = {
713
+ id: "PP_MULTI_VALUE_AXIS_4_GRID_SLOT",
714
+ chartType: "multiGrid",
715
+ pluginName: "MultiValueAxis",
716
+ description: "4個資料圖軸",
717
+ data: {
718
+ gridIndexes: [0, 1, 2, 3]
719
+ }
720
+ }, m_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
235
721
  __proto__: null,
236
- temp: z
237
- }, Symbol.toStringTag, { value: "Module" })), X = {}, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
722
+ PP_MULTI_BARS_2_GRID_SLOT: T_,
723
+ PP_MULTI_BARS_3_GRID_SLOT: P_,
724
+ PP_MULTI_BARS_4_GRID_SLOT: a_,
725
+ PP_MULTI_BARS_ROUND: e_,
726
+ PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT: s_,
727
+ PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT: n_,
728
+ PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT: o_,
729
+ PP_MULTI_BAR_STACK_2_GRID_SLOT: r_,
730
+ PP_MULTI_BAR_STACK_3_GRID_SLOT: d_,
731
+ PP_MULTI_BAR_STACK_4_GRID_SLOT: L_,
732
+ PP_MULTI_GRID_LEGEND_BOTTOM: c_,
733
+ PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: E_,
734
+ PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST: R_,
735
+ PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST: l_,
736
+ PP_MULTI_GROUP_AXIS_2_GRID_SLOT: N_,
737
+ PP_MULTI_GROUP_AXIS_3_GRID_SLOT: A_,
738
+ PP_MULTI_GROUP_AXIS_4_GRID_SLOT: p_,
739
+ PP_MULTI_LINES_2_GRID_SLOT: G_,
740
+ PP_MULTI_LINES_3_GRID_SLOT: D_,
741
+ PP_MULTI_LINES_4_GRID_SLOT: O_,
742
+ PP_MULTI_LINES_CURVE: S_,
743
+ PP_MULTI_VALUE_AXIS_2_GRID_SLOT: M_,
744
+ PP_MULTI_VALUE_AXIS_3_GRID_SLOT: u_,
745
+ PP_MULTI_VALUE_AXIS_4_GRID_SLOT: g_
746
+ }, Symbol.toStringTag, { value: "Module" })), U_ = {}, B_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
238
747
  __proto__: null,
239
- temp: X
240
- }, Symbol.toStringTag, { value: "Module" })), Y = {}, x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
748
+ temp: U_
749
+ }, Symbol.toStringTag, { value: "Module" })), H_ = {}, h_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
241
750
  __proto__: null,
242
- temp: Y
243
- }, Symbol.toStringTag, { value: "Module" })), w = {}, k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
751
+ temp: H_
752
+ }, Symbol.toStringTag, { value: "Module" })), C_ = {}, F_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
244
753
  __proto__: null,
245
- temp: w
246
- }, Symbol.toStringTag, { value: "Module" })), Z = {}, q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
754
+ temp: C_
755
+ }, Symbol.toStringTag, { value: "Module" })), y_ = {}, b_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
247
756
  __proto__: null,
248
- temp: Z
249
- }, Symbol.toStringTag, { value: "Module" })), J = {}, K = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
757
+ temp: y_
758
+ }, Symbol.toStringTag, { value: "Module" })), W_ = {}, f_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
250
759
  __proto__: null,
251
- temp: J
252
- }, Symbol.toStringTag, { value: "Module" })), Q = {}, tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
760
+ temp: W_
761
+ }, Symbol.toStringTag, { value: "Module" })), X_ = {
762
+ id: "PP_TREE_LEGEND_BOTTOM",
763
+ chartType: "tree",
764
+ pluginName: "TreeLegend",
765
+ description: "底部圖例",
766
+ data: {
767
+ position: "bottom",
768
+ justify: "center",
769
+ padding: 14
770
+ }
771
+ }, x_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
253
772
  __proto__: null,
254
- temp: Q
255
- }, Symbol.toStringTag, { value: "Module" })), o = {
256
- series: u,
257
- grid: b,
258
- multiGrid: W,
259
- multiValue: $,
260
- relationship: k,
261
- tree: K
262
- }, r = {
263
- series: A,
773
+ PP_TREE_LEGEND_BOTTOM: X_
774
+ }, Symbol.toStringTag, { value: "Module" })), d = {
775
+ series: g,
264
776
  grid: j,
265
- multiGrid: V,
266
- multiValue: x,
267
- relationship: q,
268
- tree: tt
269
- }, s = (t, _) => {
270
- const n = _.chartParamsId ? g[_.chartParamsId].data : void 0, l = o[t][_.dataFormatterId] ? o[t][_.dataFormatterId].data : void 0, d = _.allPluginParamsIds ? _.allPluginParamsIds.reduce((P, a) => {
271
- if (r[t][a]) {
272
- const c = r[t][a].pluginName;
273
- P[c] = r[t][a].data;
777
+ multiGrid: i_,
778
+ multiValue: B_,
779
+ relationship: F_,
780
+ tree: f_
781
+ }, e = {
782
+ series: F,
783
+ grid: Q,
784
+ multiGrid: m_,
785
+ multiValue: h_,
786
+ relationship: b_,
787
+ tree: x_
788
+ }, P = (t, T) => {
789
+ const L = T.chartParamsId ? M[T.chartParamsId].data : void 0, s = d[t][T.dataFormatterId] ? d[t][T.dataFormatterId].data : void 0, n = T.allPluginParamsIds ? T.allPluginParamsIds.reduce((r, a) => {
790
+ if (e[t][a]) {
791
+ const o = e[t][a].pluginName;
792
+ r[o] = e[t][a].data;
274
793
  }
275
- return P;
794
+ return r;
276
795
  }, {}) : void 0;
277
796
  return {
278
- chartParams: n,
279
- dataFormatter: l,
280
- allPluginParams: d
797
+ chartParams: L,
798
+ dataFormatter: s,
799
+ allPluginParams: n
281
800
  };
282
- }, i = (t) => s("series", t), e = (t) => s("grid", t), _t = i({
801
+ }, i = (t) => P("series", t), _ = (t) => P("grid", t), I = (t) => P("multiGrid", t), V_ = (t) => P("tree", t), j_ = i({
283
802
  // chartParamsId: 'CP_RIGHT_PADDING',
284
803
  allPluginParamsIds: [],
285
804
  description: "基本Series參數"
286
- }), it = i({
805
+ }), v_ = i({
806
+ // chartParamsId: 'CP_RIGHT_PADDING',
807
+ allPluginParamsIds: ["PP_SERIES_LEGEND_ROUND"],
808
+ description: "基本泡泡圖"
809
+ }), z_ = i({
287
810
  // chartParamsId: 'CP_RIGHT_PADDING',
288
811
  allPluginParamsIds: ["PP_BUBBLES_SCALING_BY_RADIUS", "PP_SERIES_LEGEND_ROUND"],
289
812
  description: "以半徑尺寸為比例的泡泡圖"
290
- }), at = i({
813
+ }), K_ = i({
814
+ // chartParamsId: 'CP_RIGHT_PADDING',
815
+ allPluginParamsIds: ["PP_SERIES_LEGEND_ROUND"],
816
+ description: "基本圓餅圖"
817
+ }), Y_ = i({
291
818
  // chartParamsId: 'CP_RIGHT_PADDING',
292
819
  allPluginParamsIds: ["PP_PIE_LABELS_INNER", "PP_SERIES_LEGEND_ROUND"],
293
820
  description: "圓餅圖及內部資料標籤"
294
- }), rt = i({
821
+ }), k_ = i({
295
822
  // chartParamsId: 'CP_RIGHT_PADDING',
296
823
  allPluginParamsIds: ["PP_PIE_DONUT", "PP_SERIES_LEGEND_ROUND"],
297
824
  description: "甜甜圈圖"
298
- }), Pt = i({
299
- // chartParamsId: 'CP_RIGHT_PADDING',
825
+ }), w_ = i({
826
+ chartParamsId: "CP_TOP_AND_NO_BOTTOM_PADDING",
300
827
  allPluginParamsIds: ["PP_PIE_HALF_DONUT", "PP_PIE_LABELS_HALF_ANGLE", "PP_SERIES_LEGEND_ROUND"],
301
828
  description: "半圓甜甜圈圖"
302
- }), ot = e({
303
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
829
+ }), Z_ = _({
830
+ chartParamsId: "CP_BOTTOM_PADDING",
304
831
  allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
305
832
  description: "基本Grid參數"
306
- }), st = e({
307
- chartParamsId: "CP_BOTTOM_PADDING",
833
+ }), $_ = _({
834
+ chartParamsId: "CP_BOTTOM_LONG_PADDING",
308
835
  allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
309
836
  description: "傾斜標籤"
310
- }), et = e({
837
+ }), q_ = _({
838
+ chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
839
+ dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
840
+ allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
841
+ description: "橫向圖"
842
+ }), J_ = _({
311
843
  chartParamsId: "CP_BOTTOM_PADDING",
312
- allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
313
- description: "圓角長條圖"
314
- });
315
- console.log(et);
316
- const nt = e({
844
+ dataFormatterId: "DF_GRID_DIVERGING_SCALE",
845
+ allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
846
+ description: "正負值分向圖"
847
+ }), Q_ = _({
848
+ chartParamsId: "CP_BOTTOM_LONG_PADDING",
849
+ dataFormatterId: "DF_GRID_2_SERIES_SLOT",
850
+ allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
851
+ description: "2組Series圖表"
852
+ }), _t = _({
853
+ chartParamsId: "CP_BOTTOM_LONG_PADDING",
854
+ dataFormatterId: "DF_GRID_3_SERIES_SLOT",
855
+ allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM", "PP_GROUP_AXIS_ROTATE_LABEL"],
856
+ description: "3組Series圖表"
857
+ }), tt = _({
858
+ chartParamsId: "CP_BOTTOM_LONG_PADDING",
859
+ dataFormatterId: "DF_GRID_4_SERIES_SLOT",
860
+ allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
861
+ description: "4組Series圖表"
862
+ }), It = _({
317
863
  chartParamsId: "CP_BOTTOM_PADDING",
318
- dataFormatterId: "DF_BOTTOM_VALUE_AXIS",
319
- allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
864
+ allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],
865
+ description: "圓角長條圖"
866
+ }), it = _({
867
+ chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
868
+ dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
869
+ allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],
320
870
  description: "橫向圓角長條圖"
321
- }), lt = e({
871
+ }), Tt = _({
322
872
  chartParamsId: "CP_BOTTOM_PADDING",
323
873
  allPluginParamsIds: ["PP_BARS_THIN", "PP_GRID_LEGEND_BOTTOM"],
324
874
  description: "細長條圖"
325
- }), dt = e({
326
- chartParamsId: "CP_BOTTOM_PADDING",
875
+ }), Pt = _({
876
+ chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
877
+ dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
878
+ allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST"],
879
+ description: "橫向圓角長條圖"
880
+ }), at = _({
881
+ chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
882
+ allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
883
+ description: "基本Grid參數"
884
+ }), et = _({
885
+ chartParamsId: "CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",
886
+ allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
887
+ description: "傾斜標籤"
888
+ }), rt = _({
889
+ chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",
890
+ dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
891
+ allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
892
+ description: "橫向折線圖"
893
+ }), dt = _({
894
+ chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
327
895
  allPluginParamsIds: ["PP_LINES_CURVE", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
328
896
  description: "弧線折線圖"
329
- }), ct = e({
897
+ }), Lt = _({
898
+ chartParamsId: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
899
+ allPluginParamsIds: ["PP_DOTS_ONLY_SHOW_HIGHLIGHTED", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
900
+ description: "折線圖及Highlight Group圓點"
901
+ }), st = _({
902
+ chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
903
+ dataFormatterId: "DF_GRID_NONE_GROUP_SCALE_PADDING",
904
+ allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
905
+ description: "基本Grid參數"
906
+ }), nt = _({
907
+ chartParamsId: "CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",
908
+ dataFormatterId: "DF_GRID_NONE_GROUP_SCALE_PADDING",
909
+ allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
910
+ description: "傾斜標籤"
911
+ }), ot = _({
912
+ chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",
913
+ dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING",
914
+ allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
915
+ description: "橫向折線圖"
916
+ }), Gt = _({
917
+ chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
918
+ dataFormatterId: "DF_GRID_NONE_GROUP_SCALE_PADDING",
919
+ allPluginParamsIds: ["PP_LINES_CURVE", "PP_LINE_AREAS_CURVE", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
920
+ description: "弧線折線圖"
921
+ }), Dt = _({
330
922
  chartParamsId: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
923
+ dataFormatterId: "DF_GRID_NONE_GROUP_SCALE_PADDING",
331
924
  allPluginParamsIds: ["PP_DOTS_ONLY_SHOW_HIGHLIGHTED", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
332
925
  description: "折線圖及Highlight Group圓點"
926
+ }), Ot = I({
927
+ chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
928
+ allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST"],
929
+ description: "基本MultiGrid參數"
930
+ }), St = I({
931
+ chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
932
+ allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST", "PP_MULTI_BARS_ROUND", "PP_MULTI_LINES_CURVE"],
933
+ description: "MultiGrid圓弧風格"
934
+ }), Et = I({
935
+ chartParamsId: "CP_BOTTOM_LONG_PADDING",
936
+ dataFormatterId: "DF_MULTI_GRID_2_GRID_SLOT",
937
+ allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM", "PP_MULTI_GROUP_AXIS_2_GRID_SLOT", "PP_MULTI_VALUE_AXIS_2_GRID_SLOT", "PP_MULTI_BARS_2_GRID_SLOT", "PP_MULTI_BAR_STACK_2_GRID_SLOT", "PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT", "PP_MULTI_LINES_2_GRID_SLOT"],
938
+ description: "2組Grid圖表"
939
+ }), Rt = I({
940
+ chartParamsId: "CP_BOTTOM_LONG_PADDING",
941
+ dataFormatterId: "DF_MULTI_GRID_3_GRID_SLOT",
942
+ allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM", "PP_MULTI_GROUP_AXIS_3_GRID_SLOT", "PP_MULTI_VALUE_AXIS_3_GRID_SLOT", "PP_MULTI_BARS_3_GRID_SLOT", "PP_MULTI_BAR_STACK_3_GRID_SLOT", "PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT", "PP_MULTI_LINES_3_GRID_SLOT"],
943
+ description: "3組Grid圖表"
944
+ }), lt = I({
945
+ chartParamsId: "CP_BOTTOM_LONG_PADDING",
946
+ dataFormatterId: "DF_MULTI_GRID_4_GRID_SLOT",
947
+ allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM", "PP_MULTI_GROUP_AXIS_4_GRID_SLOT", "PP_MULTI_VALUE_AXIS_4_GRID_SLOT", "PP_MULTI_BARS_4_GRID_SLOT", "PP_MULTI_BAR_STACK_4_GRID_SLOT", "PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT", "PP_MULTI_LINES_4_GRID_SLOT"],
948
+ description: "4組Grid圖表"
949
+ }), ct = I({
950
+ chartParamsId: "CP_BOTTOM_LONG_PADDING",
951
+ dataFormatterId: "DF_MULTI_GRID_2_GRID_SLOT",
952
+ allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST", "PP_MULTI_GROUP_AXIS_2_GRID_SLOT", "PP_MULTI_VALUE_AXIS_2_GRID_SLOT", "PP_MULTI_BARS_2_GRID_SLOT", "PP_MULTI_BAR_STACK_2_GRID_SLOT", "PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT", "PP_MULTI_LINES_2_GRID_SLOT"],
953
+ description: "2組折線圖表"
954
+ }), Nt = I({
955
+ chartParamsId: "CP_BOTTOM_LONG_PADDING",
956
+ dataFormatterId: "DF_MULTI_GRID_3_GRID_SLOT",
957
+ allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST", "PP_MULTI_GROUP_AXIS_3_GRID_SLOT", "PP_MULTI_VALUE_AXIS_3_GRID_SLOT", "PP_MULTI_BARS_3_GRID_SLOT", "PP_MULTI_BAR_STACK_3_GRID_SLOT", "PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT", "PP_MULTI_LINES_3_GRID_SLOT"],
958
+ description: "3組折線圖表"
959
+ }), At = I({
960
+ chartParamsId: "CP_BOTTOM_LONG_PADDING",
961
+ dataFormatterId: "DF_MULTI_GRID_4_GRID_SLOT",
962
+ allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST", "PP_MULTI_GROUP_AXIS_4_GRID_SLOT", "PP_MULTI_VALUE_AXIS_4_GRID_SLOT", "PP_MULTI_BARS_4_GRID_SLOT", "PP_MULTI_BAR_STACK_4_GRID_SLOT", "PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT", "PP_MULTI_LINES_4_GRID_SLOT"],
963
+ description: "4組折線圖表"
964
+ }), pt = V_({
965
+ chartParamsId: "CP_BOTTOM_SLIGHT_PADDING",
966
+ allPluginParamsIds: ["PP_TREE_LEGEND_BOTTOM"],
967
+ description: "基本Tree參數"
333
968
  });
334
969
  export {
335
- nt as PRESET_BARS_HORIZONTAL_AND_ROUND,
336
- et as PRESET_BARS_ROUND,
337
- lt as PRESET_BARS_THIN,
338
- it as PRESET_BUBBLES_SCALING_BY_RADIUS,
339
- ot as PRESET_GRID_BASIC,
340
- st as PRESET_GRID_ROTATE_AXIS_LABEL,
970
+ it as PRESET_BARS_HORIZONTAL_AND_ROUND,
971
+ Pt as PRESET_BARS_HORIZONTAL_AND_THIN,
972
+ It as PRESET_BARS_ROUND,
973
+ Tt as PRESET_BARS_THIN,
974
+ v_ as PRESET_BUBBLES_BASIC,
975
+ z_ as PRESET_BUBBLES_SCALING_BY_RADIUS,
976
+ Q_ as PRESET_GRID_2_SERIES_SLOT,
977
+ _t as PRESET_GRID_3_SERIES_SLOT,
978
+ tt as PRESET_GRID_4_SERIES_SLOT,
979
+ Z_ as PRESET_GRID_BASIC,
980
+ J_ as PRESET_GRID_DIVERGING_SCALE,
981
+ q_ as PRESET_GRID_HORIZONTAL,
982
+ $_ as PRESET_GRID_ROTATE_AXIS_LABEL,
983
+ at as PRESET_LINES_BASIC,
341
984
  dt as PRESET_LINES_CURVE,
342
- ct as PRESET_LINES_HIGHLIGHT_GROUP_DOTS,
343
- rt as PRESET_PIE_DONUT,
344
- Pt as PRESET_PIE_HALF_DONUT,
345
- at as PRESET_PIE_WITH_INNER_LABELS,
346
- _t as PRESET_SERIES_BASIC
985
+ Lt as PRESET_LINES_HIGHLIGHT_GROUP_DOTS,
986
+ rt as PRESET_LINES_HORIZONTAL,
987
+ et as PRESET_LINES_ROTATE_AXIS_LABEL,
988
+ st as PRESET_LINE_AREAS_BASIC,
989
+ Gt as PRESET_LINE_AREAS_CURVE,
990
+ Dt as PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS,
991
+ ot as PRESET_LINE_AREAS_HORIZONTAL,
992
+ nt as PRESET_LINE_AREAS_ROTATE_AXIS_LABEL,
993
+ Et as PRESET_MULTI_GRID_2_GRID_SLOT,
994
+ Rt as PRESET_MULTI_GRID_3_GRID_SLOT,
995
+ lt as PRESET_MULTI_GRID_4_GRID_SLOT,
996
+ Ot as PRESET_MULTI_GRID_BASIC,
997
+ St as PRESET_MULTI_GRID_ROUND_STYLE,
998
+ ct as PRESET_MULTI_LINES_2_GRID_SLOT,
999
+ Nt as PRESET_MULTI_LINES_3_GRID_SLOT,
1000
+ At as PRESET_MULTI_LINES_4_GRID_SLOT,
1001
+ K_ as PRESET_PIE_BASIC,
1002
+ k_ as PRESET_PIE_DONUT,
1003
+ w_ as PRESET_PIE_HALF_DONUT,
1004
+ Y_ as PRESET_PIE_WITH_INNER_LABELS,
1005
+ j_ as PRESET_SERIES_BASIC,
1006
+ pt as PRESET_TREE_BASIC
347
1007
  };