diff --git a/package.json b/package.json index f9a4c94e..07599ed1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-google-charts", - "version": "3.0.8", + "version": "3.0.9", "type": "react-component", "description": "react-google-charts React component", "main": "dist/index.cjs.js", diff --git a/src/types.ts b/src/types.ts index a4825736..844f08ee 100644 --- a/src/types.ts +++ b/src/types.ts @@ -130,16 +130,16 @@ export interface ChartWrapperOptions { title: string; backgroundColor: string; hAxis?: { - minValue?: number; - maxValue?: number; + minValue?: any; + maxValue?: any; ticks?: number[]; title?: string; viewWindow?: { max?: number; min?: number }; [otherOptionKey: string]: any; }; vAxis?: { - minValue?: number; - maxValue?: number; + minValue?: any; + maxValue?: any; ticks?: number[]; title?: string; viewWindow?: { max?: number; min?: number }; @@ -317,8 +317,8 @@ export type GoogleDataTableJS = { export type GoogleDataTableRowFilter = { column: number; value: any; - minValue?: number | null; - maxValue?: number | null; + minValue?: any; + maxValue?: any; }; export type GoogleDataTableSortColumns = @@ -429,16 +429,16 @@ export type GoogleChartOptions = { title?: string; hAxis?: { - minValue?: number; - maxValue?: number; + minValue?: any; + maxValue?: any; ticks?: number[]; title?: string; viewWindow?: { max?: number; min?: number; [otherOptionKey: string]: any }; [otherOptionKey: string]: any; }; vAxis?: { - minValue?: number; - maxValue?: number; + minValue?: any; + maxValue?: any; ticks?: number[]; title?: string; viewWindow?: { max?: number; min?: number; [otherOptionKey: string]: any };