@orbcharts/presets-basic 3.0.0-alpha.5 → 3.0.0-alpha.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/orbcharts-presets-basic.es.js +300 -138
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts +3 -0
- package/dist/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts +3 -0
- package/dist/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts +3 -0
- package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.d.ts +3 -0
- package/dist/src/gridDataFormatterFiles/index.d.ts +4 -1
- package/dist/src/index.d.ts +8 -0
- package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.d.ts +3 -0
- package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.d.ts +3 -0
- package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.d.ts +3 -0
- package/dist/src/multiGridDataFormatterFiles/index.d.ts +3 -1
- package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +1 -1
- package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +1 -1
- package/dist/src/types.d.ts +1 -1
- package/package.json +3 -3
- package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +1 -1
- package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +1 -1
- package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +1 -1
- package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +1 -1
- package/src/chartParamsFiles/CP_LEFT_PADDING.ts +2 -2
- package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +1 -1
- package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +16 -0
- package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +16 -0
- package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +16 -0
- package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +23 -0
- package/src/gridDataFormatterFiles/index.ts +4 -1
- package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +2 -1
- package/src/index.ts +53 -6
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +21 -0
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +24 -0
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +27 -0
- package/src/multiGridDataFormatterFiles/index.ts +3 -1
- package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +2 -2
- package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +1 -1
- package/src/types.ts +2 -1
- package/tsconfig.dev.json +18 -0
- package/tsconfig.prod.json +18 -0
- package/dist/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.d.ts +0 -3
- package/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.ts +0 -16
@@ -1,4 +1,4 @@
|
|
1
|
-
const
|
1
|
+
const E = {
|
2
2
|
id: "CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",
|
3
3
|
description: "間距下面及左邊留空",
|
4
4
|
data: {
|
@@ -6,11 +6,11 @@ const l = {
|
|
6
6
|
top: 60,
|
7
7
|
right: 60,
|
8
8
|
bottom: 120,
|
9
|
-
left:
|
9
|
+
left: 160
|
10
10
|
},
|
11
11
|
highlightTarget: "series"
|
12
12
|
}
|
13
|
-
},
|
13
|
+
}, D = {
|
14
14
|
id: "CP_BOTTOM_AND_LEFT_PADDING",
|
15
15
|
description: "間距下面及左邊留空",
|
16
16
|
data: {
|
@@ -18,7 +18,7 @@ const l = {
|
|
18
18
|
top: 60,
|
19
19
|
right: 60,
|
20
20
|
bottom: 120,
|
21
|
-
left:
|
21
|
+
left: 160
|
22
22
|
}
|
23
23
|
}
|
24
24
|
}, O = {
|
@@ -28,7 +28,7 @@ const l = {
|
|
28
28
|
padding: {
|
29
29
|
top: 60,
|
30
30
|
right: 60,
|
31
|
-
bottom:
|
31
|
+
bottom: 160,
|
32
32
|
left: 60
|
33
33
|
}
|
34
34
|
}
|
@@ -39,12 +39,12 @@ const l = {
|
|
39
39
|
padding: {
|
40
40
|
top: 60,
|
41
41
|
right: 60,
|
42
|
-
bottom:
|
42
|
+
bottom: 160,
|
43
43
|
left: 60
|
44
44
|
},
|
45
45
|
highlightTarget: "series"
|
46
46
|
}
|
47
|
-
},
|
47
|
+
}, G = {
|
48
48
|
id: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
|
49
49
|
description: "間距下面留空及highlight群組",
|
50
50
|
data: {
|
@@ -56,7 +56,7 @@ const l = {
|
|
56
56
|
},
|
57
57
|
highlightTarget: "group"
|
58
58
|
}
|
59
|
-
},
|
59
|
+
}, S = {
|
60
60
|
id: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
|
61
61
|
description: "間距下面留空及highlight系列",
|
62
62
|
data: {
|
@@ -68,7 +68,7 @@ const l = {
|
|
68
68
|
},
|
69
69
|
highlightTarget: "series"
|
70
70
|
}
|
71
|
-
},
|
71
|
+
}, L = {
|
72
72
|
id: "CP_BOTTOM_PADDING",
|
73
73
|
description: "間距下面留空",
|
74
74
|
data: {
|
@@ -79,29 +79,29 @@ const l = {
|
|
79
79
|
left: 60
|
80
80
|
}
|
81
81
|
}
|
82
|
-
},
|
82
|
+
}, R = {
|
83
83
|
id: "CP_LEFT_PADDING",
|
84
|
-
description: "
|
84
|
+
description: "間距左邊留空",
|
85
85
|
data: {
|
86
86
|
padding: {
|
87
87
|
top: 60,
|
88
88
|
right: 60,
|
89
89
|
bottom: 60,
|
90
|
-
left:
|
90
|
+
left: 160
|
91
91
|
}
|
92
92
|
}
|
93
|
-
},
|
93
|
+
}, N = {
|
94
94
|
id: "CP_TOP_AND_NO_BOTTOM_PADDING",
|
95
95
|
description: "間距上面留空下面不留空",
|
96
96
|
data: {
|
97
97
|
padding: {
|
98
|
-
top:
|
98
|
+
top: 120,
|
99
99
|
right: 120,
|
100
100
|
bottom: 0,
|
101
101
|
left: 60
|
102
102
|
}
|
103
103
|
}
|
104
|
-
},
|
104
|
+
}, p = {
|
105
105
|
id: "CP_RIGHT_PADDING",
|
106
106
|
description: "間距右邊留空",
|
107
107
|
data: {
|
@@ -114,16 +114,16 @@ const l = {
|
|
114
114
|
}
|
115
115
|
}, g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
116
116
|
__proto__: null,
|
117
|
-
CP_BOTTOM_AND_LEFT_PADDING:
|
118
|
-
CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT:
|
117
|
+
CP_BOTTOM_AND_LEFT_PADDING: D,
|
118
|
+
CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT: E,
|
119
119
|
CP_BOTTOM_LONG_PADDING: O,
|
120
120
|
CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT: c,
|
121
|
-
CP_BOTTOM_PADDING:
|
122
|
-
CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT:
|
123
|
-
CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT:
|
124
|
-
CP_LEFT_PADDING:
|
125
|
-
CP_RIGHT_PADDING:
|
126
|
-
CP_TOP_AND_NO_BOTTOM_PADDING:
|
121
|
+
CP_BOTTOM_PADDING: L,
|
122
|
+
CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT: G,
|
123
|
+
CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT: S,
|
124
|
+
CP_LEFT_PADDING: R,
|
125
|
+
CP_RIGHT_PADDING: p,
|
126
|
+
CP_TOP_AND_NO_BOTTOM_PADDING: N
|
127
127
|
}, Symbol.toStringTag, { value: "Module" })), m = {}, A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
128
128
|
__proto__: null,
|
129
129
|
temp: m
|
@@ -135,7 +135,7 @@ const l = {
|
|
135
135
|
data: {
|
136
136
|
bubbleScaleType: "radius"
|
137
137
|
}
|
138
|
-
},
|
138
|
+
}, B = {
|
139
139
|
id: "PP_PIE_DONUT",
|
140
140
|
chartType: "series",
|
141
141
|
pluginName: "Pie",
|
@@ -143,7 +143,7 @@ const l = {
|
|
143
143
|
data: {
|
144
144
|
innerRadius: 0.5
|
145
145
|
}
|
146
|
-
},
|
146
|
+
}, M = {
|
147
147
|
id: "PP_PIE_HALF_DONUT",
|
148
148
|
chartType: "series",
|
149
149
|
pluginName: "Pie",
|
@@ -162,7 +162,7 @@ const l = {
|
|
162
162
|
startAngle: -Math.PI / 2,
|
163
163
|
endAngle: Math.PI / 2
|
164
164
|
}
|
165
|
-
},
|
165
|
+
}, h = {
|
166
166
|
id: "PP_PIE_LABELS_INNER",
|
167
167
|
chartType: "series",
|
168
168
|
pluginName: "PieLabels",
|
@@ -171,7 +171,7 @@ const l = {
|
|
171
171
|
labelCentroid: 1.3,
|
172
172
|
labelColorType: "primary"
|
173
173
|
}
|
174
|
-
},
|
174
|
+
}, U = {
|
175
175
|
id: "PP_SERIES_LEGEND_BOTTOM",
|
176
176
|
chartType: "series",
|
177
177
|
pluginName: "SeriesLegend",
|
@@ -179,30 +179,80 @@ const l = {
|
|
179
179
|
data: {
|
180
180
|
listRectRadius: 7
|
181
181
|
}
|
182
|
-
},
|
182
|
+
}, F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
183
183
|
__proto__: null,
|
184
184
|
PP_BUBBLES_SCALING_BY_RADIUS: u,
|
185
|
-
PP_PIE_DONUT:
|
186
|
-
PP_PIE_HALF_DONUT:
|
185
|
+
PP_PIE_DONUT: B,
|
186
|
+
PP_PIE_HALF_DONUT: M,
|
187
187
|
PP_PIE_LABELS_HALF_ANGLE: H,
|
188
|
-
PP_PIE_LABELS_INNER:
|
189
|
-
PP_SERIES_LEGEND_ROUND:
|
190
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
191
|
-
id: "
|
188
|
+
PP_PIE_LABELS_INNER: h,
|
189
|
+
PP_SERIES_LEGEND_ROUND: U
|
190
|
+
}, Symbol.toStringTag, { value: "Module" })), b = {
|
191
|
+
id: "DF_GRID_BOTTOM_VALUE_AXIS",
|
192
192
|
chartType: "grid",
|
193
193
|
description: "底部橫向資料圖軸",
|
194
194
|
data: {
|
195
|
-
|
196
|
-
|
195
|
+
grid: {
|
196
|
+
valueAxis: {
|
197
|
+
position: "bottom"
|
198
|
+
// position: 'top'
|
199
|
+
// position: 'left'
|
200
|
+
// position: 'right'
|
201
|
+
},
|
202
|
+
groupAxis: {
|
203
|
+
position: "left"
|
204
|
+
// position: 'right'
|
205
|
+
// position: 'bottom'
|
206
|
+
// position: 'top'
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}, C = {
|
211
|
+
id: "DF_GRID_2_SERIES_SLOT",
|
212
|
+
chartType: "grid",
|
213
|
+
description: "2個Series Slot",
|
214
|
+
data: {
|
215
|
+
grid: {
|
216
|
+
seriesSlotIndexes: [0, 1]
|
217
|
+
},
|
218
|
+
container: {
|
219
|
+
rowAmount: 1,
|
220
|
+
columnAmount: 2
|
221
|
+
}
|
222
|
+
}
|
223
|
+
}, y = {
|
224
|
+
id: "DF_GRID_3_SERIES_SLOT",
|
225
|
+
chartType: "grid",
|
226
|
+
description: "3個Series Slot",
|
227
|
+
data: {
|
228
|
+
grid: {
|
229
|
+
seriesSlotIndexes: [0, 1, 2]
|
230
|
+
},
|
231
|
+
container: {
|
232
|
+
rowAmount: 1,
|
233
|
+
columnAmount: 3
|
234
|
+
}
|
235
|
+
}
|
236
|
+
}, f = {
|
237
|
+
id: "DF_GRID_4_SERIES_SLOT",
|
238
|
+
chartType: "grid",
|
239
|
+
description: "4個Series Slot",
|
240
|
+
data: {
|
241
|
+
grid: {
|
242
|
+
seriesSlotIndexes: [0, 1, 2, 3]
|
197
243
|
},
|
198
|
-
|
199
|
-
|
244
|
+
container: {
|
245
|
+
rowAmount: 2,
|
246
|
+
columnAmount: 2
|
200
247
|
}
|
201
248
|
}
|
202
|
-
},
|
249
|
+
}, j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
203
250
|
__proto__: null,
|
204
|
-
|
205
|
-
|
251
|
+
DF_GRID_2_SERIES_SLOT: C,
|
252
|
+
DF_GRID_3_SERIES_SLOT: y,
|
253
|
+
DF_GRID_4_SERIES_SLOT: f,
|
254
|
+
DF_GRID_BOTTOM_VALUE_AXIS: b
|
255
|
+
}, Symbol.toStringTag, { value: "Module" })), W = {
|
206
256
|
id: "PP_BARS_ROUND",
|
207
257
|
chartType: "grid",
|
208
258
|
pluginName: "Bars",
|
@@ -213,7 +263,7 @@ const l = {
|
|
213
263
|
barGroupPadding: 10,
|
214
264
|
barRadius: !0
|
215
265
|
}
|
216
|
-
},
|
266
|
+
}, v = {
|
217
267
|
id: "PP_BARS_THIN",
|
218
268
|
chartType: "grid",
|
219
269
|
pluginName: "Bars",
|
@@ -223,7 +273,7 @@ const l = {
|
|
223
273
|
barPadding: 1,
|
224
274
|
barGroupPadding: 10
|
225
275
|
}
|
226
|
-
},
|
276
|
+
}, x = {
|
227
277
|
id: "PP_DOTS_ONLY_SHOW_HIGHLIGHTED",
|
228
278
|
chartType: "grid",
|
229
279
|
pluginName: "Dots",
|
@@ -231,7 +281,7 @@ const l = {
|
|
231
281
|
data: {
|
232
282
|
onlyShowHighlighted: !1
|
233
283
|
}
|
234
|
-
},
|
284
|
+
}, X = {
|
235
285
|
id: "PP_DOTS_SOLID",
|
236
286
|
chartType: "grid",
|
237
287
|
pluginName: "Dots",
|
@@ -241,7 +291,7 @@ const l = {
|
|
241
291
|
fillColorType: "series",
|
242
292
|
onlyShowHighlighted: !1
|
243
293
|
}
|
244
|
-
},
|
294
|
+
}, V = {
|
245
295
|
id: "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",
|
246
296
|
chartType: "grid",
|
247
297
|
pluginName: "GridLegend",
|
@@ -252,7 +302,7 @@ const l = {
|
|
252
302
|
padding: 14,
|
253
303
|
listRectHeight: 2
|
254
304
|
}
|
255
|
-
},
|
305
|
+
}, z = {
|
256
306
|
id: "PP_GRID_LEGEND_BOTTOM",
|
257
307
|
chartType: "grid",
|
258
308
|
pluginName: "GridLegend",
|
@@ -262,15 +312,16 @@ const l = {
|
|
262
312
|
justify: "center",
|
263
313
|
padding: 14
|
264
314
|
}
|
265
|
-
},
|
315
|
+
}, w = {
|
266
316
|
id: "PP_GROUP_AXIS_ROTATE_LABEL",
|
267
317
|
chartType: "grid",
|
268
318
|
pluginName: "GroupAxis",
|
269
319
|
description: "群組圖軸標籤文字傾斜",
|
270
320
|
data: {
|
271
|
-
|
321
|
+
tickPadding: 15,
|
322
|
+
tickTextRotate: -30
|
272
323
|
}
|
273
|
-
},
|
324
|
+
}, Y = {
|
274
325
|
id: "PP_LINES_CURVE",
|
275
326
|
chartType: "grid",
|
276
327
|
pluginName: "Lines",
|
@@ -279,20 +330,85 @@ const l = {
|
|
279
330
|
lineCurve: "curveMonotoneX",
|
280
331
|
lineWidth: 3
|
281
332
|
}
|
282
|
-
},
|
333
|
+
}, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
283
334
|
__proto__: null,
|
284
|
-
PP_BARS_ROUND:
|
285
|
-
PP_BARS_THIN:
|
286
|
-
PP_DOTS_ONLY_SHOW_HIGHLIGHTED:
|
287
|
-
PP_DOTS_SOLID:
|
288
|
-
PP_GRID_LEGEND_BOTTOM:
|
289
|
-
PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST:
|
290
|
-
PP_GROUP_AXIS_ROTATE_LABEL:
|
291
|
-
PP_LINES_CURVE:
|
292
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
335
|
+
PP_BARS_ROUND: W,
|
336
|
+
PP_BARS_THIN: v,
|
337
|
+
PP_DOTS_ONLY_SHOW_HIGHLIGHTED: x,
|
338
|
+
PP_DOTS_SOLID: X,
|
339
|
+
PP_GRID_LEGEND_BOTTOM: z,
|
340
|
+
PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: V,
|
341
|
+
PP_GROUP_AXIS_ROTATE_LABEL: w,
|
342
|
+
PP_LINES_CURVE: Y
|
343
|
+
}, Symbol.toStringTag, { value: "Module" })), Z = {
|
344
|
+
id: "DF_MULTI_GRID_2_GRID_SLOT",
|
345
|
+
chartType: "multiGrid",
|
346
|
+
description: "2個Grid Slot",
|
347
|
+
data: {
|
348
|
+
gridList: [
|
349
|
+
{
|
350
|
+
slotIndex: 0
|
351
|
+
},
|
352
|
+
{
|
353
|
+
slotIndex: 1
|
354
|
+
}
|
355
|
+
],
|
356
|
+
container: {
|
357
|
+
rowAmount: 1,
|
358
|
+
columnAmount: 2
|
359
|
+
}
|
360
|
+
}
|
361
|
+
}, k = {
|
362
|
+
id: "DF_MULTI_GRID_3_GRID_SLOT",
|
363
|
+
chartType: "multiGrid",
|
364
|
+
description: "3個Grid Slot",
|
365
|
+
data: {
|
366
|
+
gridList: [
|
367
|
+
{
|
368
|
+
slotIndex: 0
|
369
|
+
},
|
370
|
+
{
|
371
|
+
slotIndex: 1
|
372
|
+
},
|
373
|
+
{
|
374
|
+
slotIndex: 2
|
375
|
+
}
|
376
|
+
],
|
377
|
+
container: {
|
378
|
+
rowAmount: 1,
|
379
|
+
columnAmount: 3
|
380
|
+
}
|
381
|
+
}
|
382
|
+
}, q = {
|
383
|
+
id: "DF_MULTI_GRID_4_GRID_SLOT",
|
384
|
+
chartType: "multiGrid",
|
385
|
+
description: "4個Grid Slot",
|
386
|
+
data: {
|
387
|
+
gridList: [
|
388
|
+
{
|
389
|
+
slotIndex: 0
|
390
|
+
},
|
391
|
+
{
|
392
|
+
slotIndex: 1
|
393
|
+
},
|
394
|
+
{
|
395
|
+
slotIndex: 2
|
396
|
+
},
|
397
|
+
{
|
398
|
+
slotIndex: 3
|
399
|
+
}
|
400
|
+
],
|
401
|
+
container: {
|
402
|
+
rowAmount: 2,
|
403
|
+
columnAmount: 2
|
404
|
+
}
|
405
|
+
}
|
406
|
+
}, J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
293
407
|
__proto__: null,
|
294
|
-
|
295
|
-
|
408
|
+
DF_MULTI_GRID_2_GRID_SLOT: Z,
|
409
|
+
DF_MULTI_GRID_3_GRID_SLOT: k,
|
410
|
+
DF_MULTI_GRID_4_GRID_SLOT: q
|
411
|
+
}, Symbol.toStringTag, { value: "Module" })), K = {
|
296
412
|
id: "PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST",
|
297
413
|
chartType: "multiGrid",
|
298
414
|
pluginName: "MultiGridLegend",
|
@@ -308,8 +424,8 @@ const l = {
|
|
308
424
|
}
|
309
425
|
]
|
310
426
|
}
|
311
|
-
},
|
312
|
-
id: "
|
427
|
+
}, Q = {
|
428
|
+
id: "PP_MULTI_GRID_LEGEND_BOTTOM",
|
313
429
|
chartType: "multiGrid",
|
314
430
|
pluginName: "MultiGridLegend",
|
315
431
|
description: "底部圖例",
|
@@ -318,149 +434,195 @@ const l = {
|
|
318
434
|
justify: "center",
|
319
435
|
padding: 14
|
320
436
|
}
|
321
|
-
},
|
437
|
+
}, __ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
322
438
|
__proto__: null,
|
323
|
-
|
324
|
-
PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST:
|
325
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
439
|
+
PP_MULTI_GRID_LEGEND_BOTTOM: Q,
|
440
|
+
PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST: K
|
441
|
+
}, Symbol.toStringTag, { value: "Module" })), t_ = {}, i_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
326
442
|
__proto__: null,
|
327
|
-
temp:
|
328
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
443
|
+
temp: t_
|
444
|
+
}, Symbol.toStringTag, { value: "Module" })), e_ = {}, a_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
329
445
|
__proto__: null,
|
330
|
-
temp:
|
331
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
446
|
+
temp: e_
|
447
|
+
}, Symbol.toStringTag, { value: "Module" })), r_ = {}, P_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
332
448
|
__proto__: null,
|
333
|
-
temp:
|
334
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
449
|
+
temp: r_
|
450
|
+
}, Symbol.toStringTag, { value: "Module" })), I_ = {}, o_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
335
451
|
__proto__: null,
|
336
|
-
temp:
|
337
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
452
|
+
temp: I_
|
453
|
+
}, Symbol.toStringTag, { value: "Module" })), T_ = {}, d_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
338
454
|
__proto__: null,
|
339
|
-
temp:
|
340
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
455
|
+
temp: T_
|
456
|
+
}, Symbol.toStringTag, { value: "Module" })), s_ = {}, n_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
341
457
|
__proto__: null,
|
342
|
-
temp:
|
458
|
+
temp: s_
|
343
459
|
}, Symbol.toStringTag, { value: "Module" })), T = {
|
344
460
|
series: A,
|
345
|
-
grid:
|
346
|
-
multiGrid:
|
347
|
-
multiValue:
|
348
|
-
relationship:
|
349
|
-
tree:
|
461
|
+
grid: j,
|
462
|
+
multiGrid: J,
|
463
|
+
multiValue: i_,
|
464
|
+
relationship: P_,
|
465
|
+
tree: d_
|
350
466
|
}, P = {
|
351
|
-
series:
|
352
|
-
grid:
|
353
|
-
multiGrid:
|
354
|
-
multiValue:
|
355
|
-
relationship:
|
356
|
-
tree:
|
357
|
-
},
|
358
|
-
const
|
359
|
-
if (P[t][
|
360
|
-
const
|
361
|
-
o[
|
467
|
+
series: F,
|
468
|
+
grid: $,
|
469
|
+
multiGrid: __,
|
470
|
+
multiValue: a_,
|
471
|
+
relationship: o_,
|
472
|
+
tree: n_
|
473
|
+
}, I = (t, e) => {
|
474
|
+
const d = e.chartParamsId ? g[e.chartParamsId].data : void 0, s = T[t][e.dataFormatterId] ? T[t][e.dataFormatterId].data : void 0, n = e.allPluginParamsIds ? e.allPluginParamsIds.reduce((o, r) => {
|
475
|
+
if (P[t][r]) {
|
476
|
+
const l = P[t][r].pluginName;
|
477
|
+
o[l] = P[t][r].data;
|
362
478
|
}
|
363
479
|
return o;
|
364
480
|
}, {}) : void 0;
|
365
481
|
return {
|
366
|
-
chartParams:
|
367
|
-
dataFormatter:
|
368
|
-
allPluginParams:
|
482
|
+
chartParams: d,
|
483
|
+
dataFormatter: s,
|
484
|
+
allPluginParams: n
|
369
485
|
};
|
370
|
-
}, i = (t) =>
|
486
|
+
}, i = (t) => I("series", t), _ = (t) => I("grid", t), a = (t) => I("multiGrid", t), l_ = i({
|
371
487
|
// chartParamsId: 'CP_RIGHT_PADDING',
|
372
488
|
allPluginParamsIds: [],
|
373
489
|
description: "基本Series參數"
|
374
|
-
}),
|
490
|
+
}), E_ = i({
|
491
|
+
// chartParamsId: 'CP_RIGHT_PADDING',
|
492
|
+
allPluginParamsIds: ["PP_SERIES_LEGEND_ROUND"],
|
493
|
+
description: "基本泡泡圖"
|
494
|
+
}), D_ = i({
|
375
495
|
// chartParamsId: 'CP_RIGHT_PADDING',
|
376
496
|
allPluginParamsIds: ["PP_BUBBLES_SCALING_BY_RADIUS", "PP_SERIES_LEGEND_ROUND"],
|
377
497
|
description: "以半徑尺寸為比例的泡泡圖"
|
378
|
-
}),
|
498
|
+
}), O_ = i({
|
499
|
+
// chartParamsId: 'CP_RIGHT_PADDING',
|
500
|
+
allPluginParamsIds: ["PP_SERIES_LEGEND_ROUND"],
|
501
|
+
description: "基本圓餅圖"
|
502
|
+
}), c_ = i({
|
379
503
|
// chartParamsId: 'CP_RIGHT_PADDING',
|
380
504
|
allPluginParamsIds: ["PP_PIE_LABELS_INNER", "PP_SERIES_LEGEND_ROUND"],
|
381
505
|
description: "圓餅圖及內部資料標籤"
|
382
|
-
}),
|
506
|
+
}), G_ = i({
|
383
507
|
// chartParamsId: 'CP_RIGHT_PADDING',
|
384
508
|
allPluginParamsIds: ["PP_PIE_DONUT", "PP_SERIES_LEGEND_ROUND"],
|
385
509
|
description: "甜甜圈圖"
|
386
|
-
}),
|
510
|
+
}), S_ = i({
|
387
511
|
chartParamsId: "CP_TOP_AND_NO_BOTTOM_PADDING",
|
388
512
|
allPluginParamsIds: ["PP_PIE_HALF_DONUT", "PP_PIE_LABELS_HALF_ANGLE", "PP_SERIES_LEGEND_ROUND"],
|
389
513
|
description: "半圓甜甜圈圖"
|
390
|
-
}),
|
514
|
+
}), L_ = _({
|
391
515
|
chartParamsId: "CP_BOTTOM_PADDING",
|
392
516
|
allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
|
393
517
|
description: "基本Grid參數"
|
394
|
-
}),
|
518
|
+
}), R_ = _({
|
395
519
|
chartParamsId: "CP_BOTTOM_LONG_PADDING",
|
396
520
|
allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
|
397
521
|
description: "傾斜標籤"
|
398
|
-
}),
|
522
|
+
}), N_ = _({
|
399
523
|
chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
|
400
|
-
dataFormatterId: "
|
524
|
+
dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
|
401
525
|
allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
|
402
|
-
description: "
|
403
|
-
}),
|
526
|
+
description: "橫向圖"
|
527
|
+
}), p_ = _({
|
528
|
+
chartParamsId: "CP_BOTTOM_LONG_PADDING",
|
529
|
+
dataFormatterId: "DF_GRID_2_SERIES_SLOT",
|
530
|
+
allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
|
531
|
+
description: "2組Series圖表"
|
532
|
+
}), g_ = _({
|
533
|
+
chartParamsId: "CP_BOTTOM_LONG_PADDING",
|
534
|
+
dataFormatterId: "DF_GRID_3_SERIES_SLOT",
|
535
|
+
allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM", "PP_GROUP_AXIS_ROTATE_LABEL"],
|
536
|
+
description: "3組Series圖表"
|
537
|
+
}), m_ = _({
|
538
|
+
chartParamsId: "CP_BOTTOM_LONG_PADDING",
|
539
|
+
dataFormatterId: "DF_GRID_4_SERIES_SLOT",
|
540
|
+
allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
|
541
|
+
description: "4組Series圖表"
|
542
|
+
}), A_ = _({
|
404
543
|
chartParamsId: "CP_BOTTOM_PADDING",
|
405
544
|
allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
|
406
545
|
description: "圓角長條圖"
|
407
|
-
}),
|
546
|
+
}), u_ = _({
|
408
547
|
chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
|
409
|
-
dataFormatterId: "
|
548
|
+
dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
|
410
549
|
allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
|
411
550
|
description: "橫向圓角長條圖"
|
412
|
-
}),
|
551
|
+
}), B_ = _({
|
413
552
|
chartParamsId: "CP_BOTTOM_PADDING",
|
414
553
|
allPluginParamsIds: ["PP_BARS_THIN", "PP_GRID_LEGEND_BOTTOM"],
|
415
554
|
description: "細長條圖"
|
416
|
-
}),
|
555
|
+
}), M_ = _({
|
417
556
|
chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
|
418
|
-
dataFormatterId: "
|
557
|
+
dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
|
419
558
|
allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
|
420
559
|
description: "橫向圓角長條圖"
|
421
|
-
}),
|
560
|
+
}), H_ = _({
|
422
561
|
chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
|
423
562
|
allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
|
424
563
|
description: "基本Grid參數"
|
425
|
-
}),
|
564
|
+
}), h_ = _({
|
426
565
|
chartParamsId: "CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",
|
427
566
|
allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
|
428
567
|
description: "傾斜標籤"
|
429
|
-
}),
|
568
|
+
}), U_ = _({
|
430
569
|
chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",
|
431
|
-
dataFormatterId: "
|
570
|
+
dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
|
432
571
|
allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
|
433
572
|
description: "橫向圓角長條圖"
|
434
|
-
}),
|
573
|
+
}), F_ = _({
|
435
574
|
chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
|
436
575
|
allPluginParamsIds: ["PP_LINES_CURVE", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
|
437
576
|
description: "弧線折線圖"
|
438
|
-
}),
|
577
|
+
}), b_ = _({
|
439
578
|
chartParamsId: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
|
440
579
|
allPluginParamsIds: ["PP_DOTS_ONLY_SHOW_HIGHLIGHTED", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
|
441
580
|
description: "折線圖及Highlight Group圓點"
|
442
|
-
}),
|
581
|
+
}), C_ = a({
|
443
582
|
chartParamsId: "CP_BOTTOM_PADDING",
|
444
583
|
allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST"],
|
445
584
|
description: "基本MultiGrid參數"
|
585
|
+
}), y_ = a({
|
586
|
+
chartParamsId: "CP_BOTTOM_PADDING",
|
587
|
+
dataFormatterId: "DF_MULTI_GRID_2_GRID_SLOT",
|
588
|
+
allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM"],
|
589
|
+
description: "2組Grid圖表"
|
590
|
+
}), f_ = a({
|
591
|
+
chartParamsId: "CP_BOTTOM_PADDING",
|
592
|
+
dataFormatterId: "DF_MULTI_GRID_3_GRID_SLOT",
|
593
|
+
allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM"],
|
594
|
+
description: "3組Grid圖表"
|
595
|
+
}), j_ = a({
|
596
|
+
chartParamsId: "CP_BOTTOM_PADDING",
|
597
|
+
dataFormatterId: "DF_MULTI_GRID_4_GRID_SLOT",
|
598
|
+
allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM"],
|
599
|
+
description: "4組Grid圖表"
|
446
600
|
});
|
447
601
|
export {
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
602
|
+
u_ as PRESET_BARS_HORIZONTAL_AND_ROUND,
|
603
|
+
M_ as PRESET_BARS_HORIZONTAL_AND_THIN,
|
604
|
+
A_ as PRESET_BARS_ROUND,
|
605
|
+
B_ as PRESET_BARS_THIN,
|
606
|
+
E_ as PRESET_BUBBLES_BASIC,
|
607
|
+
D_ as PRESET_BUBBLES_SCALING_BY_RADIUS,
|
608
|
+
p_ as PRESET_GRID_2_SERIES_SLOT,
|
609
|
+
g_ as PRESET_GRID_3_SERIES_SLOT,
|
610
|
+
m_ as PRESET_GRID_4_SERIES_SLOT,
|
611
|
+
L_ as PRESET_GRID_BASIC,
|
612
|
+
N_ as PRESET_GRID_HORIZONTAL,
|
613
|
+
R_ as PRESET_GRID_ROTATE_AXIS_LABEL,
|
614
|
+
H_ as PRESET_LINES_BASIC,
|
615
|
+
F_ as PRESET_LINES_CURVE,
|
616
|
+
b_ as PRESET_LINES_HIGHLIGHT_GROUP_DOTS,
|
617
|
+
U_ as PRESET_LINES_HORIZONTAL,
|
618
|
+
h_ as PRESET_LINES_ROTATE_AXIS_LABEL,
|
619
|
+
y_ as PRESET_MULTI_GRID_2_GRID_SLOT,
|
620
|
+
f_ as PRESET_MULTI_GRID_3_GRID_SLOT,
|
621
|
+
j_ as PRESET_MULTI_GRID_4_GRID_SLOT,
|
622
|
+
C_ as PRESET_MULTI_GRID_BASIC,
|
623
|
+
O_ as PRESET_PIE_BASIC,
|
624
|
+
G_ as PRESET_PIE_DONUT,
|
625
|
+
S_ as PRESET_PIE_HALF_DONUT,
|
626
|
+
c_ as PRESET_PIE_WITH_INNER_LABELS,
|
627
|
+
l_ as PRESET_SERIES_BASIC
|
466
628
|
};
|