UNPKG

react-financial-charts

Version:
44 lines (43 loc) 1.18 kB
import * as React from "react"; interface LabelAnnotationProps { readonly className?: string; readonly text?: string | any; readonly textAnchor?: string; readonly fontFamily?: string; readonly fontSize?: number; readonly opacity?: number; readonly rotate?: number; readonly onClick?: any; readonly xAccessor?: any; readonly xScale?: any; readonly yScale?: any; readonly datum?: object; readonly x?: number | any; readonly y?: number | any; } export declare class LabelAnnotation extends React.Component<LabelAnnotationProps> { static defaultProps: { className: string; textAnchor: string; fontFamily: string; fontSize: number; fill: string; opacity: number; rotate: number; x: ({ xScale, xAccessor, datum }: { xScale: any; xAccessor: any; datum: any; }) => any; }; render(): JSX.Element; private readonly handleClick; } export declare const helper: (props: any, xAccessor: any, xScale: any, yScale: any) => { xPos: any; yPos: any; text: any; fill: any; tooltip: any; }; export {};