react-financial-charts
Version:
React charts specific to finance.
40 lines (39 loc) • 1.31 kB
TypeScript
import * as React from "react";
interface LinearRegressionChannelWithAreaProps {
readonly x1Value: any;
readonly x2Value: any;
readonly type: "SD" | // standard deviation channel
"Raff";
readonly interactiveCursorClass?: string;
readonly stroke: string;
readonly strokeWidth: number;
readonly fill: string;
readonly fillOpacity: number;
readonly strokeOpacity: number;
readonly onDragStart: any;
readonly onDrag: any;
readonly onDragComplete: any;
readonly onHover?: any;
readonly onUnHover?: any;
readonly defaultClassName?: string;
readonly tolerance: number;
readonly selected: boolean;
}
export declare class LinearRegressionChannelWithArea extends React.Component<LinearRegressionChannelWithAreaProps> {
static defaultProps: {
onDragStart: () => void;
onDrag: () => void;
onDragComplete: () => void;
type: string;
strokeWidth: number;
tolerance: number;
selected: boolean;
};
render(): JSX.Element;
private readonly renderSVG;
private readonly drawOnCanvas;
private readonly isHover;
}
export declare function edge1Provider(props: any): (moreProps: any) => any[];
export declare function edge2Provider(props: any): (moreProps: any) => any[];
export {};