win-chart 2.7.2 → 2.7.3

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.
@@ -1,5 +1,9 @@
1
- export declare const mockData: {
1
+ export declare const mockData: ({
2
2
  type: string;
3
3
  label: string;
4
4
  value: string;
5
- }[];
5
+ } | {
6
+ label: string;
7
+ type: string;
8
+ value?: undefined;
9
+ })[];
@@ -74,3 +74,9 @@ export declare const mergeSeriesOption: (option: echarts.EChartsOption, seriesOp
74
74
  * @returns
75
75
  */
76
76
  export declare const getLabelColor: (opt: Partial<IWinChartProps>) => "rgba(255, 255, 255, 0.7)" | "rgba(0, 0, 0, 0.7)";
77
+ /**
78
+ * 计算堆叠图汇总数据
79
+ * @param data
80
+ * @returns
81
+ */
82
+ export declare function aggregateStackData(data: IChartInfo[]): number[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "win-chart",
3
- "version": "2.7.2",
3
+ "version": "2.7.3",
4
4
  "description": "菜鸟地网统一图表组件",
5
5
  "files": [
6
6
  "dist"