react-financial-charts
Version:
React charts specific to finance.
77 lines (76 loc) • 2.24 kB
TypeScript
import * as React from "react";
interface EquidistantChannelProps {
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 hoverText: object;
readonly channels: any[];
readonly appearance: {
stroke: string;
strokeOpacity: number;
strokeWidth: number;
fill: string;
fillOpacity: number;
edgeStroke: string;
edgeFill: string;
edgeFill2: string;
edgeStrokeWidth: number;
r: number;
};
}
interface EquidistantChannelState {
current?: any;
override?: any;
}
export declare class EquidistantChannel extends React.Component<EquidistantChannelProps, EquidistantChannelState> {
static defaultProps: {
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;
};
channels: never[];
appearance: {
stroke: string;
strokeOpacity: number;
strokeWidth: number;
fill: string;
fillOpacity: number;
edgeStroke: string;
edgeFill: string;
edgeFill2: string;
edgeStrokeWidth: number;
r: number;
};
};
private terminate;
private saveNodeType;
private getSelectionState;
private mouseMoved;
constructor(props: any);
render(): JSX.Element;
private readonly handleDragChannel;
private readonly handleDragChannelComplete;
private readonly handleStart;
private readonly handleEnd;
private readonly handleDrawChannel;
}
export {};