@orbcharts/presets-basic 3.0.0-beta.5 → 3.0.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/LICENSE +200 -200
  2. package/dist/orbcharts-presets-basic.es.js +238 -148
  3. package/dist/orbcharts-presets-basic.umd.js +1 -1
  4. package/dist/src/index.d.ts +1 -0
  5. package/dist/src/relationship/PRESET_FORCE_DIRECTED_BASIC.d.ts +4 -0
  6. package/dist/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.d.ts +4 -0
  7. package/dist/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.d.ts +4 -0
  8. package/dist/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.d.ts +4 -0
  9. package/dist/src/relationship/index.d.ts +4 -0
  10. package/dist/src/tree/PRESET_TREE_MAP_BASIC.d.ts +4 -0
  11. package/dist/src/tree/index.d.ts +1 -1
  12. package/dist/src/types.d.ts +26 -16
  13. package/lib/core-types.ts +7 -7
  14. package/lib/plugins-basic-types.ts +6 -6
  15. package/package.json +42 -42
  16. package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +56 -56
  17. package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +52 -52
  18. package/src/grid/PRESET_BARS_ROUND.ts +39 -39
  19. package/src/grid/PRESET_BARS_THIN.ts +36 -36
  20. package/src/grid/PRESET_GRID_BASIC.ts +27 -27
  21. package/src/grid/PRESET_GRID_HORIZONTAL.ts +44 -44
  22. package/src/grid/PRESET_GRID_PN_SCALE.ts +35 -35
  23. package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +35 -35
  24. package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +40 -40
  25. package/src/grid/PRESET_LINES_BASIC.ts +35 -35
  26. package/src/grid/PRESET_LINES_CURVE.ts +38 -38
  27. package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +37 -37
  28. package/src/grid/PRESET_LINES_HORIZONTAL.ts +51 -51
  29. package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +37 -37
  30. package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +40 -40
  31. package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +39 -39
  32. package/src/grid/PRESET_LINE_AREAS_BASIC.ts +43 -43
  33. package/src/grid/PRESET_LINE_AREAS_CURVE.ts +48 -48
  34. package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +47 -47
  35. package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +47 -47
  36. package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +45 -45
  37. package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +48 -48
  38. package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +50 -50
  39. package/src/grid/index.ts +22 -22
  40. package/src/index.ts +6 -5
  41. package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +38 -38
  42. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +86 -86
  43. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +58 -58
  44. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +60 -60
  45. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +86 -86
  46. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +104 -104
  47. package/src/multiGrid/index.ts +6 -6
  48. package/src/multiValue/PRESET_MULTI_VALUE_BASIC.ts +23 -23
  49. package/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.ts +26 -26
  50. package/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.ts +26 -26
  51. package/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.ts +26 -26
  52. package/src/multiValue/index.ts +3 -3
  53. package/src/params.ts +71 -71
  54. package/src/relationship/PRESET_FORCE_DIRECTED_BASIC.ts +23 -0
  55. package/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.ts +30 -0
  56. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.ts +28 -0
  57. package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.ts +25 -0
  58. package/src/relationship/index.ts +4 -0
  59. package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +18 -18
  60. package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +29 -29
  61. package/src/series/PRESET_PIE_BASIC.ts +18 -18
  62. package/src/series/PRESET_PIE_DONUT.ts +23 -23
  63. package/src/series/PRESET_PIE_HALF_DONUT.ts +36 -36
  64. package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +24 -24
  65. package/src/series/PRESET_ROSE_BASIC.ts +19 -19
  66. package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +24 -24
  67. package/src/series/PRESET_SERIES_BASIC.ts +16 -16
  68. package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +17 -17
  69. package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +18 -18
  70. package/src/series/PRESET_SERIES_SUM_SERIES.ts +18 -18
  71. package/src/series/index.ts +13 -13
  72. package/src/tree/{PRESET_TREE_BASIC.ts → PRESET_TREE_MAP_BASIC.ts} +27 -27
  73. package/src/tree/index.ts +1 -1
  74. package/src/types.ts +343 -321
  75. package/tsconfig.base.json +13 -13
  76. package/tsconfig.json +2 -2
  77. package/vite.config.js +22 -22
  78. package/dist/src/tree/PRESET_TREE_BASIC.d.ts +0 -4
