@advt-gpt-chart/package 3.0.6 → 3.0.8
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/Chart/ChartControllers/TimeRange/utils.d.ts +1 -0
- package/dist/Chart/Dataset/useDataset.d.ts +1 -1
- package/dist/GPTVis/hooks/useChartStore.d.ts +0 -1
- package/dist/index.es.js +15360 -15353
- package/dist/index.es.js.gz +0 -0
- package/dist/index.umd.js +631 -631
- package/dist/index.umd.js.gz +0 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -55,6 +55,7 @@ export declare const getMql2TimeRange: (timeRange: TimeRange, dataSource: DataSo
|
|
|
55
55
|
to: any;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
+
export declare const formatCustomTimeRange: (timeRange?: TimeRange) => TimeRange | undefined;
|
|
58
59
|
export declare const emptyTimeRange: {
|
|
59
60
|
type: string;
|
|
60
61
|
basic: string;
|
|
@@ -64,7 +64,7 @@ export declare const transform2FillAndMegreData: (data: any[] | undefined, field
|
|
|
64
64
|
isColumnMegred: boolean;
|
|
65
65
|
megreColumnName: string | undefined;
|
|
66
66
|
};
|
|
67
|
-
export declare const mergeDataByDimensions: (data: Record<string, any>[], fieldInfo: FieldInfoItem[], type: ChartType, dimensions?: string[]) => {
|
|
67
|
+
export declare const mergeDataByDimensions: (data: Record<string, any>[], fieldInfo: FieldInfoItem[], type: ChartType, dimensions?: string[], metrics?: string[]) => {
|
|
68
68
|
data: {
|
|
69
69
|
[x: string]: any;
|
|
70
70
|
}[];
|