@orbcharts/presets-basic 3.0.0-beta.1 → 3.0.0-beta.10
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.
- package/dist/orbcharts-presets-basic.es.js +418 -157
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/multiValue/PRESET_MULTI_VALUE_BASIC.d.ts +4 -0
- package/dist/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.d.ts +4 -0
- package/dist/src/multiValue/index.d.ts +4 -0
- package/dist/src/params.d.ts +3 -1
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_BASIC.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.d.ts +4 -0
- package/dist/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.d.ts +4 -0
- package/dist/src/relationship/index.d.ts +8 -0
- package/dist/src/tree/PRESET_TREE_MAP_BASIC.d.ts +4 -0
- package/dist/src/tree/index.d.ts +1 -1
- package/dist/src/types.d.ts +55 -14
- package/package.json +3 -3
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +2 -2
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +2 -2
- package/src/grid/PRESET_GRID_HORIZONTAL.ts +2 -2
- package/src/grid/PRESET_GRID_PN_SCALE.ts +2 -2
- package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +2 -2
- package/src/grid/PRESET_LINES_HORIZONTAL.ts +2 -2
- package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +1 -1
- package/src/grid/PRESET_LINE_AREAS_BASIC.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_CURVE.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +2 -2
- package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +2 -2
- package/src/index.ts +2 -0
- package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +2 -2
- package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +3 -3
- package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +2 -2
- package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +2 -2
- package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +2 -2
- package/src/multiValue/PRESET_MULTI_VALUE_BASIC.ts +23 -0
- package/src/multiValue/PRESET_MULTI_VALUE_SEPARATE_CATEGORY.ts +26 -0
- package/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.ts +26 -0
- package/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.ts +26 -0
- package/src/multiValue/index.ts +4 -0
- package/src/params.ts +25 -5
- package/src/relationship/PRESET_FORCE_DIRECTED_BASIC.ts +23 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_BASIC.ts +23 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_FIX_ARROW_WIDTH.ts +28 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ARROW.ts +30 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_BUBBLES_NONE_ZOOM.ts +25 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_FIX_FONT_SIZE.ts +30 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ARROW.ts +28 -0
- package/src/relationship/PRESET_FORCE_DIRECTED_NONE_ZOOM.ts +25 -0
- package/src/relationship/index.ts +8 -0
- package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +1 -1
- package/src/tree/{PRESET_TREE_BASIC.ts → PRESET_TREE_MAP_BASIC.ts} +3 -3
- package/src/tree/index.ts +1 -1
- package/src/types.ts +103 -21
- package/dist/src/tree/PRESET_TREE_BASIC.d.ts +0 -4
package/src/types.ts
CHANGED
@@ -12,7 +12,7 @@ import type {
|
|
12
12
|
// -- grid --
|
13
13
|
BarsParams,
|
14
14
|
BarsPNParams,
|
15
|
-
|
15
|
+
StackedBarParams,
|
16
16
|
BarsTriangleParams,
|
17
17
|
DotsParams,
|
18
18
|
GridLegendParams,
|
@@ -23,11 +23,11 @@ import type {
|
|
23
23
|
GridTooltipParams,
|
24
24
|
GridZoomParams,
|
25
25
|
ValueAxisParams,
|
26
|
-
|
26
|
+
StackedValueAxisParams,
|
27
27
|
|
28
28
|
// -- multiGrid --
|
29
29
|
MultiBarsParams,
|
30
|
-
|
30
|
+
MultiStackedBarParams,
|
31
31
|
MultiBarsTriangleParams,
|
32
32
|
MultiDotsParams,
|
33
33
|
MultiGridLegendParams,
|
@@ -36,9 +36,24 @@ import type {
|
|
36
36
|
MultiLineAreasParams,
|
37
37
|
MultiLinesParams,
|
38
38
|
MultiValueAxisParams,
|
39
|
-
|
39
|
+
MultiStackedValueAxisParams,
|
40
40
|
OverlappingValueAxesParams,
|
41
|
-
|
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
|
+
ForceDirectedBubblesParams,
|
55
|
+
RelationshipLegendParams,
|
56
|
+
RelationshipTooltipParams,
|
42
57
|
|
43
58
|
// -- tree --
|
44
59
|
TreeLegendParams,
|
@@ -98,7 +113,7 @@ export interface PresetSeriesTooltipParams {
|
|
98
113
|
// grid的全部plugin參數
|
99
114
|
export type PresetGridPluginParams = PresetBarsParams
|
100
115
|
& PresetBarsPNParams
|
101
|
-
&
|
116
|
+
& PresetStackedBarParams
|
102
117
|
& PresetBarsTriangleParams
|
103
118
|
& PresetDotsParams
|
104
119
|
& PresetGridLegendParams
|
@@ -109,7 +124,7 @@ export type PresetGridPluginParams = PresetBarsParams
|
|
109
124
|
& PresetLinesParams
|
110
125
|
& PresetGridZoomParams
|
111
126
|
& PresetValueAxisParams
|
112
|
-
&
|
127
|
+
& PresetStackedValueAxisParams
|
113
128
|
|
114
129
|
export interface PresetBarsParams {
|
115
130
|
Bars: Partial<BarsParams>
|
@@ -119,8 +134,8 @@ export interface PresetBarsPNParams {
|
|
119
134
|
BarsPN: Partial<BarsPNParams>
|
120
135
|
}
|
121
136
|
|
122
|
-
export interface
|
123
|
-
|
137
|
+
export interface PresetStackedBarParams {
|
138
|
+
StackedBar: Partial<StackedBarParams>
|
124
139
|
}
|
125
140
|
|
126
141
|
export interface PresetBarsTriangleParams {
|
@@ -163,14 +178,14 @@ export interface PresetValueAxisParams {
|
|
163
178
|
ValueAxis: Partial<ValueAxisParams>
|
164
179
|
}
|
165
180
|
|
166
|
-
export interface
|
167
|
-
|
181
|
+
export interface PresetStackedValueAxisParams {
|
182
|
+
StackedValueAxis: Partial<StackedValueAxisParams>
|
168
183
|
}
|
169
184
|
|
170
185
|
// -- multiGrid --
|
171
186
|
// multiGrid的全部plugin參數
|
172
187
|
export type PresetMultiGridPluginParams = PresetMultiBarsParams
|
173
|
-
&
|
188
|
+
& PresetMultiStackedBarParams
|
174
189
|
& PresetMultiBarsTriangleParams
|
175
190
|
& PresetMultiDotsParams
|
176
191
|
& PresetMultiGridLegendParams
|
@@ -179,12 +194,12 @@ export type PresetMultiGridPluginParams = PresetMultiBarsParams
|
|
179
194
|
& PresetMultiLineAreasParams
|
180
195
|
& PresetMultiLinesParams
|
181
196
|
& PresetMultiValueAxisParams
|
182
|
-
&
|
197
|
+
& PresetMultiStackedValueAxisParams
|
183
198
|
& PresetOverlappingValueAxesParams
|
184
|
-
&
|
199
|
+
& PresetOverlappingStackedValueAxesParams
|
185
200
|
|
186
201
|
// multiGrid分開grid
|
187
|
-
export type PresetMultiGridSepratedPluginParams = Omit<PresetMultiGridPluginParams, 'OverlappingValueAxes' | '
|
202
|
+
export type PresetMultiGridSepratedPluginParams = Omit<PresetMultiGridPluginParams, 'OverlappingValueAxes' | 'OverlappingStackedValueAxes'>
|
188
203
|
|
189
204
|
// multiGrid重疊grid
|
190
205
|
export type PresetMultiGridOverlappedPluginParams = Omit<PresetMultiGridPluginParams, 'PresetMultiGroupAxisParams' | 'PresetMultiValueAxisParams'>
|
@@ -193,8 +208,8 @@ export interface PresetMultiBarsParams {
|
|
193
208
|
MultiBars: Partial<MultiBarsParams>
|
194
209
|
}
|
195
210
|
|
196
|
-
export interface
|
197
|
-
|
211
|
+
export interface PresetMultiStackedBarParams {
|
212
|
+
MultiStackedBar: Partial<MultiStackedBarParams>
|
198
213
|
}
|
199
214
|
|
200
215
|
export interface PresetMultiBarsTriangleParams {
|
@@ -229,16 +244,83 @@ export interface PresetMultiValueAxisParams {
|
|
229
244
|
MultiValueAxis: Partial<MultiValueAxisParams>
|
230
245
|
}
|
231
246
|
|
232
|
-
export interface
|
233
|
-
|
247
|
+
export interface PresetMultiStackedValueAxisParams {
|
248
|
+
MultiStackedValueAxis: Partial<MultiStackedValueAxisParams>
|
234
249
|
}
|
235
250
|
|
236
251
|
export interface PresetOverlappingValueAxesParams {
|
237
252
|
OverlappingValueAxes: Partial<OverlappingValueAxesParams>
|
238
253
|
}
|
239
254
|
|
240
|
-
export interface
|
241
|
-
|
255
|
+
export interface PresetOverlappingStackedValueAxesParams {
|
256
|
+
OverlappingStackedValueAxes: Partial<OverlappingStackedValueAxesParams>
|
257
|
+
}
|
258
|
+
|
259
|
+
// -- multiValue --
|
260
|
+
export type PresetMultiValuePluginParams = PresetMultiValueLegendParams
|
261
|
+
& PresetMultiValueTooltipParams
|
262
|
+
& PresetScatterParams
|
263
|
+
& PresetScatterBubblesParams
|
264
|
+
& PresetXYAuxParams
|
265
|
+
& PresetXYAxesParams
|
266
|
+
& PresetXYZoomParams
|
267
|
+
|
268
|
+
export interface PresetMultiValueAxisParams {
|
269
|
+
MultiValueAxis: Partial<MultiValueAxisParams>
|
270
|
+
}
|
271
|
+
|
272
|
+
export interface PresetMultiStackedValueAxisParams {
|
273
|
+
MultiStackedValueAxis: Partial<MultiStackedValueAxisParams>
|
274
|
+
}
|
275
|
+
|
276
|
+
export interface PresetMultiValueLegendParams {
|
277
|
+
MultiValueLegend: Partial<MultiValueLegendParams>
|
278
|
+
}
|
279
|
+
|
280
|
+
export interface PresetMultiValueTooltipParams {
|
281
|
+
MultiValueTooltip: Partial<MultiValueTooltipParams>
|
282
|
+
}
|
283
|
+
|
284
|
+
export interface PresetScatterParams {
|
285
|
+
Scatter: Partial<ScatterParams>
|
286
|
+
}
|
287
|
+
|
288
|
+
export interface PresetScatterBubblesParams {
|
289
|
+
ScatterBubbles: Partial<ScatterBubblesParams>
|
290
|
+
}
|
291
|
+
|
292
|
+
export interface PresetXYAuxParams {
|
293
|
+
XYAux: Partial<XYAuxParams>
|
294
|
+
}
|
295
|
+
|
296
|
+
export interface PresetXYAxesParams {
|
297
|
+
XYAxes: Partial<XYAxesParams>
|
298
|
+
}
|
299
|
+
|
300
|
+
export interface PresetXYZoomParams {
|
301
|
+
XYZoom: Partial<XYZoomParams>
|
302
|
+
}
|
303
|
+
|
304
|
+
// -- relationship --
|
305
|
+
export type PresetRelationshipPluginParams = PresetForceDirectedParams
|
306
|
+
& PresetForceDirectedBubblesParams
|
307
|
+
& PresetRelationshipLegendParams
|
308
|
+
& PresetRelationshipTooltipParams
|
309
|
+
|
310
|
+
export interface PresetForceDirectedParams {
|
311
|
+
ForceDirected: DeepPartial<ForceDirectedParams>
|
312
|
+
}
|
313
|
+
|
314
|
+
export interface PresetForceDirectedBubblesParams {
|
315
|
+
ForceDirectedBubbles: DeepPartial<ForceDirectedBubblesParams>
|
316
|
+
}
|
317
|
+
|
318
|
+
export interface PresetRelationshipLegendParams {
|
319
|
+
RelationshipLegend: Partial<RelationshipLegendParams>
|
320
|
+
}
|
321
|
+
|
322
|
+
export interface PresetRelationshipTooltipParams {
|
323
|
+
RelationshipTooltip: Partial<RelationshipTooltipParams>
|
242
324
|
}
|
243
325
|
|
244
326
|
// -- tree --
|