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