@advt-gpt-chart/package 3.0.6 → 3.0.7

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.
@@ -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
  }[];
@@ -29,7 +29,6 @@ export interface DetailData {
29
29
  loading?: boolean;
30
30
  }
31
31
  export interface ChartControllersConfig extends ChartControllersState {
32
- dataFormat?: any;
33
32
  }
34
33
  export interface VizChartState {
35
34
  theme: string;