victory-core
Version:
28 lines • 982 B
TypeScript
import { VictoryLabelProps } from "../victory-label/victory-label";
export declare function getText(props: any, datum: VictoryLabelProps["datum"], index: any): any;
export declare function getPolarTextAnchor(props: any, degrees: any): "end" | "start" | "middle";
export declare function getPolarVerticalAnchor(props: any, degrees: any): "end" | "start" | "middle";
export declare function getPolarAngle(props: any, baseAngle?: any): number;
export declare function getDegrees(props: any, datum: any): number;
export declare function getProps(props: any, index: any): {
angle: any;
data: any;
datum: any;
disableInlineStyles: any;
horizontal: any;
index: any;
polar: any;
scale: any;
labelPlacement: any;
text: any;
textAnchor: any;
verticalAnchor: any;
x: number;
y: number;
dx: number | undefined;
dy: number | undefined;
width: any;
height: any;
style: any;
};
//# sourceMappingURL=label-helpers.d.ts.map