UNPKG

react-financial-charts

Version:
42 lines (41 loc) 1.22 kB
import * as React from "react"; interface MouseCoordinateXProps { readonly displayFormat: any; readonly yAxisPad?: number; readonly rectWidth?: number; readonly rectHeight?: number; readonly orient?: "bottom" | "top" | "left" | "right"; readonly at?: "bottom" | "top" | "left" | "right"; readonly fill?: string; readonly opacity?: number; readonly fontFamily?: string; readonly fontSize?: number; readonly textFill?: string; readonly snapX?: boolean; } export declare class MouseCoordinateX extends React.Component<MouseCoordinateXProps> { static defaultProps: { yAxisPad: number; rectWidth: number; rectHeight: number; strokeOpacity: number; strokeWidth: number; orient: string; at: string; fill: string; opacity: number; fontFamily: string; fontSize: number; textFill: string; snapX: boolean; customX: (props: MouseCoordinateXProps, moreProps: any) => { x: any; coordinate: any; }; }; render(): JSX.Element; private readonly drawOnCanvas; private readonly renderSVG; private readonly helper; } export {};