@orbcharts/presets-basic 3.0.4 → 3.0.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.
- package/dist/orbcharts-presets-basic.es.js +276 -198
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/series/PRESET_PIE_GAUGE.d.ts +4 -0
- package/dist/src/series/index.d.ts +1 -0
- package/dist/src/types.d.ts +5 -2
- package/package.json +2 -2
- package/src/series/PRESET_PIE_GAUGE.ts +85 -0
- package/src/series/PRESET_PIE_SEPARATE_LABEL.ts +0 -1
- package/src/series/PRESET_ROSE_SEPARATE_LABEL.ts +1 -1
- package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +0 -1
- package/src/series/index.ts +1 -0
- package/src/types.ts +6 -0
package/src/types.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import type {
|
2
2
|
// -- series --
|
3
3
|
BubblesParams,
|
4
|
+
IndicatorParams,
|
4
5
|
PieParams,
|
5
6
|
PieEventTextsParams,
|
6
7
|
PieLabelsParams,
|
@@ -77,6 +78,7 @@ import type { DeepPartial } from '../lib/core-types'
|
|
77
78
|
// -- series --
|
78
79
|
// series的全部plugin參數
|
79
80
|
export type PresetSeriesPluginParams = PresetBubblesParams
|
81
|
+
& PresetIndicatorParams
|
80
82
|
& PresetPieParams
|
81
83
|
& PresetPieEventTextsParams
|
82
84
|
& PresetPieLabelsParams
|
@@ -89,6 +91,10 @@ export interface PresetBubblesParams {
|
|
89
91
|
Bubbles: DeepPartial<BubblesParams>
|
90
92
|
}
|
91
93
|
|
94
|
+
export interface PresetIndicatorParams {
|
95
|
+
Indicator: DeepPartial<IndicatorParams>
|
96
|
+
}
|
97
|
+
|
92
98
|
export interface PresetPieParams {
|
93
99
|
Pie: Partial<PieParams>
|
94
100
|
}
|