| 1234567891011121314151617181920 |
- import type { CallbackableObject, Vector2 } from '../../../types';
- import type { AxisDatumCP, AxisStyleProps, Direction, RequiredAxisStyleProps } from '../types';
- export declare function getCallbackStyle<T extends {
- [keys: string]: any;
- }, P extends Array<any> = []>(style: CallbackableObject<T, AxisDatumCP<P>>, params: AxisDatumCP<P>): {
- [k: string]: T_1;
- };
- export declare function baseDependencies(attr: Required<AxisStyleProps>): any[];
- export declare function filterExec<T>(data: T[], filter?: (...args: any) => boolean): T[];
- /** ---- to avoid cycle dependency */
- export declare const getLineAngle: {
- (...args: any[]): any;
- cache: Map<any, any>;
- };
- export declare const getLineTangentVector: {
- (...args: any[]): any;
- cache: Map<any, any>;
- };
- export declare function getDirectionVector(value: number, direction: Direction, attr: RequiredAxisStyleProps): Vector2;
- export declare function getLabelVector(value: number, attr: Required<AxisStyleProps>): Vector2;
|