` tickFormat?: string | ((t: any, i: number) => any) | null; ` should it be ` tickFormat?: string | ((t: any, i: number, D:any) => any) | null; `