UNPKG

victory-core

Version:
10 lines 702 B
import * as d3Scale from "victory-vendor/d3-scale"; import { D3Scale, ScaleName } from "../types/prop-types"; export declare function validScale(scale: string | D3Scale): scale is ScaleName | D3Scale; export declare function getScaleFromName(name: ScaleName | string): D3Scale; export declare function getBaseScale(props: any, axis: "x" | "y"): D3Scale<any>; export declare function getDefaultScale(): d3Scale.ScaleLinear<number, number, never>; export declare function getScaleFromProps(props: any, axis: any): D3Scale | undefined; export declare function getScaleType(props: any, axis: any): string; export declare function getType(scale: any): string | undefined; //# sourceMappingURL=scale.d.ts.map