touchstudy-core 0.1.187 → 0.1.189

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.
@@ -3,11 +3,11 @@ interface Props {
3
3
  id: string;
4
4
  myData: number[];
5
5
  avgData: number[];
6
- categories: string[];
6
+ categories: any[];
7
7
  height?: number;
8
8
  isPrint?: boolean;
9
9
  customTooltip?: (val: any) => string;
10
- xAxisLabelFormatter?: (val: string, option: any) => string;
10
+ xAxisLabelFormatter?: (val: string, option: any) => any;
11
11
  onRendered?: () => void;
12
12
  }
13
13
  declare const HexagonChart: FC<Props>;
@@ -3,10 +3,10 @@ export interface CategoriesOverallChartContainerProps {
3
3
  isLoading: boolean;
4
4
  myData: number[];
5
5
  avgData: number[];
6
- shortCategories: string[];
6
+ shortCategories: any[];
7
7
  isPrint?: boolean;
8
8
  formatTooltip: (val: any) => string;
9
- xAxisLabelFormatter: (val: string, option: any) => string;
9
+ xAxisLabelFormatter?: (val: string, option: any) => any;
10
10
  onRendered?: () => void;
11
11
  }
12
12
  declare const CategoriesOverallChartContainer: FC<CategoriesOverallChartContainerProps>;
@@ -3,10 +3,10 @@ export interface OverallChartContainerProps {
3
3
  isLoading: boolean;
4
4
  myData: number[];
5
5
  avgData: number[];
6
- shortCategories: string[];
6
+ shortCategories: any[];
7
7
  isPrint?: boolean;
8
8
  formatTooltip: (val: any) => string;
9
- xAxisLabelFormatter: (val: string, option: any) => string;
9
+ xAxisLabelFormatter?: (val: string, option: any) => any;
10
10
  onRendered?: () => void;
11
11
  }
12
12
  declare const OverallChartContainer: FC<OverallChartContainerProps>;
@@ -146,7 +146,6 @@ export declare const DEFAULT_HEXAGON_OPTIONS: {
146
146
  fontFamily: string;
147
147
  colors: string[];
148
148
  };
149
- formatter: (val: string) => string;
150
149
  };
151
150
  };
152
151
  colors: string[];
@@ -3,7 +3,7 @@ declare const useCategoriesOverallChartContainer: (isStudent: boolean, examCode:
3
3
  myData: number[];
4
4
  avgData: number[];
5
5
  shortCategories: string[];
6
- xAxisLabelFormatter: (_: string, { dataPointIndex }: any) => string;
6
+ xAxisLabelFormatter: (_: string, { dataPointIndex }: any) => string | string[][];
7
7
  formatTooltip: ({ dataPointIndex, w }: any) => string;
8
8
  };
9
9
  export default useCategoriesOverallChartContainer;