@orbcharts/presets-basic 3.0.0-alpha.5 → 3.0.0-alpha.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/orbcharts-presets-basic.es.js +583 -155
- 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/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.d.ts +4 -0
- package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +1 -0
- package/dist/src/index.d.ts +12 -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/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiBarStack/index.d.ts +3 -0
- package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiBars/index.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.d.ts +3 -0
- package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +1 -1
- package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +3 -1
- package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +3 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLines/index.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/index.d.ts +3 -0
- package/dist/src/multiGridPluginParamsFiles/index.d.ts +6 -0
- 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/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +15 -0
- package/src/gridPluginParamsFiles/GridLegend/index.ts +1 -0
- package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +2 -1
- package/src/index.ts +90 -11
- 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/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +4 -0
- package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +15 -0
- package/src/multiGridPluginParamsFiles/MultiBars/index.ts +5 -0
- package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +3 -0
- package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +2 -2
- package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +28 -0
- package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +1 -1
- package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +22 -0
- package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +3 -1
- package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +13 -0
- package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +13 -0
- package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +13 -0
- package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +3 -0
- package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +13 -0
- package/src/multiGridPluginParamsFiles/MultiLines/index.ts +4 -0
- package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +3 -0
- package/src/multiGridPluginParamsFiles/index.ts +7 -1
- package/src/types.ts +2 -1
- package/tsconfig.dev.json +18 -0
- package/tsconfig.prod.json +14 -0
- package/dist/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.d.ts +0 -3
- package/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.ts +0 -16
package/src/index.ts
CHANGED
@@ -14,12 +14,22 @@ export const PRESET_SERIES_BASIC = createSeriesPreset({
|
|
14
14
|
description: '基本Series參數'
|
15
15
|
})
|
16
16
|
// Bubbles - PRESET_BUBBLES_[name]
|
17
|
+
export const PRESET_BUBBLES_BASIC = createSeriesPreset({
|
18
|
+
// chartParamsId: 'CP_RIGHT_PADDING',
|
19
|
+
allPluginParamsIds: ['PP_SERIES_LEGEND_ROUND'],
|
20
|
+
description: '基本泡泡圖'
|
21
|
+
})
|
17
22
|
export const PRESET_BUBBLES_SCALING_BY_RADIUS = createSeriesPreset({
|
18
23
|
// chartParamsId: 'CP_RIGHT_PADDING',
|
19
24
|
allPluginParamsIds: ['PP_BUBBLES_SCALING_BY_RADIUS', 'PP_SERIES_LEGEND_ROUND'],
|
20
25
|
description: '以半徑尺寸為比例的泡泡圖'
|
21
26
|
})
|
22
27
|
// Pie - PRESET_PIE_[name]
|
28
|
+
export const PRESET_PIE_BASIC = createSeriesPreset({
|
29
|
+
// chartParamsId: 'CP_RIGHT_PADDING',
|
30
|
+
allPluginParamsIds: ['PP_SERIES_LEGEND_ROUND'],
|
31
|
+
description: '基本圓餅圖'
|
32
|
+
})
|
23
33
|
export const PRESET_PIE_WITH_INNER_LABELS = createSeriesPreset({
|
24
34
|
// chartParamsId: 'CP_RIGHT_PADDING',
|
25
35
|
allPluginParamsIds: ['PP_PIE_LABELS_INNER', 'PP_SERIES_LEGEND_ROUND'],
|
@@ -50,20 +60,38 @@ export const PRESET_GRID_ROTATE_AXIS_LABEL = createGridPreset({
|
|
50
60
|
})
|
51
61
|
export const PRESET_GRID_HORIZONTAL = createGridPreset({
|
52
62
|
chartParamsId: 'CP_BOTTOM_AND_LEFT_PADDING',
|
53
|
-
dataFormatterId: '
|
63
|
+
dataFormatterId: 'DF_GRID_BOTTOM_VALUE_AXIS',
|
54
64
|
allPluginParamsIds: ['PP_GRID_LEGEND_BOTTOM'],
|
55
|
-
description: '
|
65
|
+
description: '橫向圖'
|
66
|
+
})
|
67
|
+
export const PRESET_GRID_2_SERIES_SLOT = createGridPreset({
|
68
|
+
chartParamsId: 'CP_BOTTOM_LONG_PADDING',
|
69
|
+
dataFormatterId: 'DF_GRID_2_SERIES_SLOT',
|
70
|
+
allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM'],
|
71
|
+
description: '2組Series圖表'
|
72
|
+
})
|
73
|
+
export const PRESET_GRID_3_SERIES_SLOT = createGridPreset({
|
74
|
+
chartParamsId: 'CP_BOTTOM_LONG_PADDING',
|
75
|
+
dataFormatterId: 'DF_GRID_3_SERIES_SLOT',
|
76
|
+
allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM', 'PP_GROUP_AXIS_ROTATE_LABEL'],
|
77
|
+
description: '3組Series圖表'
|
78
|
+
})
|
79
|
+
export const PRESET_GRID_4_SERIES_SLOT = createGridPreset({
|
80
|
+
chartParamsId: 'CP_BOTTOM_LONG_PADDING',
|
81
|
+
dataFormatterId: 'DF_GRID_4_SERIES_SLOT',
|
82
|
+
allPluginParamsIds: ['PP_GROUP_AXIS_ROTATE_LABEL', 'PP_GRID_LEGEND_BOTTOM'],
|
83
|
+
description: '4組Series圖表'
|
56
84
|
})
|
57
85
|
// Bars - PRESET_BARS_[name]
|
58
86
|
export const PRESET_BARS_ROUND = createGridPreset({
|
59
87
|
chartParamsId: 'CP_BOTTOM_PADDING',
|
60
|
-
allPluginParamsIds: ['PP_BARS_ROUND', '
|
88
|
+
allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST'],
|
61
89
|
description: '圓角長條圖'
|
62
90
|
})
|
63
91
|
export const PRESET_BARS_HORIZONTAL_AND_ROUND = createGridPreset({
|
64
92
|
chartParamsId: 'CP_BOTTOM_AND_LEFT_PADDING',
|
65
|
-
dataFormatterId: '
|
66
|
-
allPluginParamsIds: ['PP_BARS_ROUND', '
|
93
|
+
dataFormatterId: 'DF_GRID_BOTTOM_VALUE_AXIS',
|
94
|
+
allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST'],
|
67
95
|
description: '橫向圓角長條圖'
|
68
96
|
})
|
69
97
|
export const PRESET_BARS_THIN = createGridPreset({
|
@@ -73,8 +101,8 @@ export const PRESET_BARS_THIN = createGridPreset({
|
|
73
101
|
})
|
74
102
|
export const PRESET_BARS_HORIZONTAL_AND_THIN = createGridPreset({
|
75
103
|
chartParamsId: 'CP_BOTTOM_AND_LEFT_PADDING',
|
76
|
-
dataFormatterId: '
|
77
|
-
allPluginParamsIds: ['PP_BARS_ROUND', '
|
104
|
+
dataFormatterId: 'DF_GRID_BOTTOM_VALUE_AXIS',
|
105
|
+
allPluginParamsIds: ['PP_BARS_ROUND', 'PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST'],
|
78
106
|
description: '橫向圓角長條圖'
|
79
107
|
})
|
80
108
|
// Lines - PRESET_LINES_[name]
|
@@ -90,7 +118,7 @@ export const PRESET_LINES_ROTATE_AXIS_LABEL = createGridPreset({
|
|
90
118
|
})
|
91
119
|
export const PRESET_LINES_HORIZONTAL = createGridPreset({
|
92
120
|
chartParamsId: 'CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT',
|
93
|
-
dataFormatterId: '
|
121
|
+
dataFormatterId: 'DF_GRID_BOTTOM_VALUE_AXIS',
|
94
122
|
allPluginParamsIds: ['PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
|
95
123
|
description: '橫向圓角長條圖'
|
96
124
|
})
|
@@ -118,12 +146,63 @@ export const PRESET_LINES_HIGHLIGHT_GROUP_DOTS = createGridPreset({
|
|
118
146
|
// -- multi-grid --
|
119
147
|
// 通用 - PRESET_MULTI_GRID_[name]
|
120
148
|
export const PRESET_MULTI_GRID_BASIC = createMultiGridPreset({
|
121
|
-
chartParamsId: '
|
149
|
+
chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
|
122
150
|
allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST'],
|
123
151
|
description: '基本MultiGrid參數'
|
124
152
|
})
|
125
|
-
|
126
|
-
|
153
|
+
export const PRESET_MULTI_GRID_ROUND_STYLE = createMultiGridPreset({
|
154
|
+
chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
|
155
|
+
allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST', 'PP_MULTI_BARS_ROUND', 'PP_MULTI_LINES_CURVE'],
|
156
|
+
description: 'MultiGrid圓弧風格'
|
157
|
+
})
|
158
|
+
export const PRESET_MULTI_GRID_2_GRID_SLOT = createMultiGridPreset({
|
159
|
+
chartParamsId: 'CP_BOTTOM_LONG_PADDING',
|
160
|
+
dataFormatterId: 'DF_MULTI_GRID_2_GRID_SLOT',
|
161
|
+
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'],
|
162
|
+
description: '2組Grid圖表'
|
163
|
+
})
|
164
|
+
export const PRESET_MULTI_GRID_3_GRID_SLOT = createMultiGridPreset({
|
165
|
+
chartParamsId: 'CP_BOTTOM_LONG_PADDING',
|
166
|
+
dataFormatterId: 'DF_MULTI_GRID_3_GRID_SLOT',
|
167
|
+
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'],
|
168
|
+
description: '3組Grid圖表'
|
169
|
+
})
|
170
|
+
export const PRESET_MULTI_GRID_4_GRID_SLOT = createMultiGridPreset({
|
171
|
+
chartParamsId: 'CP_BOTTOM_LONG_PADDING',
|
172
|
+
dataFormatterId: 'DF_MULTI_GRID_4_GRID_SLOT',
|
173
|
+
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'],
|
174
|
+
description: '4組Grid圖表'
|
175
|
+
})
|
176
|
+
// // MultiBars, MultiLines - PRESET_MULTI_BARS_MULTI_LINES_[name]
|
177
|
+
// export const PRESET_MULTI_BARS_MULTI_LINES_BASIC = createMultiGridPreset({
|
178
|
+
// chartParamsId: 'CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT',
|
179
|
+
// allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST'],
|
180
|
+
// description: '基本MultiGrid參數'
|
181
|
+
// })
|
182
|
+
// MultiLines - PRESET_MULTI_LINES_[name]
|
183
|
+
// export const PRESET_MULTI_LINES_BASIC = createMultiGridPreset({
|
184
|
+
// chartParamsId: 'CP_BOTTOM_PADDING',
|
185
|
+
// allPluginParamsIds: ['PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'],
|
186
|
+
// description: '基本MultiGrid參數'
|
187
|
+
// })
|
188
|
+
export const PRESET_MULTI_LINES_2_GRID_SLOT = createMultiGridPreset({
|
189
|
+
chartParamsId: 'CP_BOTTOM_LONG_PADDING',
|
190
|
+
dataFormatterId: 'DF_MULTI_GRID_2_GRID_SLOT',
|
191
|
+
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'],
|
192
|
+
description: '2組折線圖表'
|
193
|
+
})
|
194
|
+
export const PRESET_MULTI_LINES_3_GRID_SLOT = createMultiGridPreset({
|
195
|
+
chartParamsId: 'CP_BOTTOM_LONG_PADDING',
|
196
|
+
dataFormatterId: 'DF_MULTI_GRID_3_GRID_SLOT',
|
197
|
+
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'],
|
198
|
+
description: '3組折線圖表'
|
199
|
+
})
|
200
|
+
export const PRESET_MULTI_LINES_4_GRID_SLOT = createMultiGridPreset({
|
201
|
+
chartParamsId: 'CP_BOTTOM_LONG_PADDING',
|
202
|
+
dataFormatterId: 'DF_MULTI_GRID_4_GRID_SLOT',
|
203
|
+
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'],
|
204
|
+
description: '4組折線圖表'
|
205
|
+
})
|
127
206
|
|
128
207
|
// -- multi-value --
|
129
208
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import type { DataFormatterFile } from '../types'
|
2
|
+
|
3
|
+
export const DF_MULTI_GRID_2_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
|
4
|
+
id: 'DF_MULTI_GRID_2_GRID_SLOT',
|
5
|
+
chartType: 'multiGrid',
|
6
|
+
description: '2個Grid Slot',
|
7
|
+
data: {
|
8
|
+
gridList: [
|
9
|
+
{
|
10
|
+
// slotIndex: 0
|
11
|
+
},
|
12
|
+
{
|
13
|
+
slotIndex: 1
|
14
|
+
}
|
15
|
+
],
|
16
|
+
container: {
|
17
|
+
rowAmount: 1,
|
18
|
+
columnAmount: 2,
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import type { DataFormatterFile } from '../types'
|
2
|
+
|
3
|
+
export const DF_MULTI_GRID_3_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
|
4
|
+
id: 'DF_MULTI_GRID_3_GRID_SLOT',
|
5
|
+
chartType: 'multiGrid',
|
6
|
+
description: '3個Grid Slot',
|
7
|
+
data: {
|
8
|
+
gridList: [
|
9
|
+
{
|
10
|
+
slotIndex: 0
|
11
|
+
},
|
12
|
+
{
|
13
|
+
slotIndex: 1
|
14
|
+
},
|
15
|
+
{
|
16
|
+
slotIndex: 2
|
17
|
+
}
|
18
|
+
],
|
19
|
+
container: {
|
20
|
+
rowAmount: 1,
|
21
|
+
columnAmount: 3,
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import type { DataFormatterFile } from '../types'
|
2
|
+
|
3
|
+
export const DF_MULTI_GRID_4_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
|
4
|
+
id: 'DF_MULTI_GRID_4_GRID_SLOT',
|
5
|
+
chartType: 'multiGrid',
|
6
|
+
description: '4個Grid Slot',
|
7
|
+
data: {
|
8
|
+
gridList: [
|
9
|
+
{
|
10
|
+
slotIndex: 0
|
11
|
+
},
|
12
|
+
{
|
13
|
+
slotIndex: 1
|
14
|
+
},
|
15
|
+
{
|
16
|
+
slotIndex: 2
|
17
|
+
},
|
18
|
+
{
|
19
|
+
slotIndex: 3
|
20
|
+
}
|
21
|
+
],
|
22
|
+
container: {
|
23
|
+
rowAmount: 2,
|
24
|
+
columnAmount: 2,
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiBarsParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_BAR_STACK_2_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
|
5
|
+
id: 'PP_MULTI_BAR_STACK_2_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiBarStack',
|
8
|
+
description: '2組堆疊長條圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1]
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiBarsParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_BAR_STACK_3_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
|
5
|
+
id: 'PP_MULTI_BAR_STACK_3_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiBarStack',
|
8
|
+
description: '3組堆疊長條圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2]
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiBarsParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_BAR_STACK_4_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
|
5
|
+
id: 'PP_MULTI_BAR_STACK_4_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiBarStack',
|
8
|
+
description: '4組堆疊長條圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2, 3]
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export { PP_MULTI_BAR_STACK_2_GRID_SLOT } from './PP_MULTI_BAR_STACK_2_GRID_SLOT'
|
2
|
+
export { PP_MULTI_BAR_STACK_3_GRID_SLOT } from './PP_MULTI_BAR_STACK_3_GRID_SLOT'
|
3
|
+
export { PP_MULTI_BAR_STACK_4_GRID_SLOT } from './PP_MULTI_BAR_STACK_4_GRID_SLOT'
|
4
|
+
// export { PP_MULTI_BAR_STACK_ROUND } from './PP_MULTI_BAR_STACK_ROUND'
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiBarsParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_BARS_2_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
|
5
|
+
id: 'PP_MULTI_BARS_2_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiBars',
|
8
|
+
description: '2組群組長條圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1]
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiBarsParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_BARS_3_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
|
5
|
+
id: 'PP_MULTI_BARS_3_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiBars',
|
8
|
+
description: '3組群組長條圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2]
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiBarsParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_BARS_4_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
|
5
|
+
id: 'PP_MULTI_BARS_4_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiBars',
|
8
|
+
description: '4組群組長條圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2, 3]
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiBarsParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_BARS_ROUND: PluginParamsFile<MultiBarsParams> = {
|
5
|
+
id: 'PP_MULTI_BARS_ROUND',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiBars',
|
8
|
+
description: '圓角長條圖',
|
9
|
+
data: {
|
10
|
+
barWidth: 0,
|
11
|
+
barPadding: 1,
|
12
|
+
barGroupPadding: 10,
|
13
|
+
barRadius: true,
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export { PP_MULTI_BARS_2_GRID_SLOT } from './PP_MULTI_BARS_2_GRID_SLOT'
|
2
|
+
export { PP_MULTI_BARS_3_GRID_SLOT } from './PP_MULTI_BARS_3_GRID_SLOT'
|
3
|
+
export { PP_MULTI_BARS_4_GRID_SLOT } from './PP_MULTI_BARS_4_GRID_SLOT'
|
4
|
+
export { PP_MULTI_BARS_ROUND } from './PP_MULTI_BARS_ROUND'
|
5
|
+
|
package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiBarsTriangleParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams> = {
|
5
|
+
id: 'PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiBarsTriangle',
|
8
|
+
description: '2組群組三角長條圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1]
|
11
|
+
}
|
12
|
+
}
|
package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiBarsTriangleParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams> = {
|
5
|
+
id: 'PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiBarsTriangle',
|
8
|
+
description: '3組群組三角長條圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2]
|
11
|
+
}
|
12
|
+
}
|
package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiBarsTriangleParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams> = {
|
5
|
+
id: 'PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiBarsTriangle',
|
8
|
+
description: '4組群組三角長條圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2, 3]
|
11
|
+
}
|
12
|
+
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import type { PluginParamsFile } from '../../types'
|
2
2
|
import type { GridLegendParams } from '@orbcharts/plugins-basic'
|
3
3
|
|
4
|
-
export const
|
5
|
-
id: '
|
4
|
+
export const PP_MULTI_GRID_LEGEND_BOTTOM: PluginParamsFile<GridLegendParams> = {
|
5
|
+
id: 'PP_MULTI_GRID_LEGEND_BOTTOM',
|
6
6
|
chartType: 'multiGrid',
|
7
7
|
pluginName: 'MultiGridLegend',
|
8
8
|
description: '底部圖例',
|
package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiGridLegendParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: PluginParamsFile<MultiGridLegendParams> = {
|
5
|
+
id: 'PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiGridLegend',
|
8
|
+
description: '底部圖例線條列點',
|
9
|
+
data: {
|
10
|
+
position: 'bottom',
|
11
|
+
justify: 'center',
|
12
|
+
padding: 14,
|
13
|
+
gridList: [
|
14
|
+
{
|
15
|
+
listRectHeight: 2,
|
16
|
+
},
|
17
|
+
{
|
18
|
+
listRectHeight: 2,
|
19
|
+
},
|
20
|
+
{
|
21
|
+
listRectHeight: 2,
|
22
|
+
},
|
23
|
+
{
|
24
|
+
listRectHeight: 2,
|
25
|
+
}
|
26
|
+
]
|
27
|
+
}
|
28
|
+
}
|
@@ -5,7 +5,7 @@ export const PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST: PluginParamsFi
|
|
5
5
|
id: 'PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST',
|
6
6
|
chartType: 'multiGrid',
|
7
7
|
pluginName: 'MultiGridLegend',
|
8
|
-
description: '
|
8
|
+
description: '底部圖例矩型及線條列點',
|
9
9
|
data: {
|
10
10
|
position: 'bottom',
|
11
11
|
justify: 'center',
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiGridLegendParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST: PluginParamsFile<MultiGridLegendParams> = {
|
5
|
+
id: 'PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiGridLegend',
|
8
|
+
description: '底部圖例圓型及線條列點',
|
9
|
+
data: {
|
10
|
+
position: 'bottom',
|
11
|
+
justify: 'center',
|
12
|
+
padding: 14,
|
13
|
+
gridList: [
|
14
|
+
{
|
15
|
+
listRectRadius: 7,
|
16
|
+
},
|
17
|
+
{
|
18
|
+
listRectHeight: 2,
|
19
|
+
}
|
20
|
+
]
|
21
|
+
}
|
22
|
+
}
|
@@ -1,2 +1,4 @@
|
|
1
|
+
export { PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST } from './PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'
|
1
2
|
export { PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST } from './PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST'
|
2
|
-
export {
|
3
|
+
export { PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST} from './PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST'
|
4
|
+
export { PP_MULTI_GRID_LEGEND_BOTTOM } from './PP_MULTI_GRID_LEGEND_BOTTOM'
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiGroupAxisParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_GROUP_AXIS_2_GRID_SLOT: PluginParamsFile<MultiGroupAxisParams> = {
|
5
|
+
id: 'PP_MULTI_GROUP_AXIS_2_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiGroupAxis',
|
8
|
+
description: '2個群組圖軸',
|
9
|
+
data: {
|
10
|
+
tickTextRotate: -30,
|
11
|
+
gridIndexes: [0, 1]
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiGroupAxisParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_GROUP_AXIS_3_GRID_SLOT: PluginParamsFile<MultiGroupAxisParams> = {
|
5
|
+
id: 'PP_MULTI_GROUP_AXIS_3_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiGroupAxis',
|
8
|
+
description: '3個群組圖軸',
|
9
|
+
data: {
|
10
|
+
tickTextRotate: -30,
|
11
|
+
gridIndexes: [0, 1, 2]
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiGroupAxisParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_GROUP_AXIS_4_GRID_SLOT: PluginParamsFile<MultiGroupAxisParams> = {
|
5
|
+
id: 'PP_MULTI_GROUP_AXIS_4_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiGroupAxis',
|
8
|
+
description: '4個群組圖軸',
|
9
|
+
data: {
|
10
|
+
tickTextRotate: -30,
|
11
|
+
gridIndexes: [0, 1, 2, 3]
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiLinesParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_LINES_2_GRID_SLOT: PluginParamsFile<MultiLinesParams> = {
|
5
|
+
id: 'PP_MULTI_LINES_2_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiLines',
|
8
|
+
description: '2組折線圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1]
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiLinesParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_LINES_3_GRID_SLOT: PluginParamsFile<MultiLinesParams> = {
|
5
|
+
id: 'PP_MULTI_LINES_3_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiLines',
|
8
|
+
description: '3組折線圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2]
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiLinesParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_LINES_4_GRID_SLOT: PluginParamsFile<MultiLinesParams> = {
|
5
|
+
id: 'PP_MULTI_LINES_4_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiLines',
|
8
|
+
description: '4組折線圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2, 3]
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiLinesParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_LINES_CURVE: PluginParamsFile<MultiLinesParams> = {
|
5
|
+
id: 'PP_MULTI_LINES_CURVE',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiLines',
|
8
|
+
description: '圓弧折線圖',
|
9
|
+
data: {
|
10
|
+
lineCurve: 'curveMonotoneX',
|
11
|
+
lineWidth: 3
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export { PP_MULTI_LINES_2_GRID_SLOT } from './PP_MULTI_LINES_2_GRID_SLOT'
|
2
|
+
export { PP_MULTI_LINES_3_GRID_SLOT } from './PP_MULTI_LINES_3_GRID_SLOT'
|
3
|
+
export { PP_MULTI_LINES_4_GRID_SLOT } from './PP_MULTI_LINES_4_GRID_SLOT'
|
4
|
+
export { PP_MULTI_LINES_CURVE } from './PP_MULTI_LINES_CURVE'
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiGroupAxisParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_VALUE_AXIS_2_GRID_SLOT: PluginParamsFile<MultiGroupAxisParams> = {
|
5
|
+
id: 'PP_MULTI_VALUE_AXIS_2_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiValueAxis',
|
8
|
+
description: '2個資料圖軸',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1]
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiValueAxisParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_VALUE_AXIS_3_GRID_SLOT: PluginParamsFile<MultiValueAxisParams> = {
|
5
|
+
id: 'PP_MULTI_VALUE_AXIS_3_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiValueAxis',
|
8
|
+
description: '3個資料圖軸',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2]
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiValueAxisParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_VALUE_AXIS_4_GRID_SLOT: PluginParamsFile<MultiValueAxisParams> = {
|
5
|
+
id: 'PP_MULTI_VALUE_AXIS_4_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiValueAxis',
|
8
|
+
description: '4個資料圖軸',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2, 3]
|
11
|
+
}
|
12
|
+
}
|
@@ -1 +1,7 @@
|
|
1
|
-
export * from './
|
1
|
+
export * from './MultiBars'
|
2
|
+
export * from './MultiBarStack'
|
3
|
+
export * from './MultiBarsTriangle'
|
4
|
+
export * from './MultiLines'
|
5
|
+
export * from './MultiGridLegend'
|
6
|
+
export * from './MultiGroupAxis'
|
7
|
+
export * from './MultiValueAxis'
|