package/src/types.ts CHANGED
@@ -1,322 +1,344 @@
1
- import type {
2
- // -- series --
3
- BubblesParams,
4
- PieParams,
5
- PieEventTextsParams,
6
- PieLabelsParams,
7
- RoseParams,
8
- RoseLabelsParams,
9
- SeriesLegendParams,
10
- SeriesTooltipParams,
11
-
12
- // -- grid --
13
- BarsParams,
14
- BarsPNParams,
15
- BarStackParams,
16
- BarsTriangleParams,
17
- DotsParams,
18
- GridLegendParams,
19
- GroupAuxParams,
20
- GroupAxisParams,
21
- LineAreasParams,
22
- LinesParams,
23
- GridTooltipParams,
24
- GridZoomParams,
25
- ValueAxisParams,
26
- ValueStackAxisParams,
27
-
28
- // -- multiGrid --
29
- MultiBarsParams,
30
- MultiBarStackParams,
31
- MultiBarsTriangleParams,
32
- MultiDotsParams,
33
- MultiGridLegendParams,
34
- MultiGridTooltipParams,
35
- MultiGroupAxisParams,
36
- MultiLineAreasParams,
37
- MultiLinesParams,
38
- MultiValueAxisParams,
39
- MultiValueStackAxisParams,
40
- OverlappingValueAxesParams,
41
- OverlappingValueStackAxesParams,
42
-
43
- // -- multiValue --
44
- MultiValueLegendParams,
45
- MultiValueTooltipParams,
46
- ScatterParams,
47
- ScatterBubblesParams,
48
- XYAuxParams,
49
- XYAxesParams,
50
- XYZoomParams,
51
-
52
- // -- tree --
53
- TreeLegendParams,
54
- TreeMapParams,
55
- TreeTooltipParams,
56
-
57
- // -- noneData --
58
- // TooltipParams
59
- } from '../lib/plugins-basic-types'
60
-
61
- type DeepPartial<T> = Partial<{ [P in keyof T]: DeepPartial<T[P]> }>
62
-
63
- // -- series --
64
- // series的全部plugin參數
65
- export type PresetSeriesPluginParams = PresetBubblesParams
66
- & PresetPieParams
67
- & PresetPieEventTextsParams
68
- & PresetPieLabelsParams
69
- & PresetRoseParams
70
- & PresetRoseLabelsParams
71
- & PresetSeriesLegendParams
72
- & PresetSeriesTooltipParams
73
-
74
- export interface PresetBubblesParams {
75
- Bubbles: Partial<BubblesParams>
76
- }
77
-
78
- export interface PresetPieParams {
79
- Pie: Partial<PieParams>
80
- }
81
-
82
- export interface PresetPieEventTextsParams {
83
- PieEventTexts: Partial<PieEventTextsParams>
84
- }
85
-
86
- export interface PresetPieLabelsParams {
87
- PieLabels: Partial<PieLabelsParams>
88
- }
89
-
90
- export interface PresetRoseParams {
91
- Rose: Partial<RoseParams>
92
- }
93
-
94
- export interface PresetRoseLabelsParams {
95
- RoseLabels: Partial<RoseLabelsParams>
96
- }
97
-
98
- export interface PresetSeriesLegendParams {
99
- SeriesLegend: Partial<SeriesLegendParams>
100
- }
101
-
102
- export interface PresetSeriesTooltipParams {
103
- SeriesTooltip: Partial<SeriesTooltipParams>
104
- }
105
-
106
- // -- grid --
107
- // grid的全部plugin參數
108
- export type PresetGridPluginParams = PresetBarsParams
109
- & PresetBarsPNParams
110
- & PresetBarStackParams
111
- & PresetBarsTriangleParams
112
- & PresetDotsParams
113
- & PresetGridLegendParams
114
- & PresetGridTooltipParams
115
- & PresetGroupAuxParams
116
- & PresetGroupAxisParams
117
- & PresetLineAreasParams
118
- & PresetLinesParams
119
- & PresetGridZoomParams
120
- & PresetValueAxisParams
121
- & PresetValueStackAxisParams
122
-
123
- export interface PresetBarsParams {
124
- Bars: Partial<BarsParams>
125
- }
126
-
127
- export interface PresetBarsPNParams {
128
- BarsPN: Partial<BarsPNParams>
129
- }
130
-
131
- export interface PresetBarStackParams {
132
- BarStack: Partial<BarStackParams>
133
- }
134
-
135
- export interface PresetBarsTriangleParams {
136
- BarsTriangle: Partial<BarsTriangleParams>
137
- }
138
-
139
- export interface PresetDotsParams {
140
- Dots: Partial<DotsParams>
141
- }
142
-
143
- export interface PresetGridLegendParams {
144
- GridLegend: Partial<GridLegendParams>
145
- }
146
-
147
- export interface PresetGridTooltipParams {
148
- GridTooltip: Partial<GridTooltipParams>
149
- }
150
-
151
- export interface PresetGroupAuxParams {
152
- GroupAux: Partial<GroupAuxParams>
153
- }
154
-
155
- export interface PresetGroupAxisParams {
156
- GroupAxis: Partial<GroupAxisParams>
157
- }
158
-
159
- export interface PresetLineAreasParams {
160
- LineAreas: Partial<LineAreasParams>
161
- }
162
-
163
- export interface PresetLinesParams {
164
- Lines: Partial<LinesParams>
165
- }
166
-
167
- export interface PresetGridZoomParams {
168
- GridZoom: Partial<GridZoomParams>
169
- }
170
-
171
- export interface PresetValueAxisParams {
172
- ValueAxis: Partial<ValueAxisParams>
173
- }
174
-
175
- export interface PresetValueStackAxisParams {
176
- ValueStackAxis: Partial<ValueStackAxisParams>
177
- }
178
-
179
- // -- multiGrid --
180
- // multiGrid的全部plugin參數
181
- export type PresetMultiGridPluginParams = PresetMultiBarsParams
182
- & PresetMultiBarStackParams
183
- & PresetMultiBarsTriangleParams
184
- & PresetMultiDotsParams
185
- & PresetMultiGridLegendParams
186
- & PresetMultiGridTooltipParams
187
- & PresetMultiGroupAxisParams
188
- & PresetMultiLineAreasParams
189
- & PresetMultiLinesParams
190
- & PresetMultiValueAxisParams
191
- & PresetMultiValueStackAxisParams
192
- & PresetOverlappingValueAxesParams
193
- & PresetOverlappingValueStackAxesParams
194
-
195
- // multiGrid分開grid
196
- export type PresetMultiGridSepratedPluginParams = Omit<PresetMultiGridPluginParams, 'OverlappingValueAxes' | 'OverlappingValueStackAxes'>
197
-
198
- // multiGrid重疊grid
199
- export type PresetMultiGridOverlappedPluginParams = Omit<PresetMultiGridPluginParams, 'PresetMultiGroupAxisParams' | 'PresetMultiValueAxisParams'>
200
-
201
- export interface PresetMultiBarsParams {
202
- MultiBars: Partial<MultiBarsParams>
203
- }
204
-
205
- export interface PresetMultiBarStackParams {
206
- MultiBarStack: Partial<MultiBarStackParams>
207
- }
208
-
209
- export interface PresetMultiBarsTriangleParams {
210
- MultiBarsTriangle: Partial<MultiBarsTriangleParams>
211
- }
212
-
213
- export interface PresetMultiDotsParams {
214
- MultiDots: Partial<MultiDotsParams>
215
- }
216
-
217
- export interface PresetMultiGridLegendParams {
218
- MultiGridLegend: DeepPartial<MultiGridLegendParams>
219
- }
220
-
221
- export interface PresetMultiGridTooltipParams {
222
- MultiGridTooltip: Partial<MultiGridTooltipParams>
223
- }
224
-
225
- export interface PresetMultiGroupAxisParams {
226
- MultiGroupAxis: Partial<MultiGroupAxisParams>
227
- }
228
-
229
- export interface PresetMultiLineAreasParams {
230
- MultiLineAreas: Partial<MultiLineAreasParams>
231
- }
232
-
233
- export interface PresetMultiLinesParams {
234
- MultiLines: Partial<MultiLinesParams>
235
- }
236
-
237
- export interface PresetMultiValueAxisParams {
238
- MultiValueAxis: Partial<MultiValueAxisParams>
239
- }
240
-
241
- export interface PresetMultiValueStackAxisParams {
242
- MultiValueStackAxis: Partial<MultiValueStackAxisParams>
243
- }
244
-
245
- export interface PresetOverlappingValueAxesParams {
246
- OverlappingValueAxes: Partial<OverlappingValueAxesParams>
247
- }
248
-
249
- export interface PresetOverlappingValueStackAxesParams {
250
- OverlappingValueStackAxes: Partial<OverlappingValueStackAxesParams>
251
- }
252
-
253
- // -- multiValue --
254
- export type PresetMultiValuePluginParams = PresetMultiValueLegendParams
255
- & PresetMultiValueTooltipParams
256
- & PresetScatterParams
257
- & PresetScatterBubblesParams
258
- & PresetXYAuxParams
259
- & PresetXYAxesParams
260
- & PresetXYZoomParams
261
-
262
- export interface PresetMultiValueAxisParams {
263
- MultiValueAxis: Partial<MultiValueAxisParams>
264
- }
265
-
266
- export interface PresetMultiValueStackAxisParams {
267
- MultiValueStackAxis: Partial<MultiValueStackAxisParams>
268
- }
269
-
270
- export interface PresetMultiValueLegendParams {
271
- MultiValueLegend: Partial<MultiValueLegendParams>
272
- }
273
-
274
- export interface PresetMultiValueTooltipParams {
275
- MultiValueTooltip: Partial<MultiValueTooltipParams>
276
- }
277
-
278
- export interface PresetScatterParams {
279
- Scatter: Partial<ScatterParams>
280
- }
281
-
282
- export interface PresetScatterBubblesParams {
283
- ScatterBubbles: Partial<ScatterBubblesParams>
284
- }
285
-
286
- export interface PresetXYAuxParams {
287
- XYAux: Partial<XYAuxParams>
288
- }
289
-
290
- export interface PresetXYAxesParams {
291
- XYAxes: Partial<XYAxesParams>
292
- }
293
-
294
- export interface PresetXYZoomParams {
295
- XYZoom: Partial<XYZoomParams>
296
- }
297
-
298
- // -- tree --
299
- export type PresetTreePluginParams = PresetTreeLegendParams
300
- & PresetTreeMapParams
301
- & PresetTreeTooltipParams
302
-
303
- export interface PresetTreeLegendParams {
304
- TreeLegend: Partial<TreeLegendParams>
305
- }
306
-
307
- export interface PresetTreeMapParams {
308
- TreeMap: Partial<TreeMapParams>
309
- }
310
-
311
- export interface PresetTreeTooltipParams {
312
- TreeTooltip: Partial<TreeTooltipParams>
313
- }
314
-
315
- // -- noneData --
316
- // noneData的全部plugin參數
317
- export type PresetNoneDataPluginParams = {}
318
- // export type PresetNoneDataPluginParams = PresetTooltipParams
319
-
320
- // export interface PresetTooltipParams {
321
- // Tooltip: Partial<TooltipParams>
1
+ import type {
2
+ // -- series --
3
+ BubblesParams,
4
+ PieParams,
5
+ PieEventTextsParams,
6
+ PieLabelsParams,
7
+ RoseParams,
8
+ RoseLabelsParams,
9
+ SeriesLegendParams,
10
+ SeriesTooltipParams,
11
+
12
+ // -- grid --
13
+ BarsParams,
14
+ BarsPNParams,
15
+ StackedBarParams,
16
+ BarsTriangleParams,
17
+ DotsParams,
18
+ GridLegendParams,
19
+ GroupAuxParams,
20
+ GroupAxisParams,
21
+ LineAreasParams,
22
+ LinesParams,
23
+ GridTooltipParams,
24
+ GridZoomParams,
25
+ ValueAxisParams,
26
+ StackedValueAxisParams,
27
+
28
+ // -- multiGrid --
29
+ MultiBarsParams,
30
+ MultiStackedBarParams,
31
+ MultiBarsTriangleParams,
32
+ MultiDotsParams,
33
+ MultiGridLegendParams,
34
+ MultiGridTooltipParams,
35
+ MultiGroupAxisParams,
36
+ MultiLineAreasParams,
37
+ MultiLinesParams,
38
+ MultiValueAxisParams,
39
+ MultiStackedValueAxisParams,
40
+ OverlappingValueAxesParams,
41
+ OverlappingStackedValueAxesParams,
42
+
43
+ // -- multiValue --
44
+ MultiValueLegendParams,
45
+ MultiValueTooltipParams,
46
+ ScatterParams,
47
+ ScatterBubblesParams,
48
+ XYAuxParams,
49
+ XYAxesParams,
50
+ XYZoomParams,
51
+
52
+ // -- relationship --
53
+ ForceDirectedParams,
54
+ RelationshipLegendParams,
55
+ RelationshipTooltipParams,
56
+
57
+ // -- tree --
58
+ TreeLegendParams,
59
+ TreeMapParams,
60
+ TreeTooltipParams,
61
+
62
+ // -- noneData --
63
+ // TooltipParams
64
+ } from '../lib/plugins-basic-types'
65
+
66
+ type DeepPartial<T> = Partial<{ [P in keyof T]: DeepPartial<T[P]> }>
67
+
68
+ // -- series --
69
+ // series的全部plugin參數
70
+ export type PresetSeriesPluginParams = PresetBubblesParams
71
+ & PresetPieParams
72
+ & PresetPieEventTextsParams
73
+ & PresetPieLabelsParams
74
+ & PresetRoseParams
75
+ & PresetRoseLabelsParams
76
+ & PresetSeriesLegendParams
77
+ & PresetSeriesTooltipParams
78
+
79
+ export interface PresetBubblesParams {
80
+ Bubbles: Partial<BubblesParams>
81
+ }
82
+
83
+ export interface PresetPieParams {
84
+ Pie: Partial<PieParams>
85
+ }
86
+
87
+ export interface PresetPieEventTextsParams {
88
+ PieEventTexts: Partial<PieEventTextsParams>
89
+ }
90
+
91
+ export interface PresetPieLabelsParams {
92
+ PieLabels: Partial<PieLabelsParams>
93
+ }
94
+
95
+ export interface PresetRoseParams {
96
+ Rose: Partial<RoseParams>
97
+ }
98
+
99
+ export interface PresetRoseLabelsParams {
100
+ RoseLabels: Partial<RoseLabelsParams>
101
+ }
102
+
103
+ export interface PresetSeriesLegendParams {
104
+ SeriesLegend: Partial<SeriesLegendParams>
105
+ }
106
+
107
+ export interface PresetSeriesTooltipParams {
108
+ SeriesTooltip: Partial<SeriesTooltipParams>
109
+ }
110
+
111
+ // -- grid --
112
+ // grid的全部plugin參數
113
+ export type PresetGridPluginParams = PresetBarsParams
114
+ & PresetBarsPNParams
115
+ & PresetStackedBarParams
116
+ & PresetBarsTriangleParams
117
+ & PresetDotsParams
118
+ & PresetGridLegendParams
119
+ & PresetGridTooltipParams
120
+ & PresetGroupAuxParams
121
+ & PresetGroupAxisParams
122
+ & PresetLineAreasParams
123
+ & PresetLinesParams
124
+ & PresetGridZoomParams
125
+ & PresetValueAxisParams
126
+ & PresetStackedValueAxisParams
127
+
128
+ export interface PresetBarsParams {
129
+ Bars: Partial<BarsParams>
130
+ }
131
+
132
+ export interface PresetBarsPNParams {
133
+ BarsPN: Partial<BarsPNParams>
134
+ }
135
+
136
+ export interface PresetStackedBarParams {
137
+ StackedBar: Partial<StackedBarParams>
138
+ }
139
+
140
+ export interface PresetBarsTriangleParams {
141
+ BarsTriangle: Partial<BarsTriangleParams>
142
+ }
143
+
144
+ export interface PresetDotsParams {
145
+ Dots: Partial<DotsParams>
146
+ }
147
+
148
+ export interface PresetGridLegendParams {
149
+ GridLegend: Partial<GridLegendParams>
150
+ }
151
+
152
+ export interface PresetGridTooltipParams {
153
+ GridTooltip: Partial<GridTooltipParams>
154
+ }
155
+
156
+ export interface PresetGroupAuxParams {
157
+ GroupAux: Partial<GroupAuxParams>
158
+ }
159
+
160
+ export interface PresetGroupAxisParams {
161
+ GroupAxis: Partial<GroupAxisParams>
162
+ }
163
+
164
+ export interface PresetLineAreasParams {
165
+ LineAreas: Partial<LineAreasParams>
166
+ }
167
+
168
+ export interface PresetLinesParams {
169
+ Lines: Partial<LinesParams>
170
+ }
171
+
172
+ export interface PresetGridZoomParams {
173
+ GridZoom: Partial<GridZoomParams>
174
+ }
175
+
176
+ export interface PresetValueAxisParams {
177
+ ValueAxis: Partial<ValueAxisParams>
178
+ }
179
+
180
+ export interface PresetStackedValueAxisParams {
181
+ StackedValueAxis: Partial<StackedValueAxisParams>
182
+ }
183
+
184
+ // -- multiGrid --
185
+ // multiGrid的全部plugin參數
186
+ export type PresetMultiGridPluginParams = PresetMultiBarsParams
187
+ & PresetMultiStackedBarParams
188
+ & PresetMultiBarsTriangleParams
189
+ & PresetMultiDotsParams
190
+ & PresetMultiGridLegendParams
191
+ & PresetMultiGridTooltipParams
192
+ & PresetMultiGroupAxisParams
193
+ & PresetMultiLineAreasParams
194
+ & PresetMultiLinesParams
195
+ & PresetMultiValueAxisParams
196
+ & PresetMultiStackedValueAxisParams
197
+ & PresetOverlappingValueAxesParams
198
+ & PresetOverlappingStackedValueAxesParams
199
+
200
+ // multiGrid分開grid
201
+ export type PresetMultiGridSepratedPluginParams = Omit<PresetMultiGridPluginParams, 'OverlappingValueAxes' | 'OverlappingStackedValueAxes'>
202
+
203
+ // multiGrid重疊grid
204
+ export type PresetMultiGridOverlappedPluginParams = Omit<PresetMultiGridPluginParams, 'PresetMultiGroupAxisParams' | 'PresetMultiValueAxisParams'>
205
+
206
+ export interface PresetMultiBarsParams {
207
+ MultiBars: Partial<MultiBarsParams>
208
+ }
209
+
210
+ export interface PresetMultiStackedBarParams {
211
+ MultiStackedBar: Partial<MultiStackedBarParams>
212
+ }
213
+
214
+ export interface PresetMultiBarsTriangleParams {
215
+ MultiBarsTriangle: Partial<MultiBarsTriangleParams>
216
+ }
217
+
218
+ export interface PresetMultiDotsParams {
219
+ MultiDots: Partial<MultiDotsParams>
220
+ }
221
+
222
+ export interface PresetMultiGridLegendParams {
223
+ MultiGridLegend: DeepPartial<MultiGridLegendParams>
224
+ }
225
+
226
+ export interface PresetMultiGridTooltipParams {
227
+ MultiGridTooltip: Partial<MultiGridTooltipParams>
228
+ }
229
+
230
+ export interface PresetMultiGroupAxisParams {
231
+ MultiGroupAxis: Partial<MultiGroupAxisParams>
232
+ }
233
+
234
+ export interface PresetMultiLineAreasParams {
235
+ MultiLineAreas: Partial<MultiLineAreasParams>
236
+ }
237
+
238
+ export interface PresetMultiLinesParams {
239
+ MultiLines: Partial<MultiLinesParams>
240
+ }
241
+
242
+ export interface PresetMultiValueAxisParams {
243
+ MultiValueAxis: Partial<MultiValueAxisParams>
244
+ }
245
+
246
+ export interface PresetMultiStackedValueAxisParams {
247
+ MultiStackedValueAxis: Partial<MultiStackedValueAxisParams>
248
+ }
249
+
250
+ export interface PresetOverlappingValueAxesParams {
251
+ OverlappingValueAxes: Partial<OverlappingValueAxesParams>
252
+ }
253
+
254
+ export interface PresetOverlappingStackedValueAxesParams {
255
+ OverlappingStackedValueAxes: Partial<OverlappingStackedValueAxesParams>
256
+ }
257
+
258
+ // -- multiValue --
259
+ export type PresetMultiValuePluginParams = PresetMultiValueLegendParams
260
+ & PresetMultiValueTooltipParams
261
+ & PresetScatterParams
262
+ & PresetScatterBubblesParams
263
+ & PresetXYAuxParams
264
+ & PresetXYAxesParams
265
+ & PresetXYZoomParams
266
+
267
+ export interface PresetMultiValueAxisParams {
268
+ MultiValueAxis: Partial<MultiValueAxisParams>
269
+ }
270
+
271
+ export interface PresetMultiStackedValueAxisParams {
272
+ MultiStackedValueAxis: Partial<MultiStackedValueAxisParams>
273
+ }
274
+
275
+ export interface PresetMultiValueLegendParams {
276
+ MultiValueLegend: Partial<MultiValueLegendParams>
277
+ }
278
+
279
+ export interface PresetMultiValueTooltipParams {
280
+ MultiValueTooltip: Partial<MultiValueTooltipParams>
281
+ }
282
+
283
+ export interface PresetScatterParams {
284
+ Scatter: Partial<ScatterParams>
285
+ }
286
+
287
+ export interface PresetScatterBubblesParams {
288
+ ScatterBubbles: Partial<ScatterBubblesParams>
289
+ }
290
+
291
+ export interface PresetXYAuxParams {
292
+ XYAux: Partial<XYAuxParams>
293
+ }
294
+
295
+ export interface PresetXYAxesParams {
296
+ XYAxes: Partial<XYAxesParams>
297
+ }
298
+
299
+ export interface PresetXYZoomParams {
300
+ XYZoom: Partial<XYZoomParams>
301
+ }
302
+
303
+ // -- relationship --
304
+ export type PresetRelationshipPluginParams = PresetForceDirectedParams
305
+ & PresetRelationshipLegendParams
306
+ & PresetRelationshipTooltipParams
307
+
308
+ export interface PresetForceDirectedParams {
309
+ ForceDirected: DeepPartial<ForceDirectedParams>
310
+ }
311
+
312
+ export interface PresetRelationshipLegendParams {
313
+ RelationshipLegend: Partial<RelationshipLegendParams>
314
+ }
315
+
316
+ export interface PresetRelationshipTooltipParams {
317
+ RelationshipTooltip: Partial<RelationshipTooltipParams>
318
+ }
319
+
320
+ // -- tree --
321
+ export type PresetTreePluginParams = PresetTreeLegendParams
322
+ & PresetTreeMapParams
323
+ & PresetTreeTooltipParams
324
+
325
+ export interface PresetTreeLegendParams {
326
+ TreeLegend: Partial<TreeLegendParams>
327
+ }
328
+
329
+ export interface PresetTreeMapParams {
330
+ TreeMap: Partial<TreeMapParams>
331
+ }
332
+
333
+ export interface PresetTreeTooltipParams {
334
+ TreeTooltip: Partial<TreeTooltipParams>
335
+ }
336
+
337
+ // -- noneData --
338
+ // noneData的全部plugin參數
339
+ export type PresetNoneDataPluginParams = {}
340
+ // export type PresetNoneDataPluginParams = PresetTooltipParams
341
+
342
+ // export interface PresetTooltipParams {
343
+ // Tooltip: Partial<TooltipParams>
322
344
  // }