UNPKG

react-financial-charts

Version:
81 lines (80 loc) 2.29 kB
import * as React from "react"; interface GannFanProps { readonly enabled: boolean; readonly onStart: any; readonly onComplete: any; readonly onSelect?: any; readonly currentPositionStroke?: string; readonly currentPositionStrokeWidth?: number; readonly currentPositionOpacity?: number; readonly currentPositionRadius?: number; readonly appearance: { stroke: string; strokeOpacity: number; fillOpacity: number; strokeWidth: number; edgeStroke: string; edgeFill: string; edgeStrokeWidth: number; r: number; fill: string[]; fontFamily: string; fontSize: number; fontFill: string; }; readonly hoverText: object; readonly fans: any[]; } interface GannFanState { current?: any; override?: any; } export declare class GannFan extends React.Component<GannFanProps, GannFanState> { static defaultProps: { appearance: { stroke: string; fillOpacity: number; strokeOpacity: number; strokeWidth: number; edgeStroke: string; edgeFill: string; edgeStrokeWidth: number; r: number; fill: string[]; fontFamily: string; fontSize: number; fontFill: string; }; onStart: () => void; onComplete: () => void; onSelect: () => void; currentPositionStroke: string; currentPositionOpacity: number; currentPositionStrokeWidth: number; currentPositionRadius: number; hoverText: { enable: boolean; bgHeight: number; bgWidth: number; text: string; fontFamily: string; fontSize: number; fill: string; bgFill: string; bgOpacity: number; }; fans: never[]; }; private mouseMoved; private getSelectionState; private saveNodeType; private terminate; constructor(props: any); render(): JSX.Element; private readonly handleEnd; private readonly handleStart; private readonly handleDrawFan; private readonly handleDragFanComplete; private readonly handleDragFan; } export {};