react-financial-charts
Version:
React charts specific to finance.
64 lines (63 loc) • 1.65 kB
TypeScript
import * as React from "react";
interface MouseCoordinateYProps {
readonly arrowWidth?: number;
readonly at?: "bottom" | "top" | "left" | "right";
readonly displayFormat: any;
readonly dx?: number;
readonly fontFamily?: string;
readonly fontSize?: number;
readonly fill?: string;
readonly opacity?: number;
readonly orient?: "bottom" | "top" | "left" | "right";
readonly rectWidth?: number;
readonly rectHeight?: number;
readonly textFill?: string;
readonly yAxisPad?: number;
}
export declare class MouseCoordinateY extends React.Component<MouseCoordinateYProps> {
static defaultProps: {
arrowWidth: number;
yAxisPad: number;
rectWidth: number;
rectHeight: number;
orient: string;
at: string;
dx: number;
fill: string;
opacity: number;
fontFamily: string;
fontSize: number;
textFill: string;
strokeOpacity: number;
strokeWidth: number;
};
render(): JSX.Element;
private readonly renderSVG;
private readonly drawOnCanvas;
private readonly helper;
}
export declare function getYCoordinate(y: any, displayValue: any, props: any, moreProps: any): {
coordinate: any;
show: boolean;
type: string;
orient: any;
edgeAt: any;
hideLine: boolean;
fill: any;
opacity: any;
fontFamily: any;
fontSize: any;
textFill: any;
stroke: any;
strokeOpacity: any;
strokeWidth: any;
rectWidth: any;
rectHeight: any;
arrowWidth: any;
dx: any;
x1: number;
x2: any;
y1: any;
y2: any;
};
export {};