react-financial-charts
Version:
React charts specific to finance.
77 lines (76 loc) • 2 kB
TypeScript
import * as React from "react";
import { strokeDashTypes } from "../utils";
interface RSISeriesProps {
readonly className?: string;
readonly yAccessor: any;
readonly stroke?: {
line: strokeDashTypes;
top: string;
middle: string;
bottom: string;
outsideThreshold: string;
insideThreshold: string;
};
readonly opacity?: {
top: number;
middle: number;
bottom: number;
};
readonly strokeDasharray?: {
line: strokeDashTypes;
top: strokeDashTypes;
middle: strokeDashTypes;
bottom: strokeDashTypes;
};
readonly strokeWidth?: {
outsideThreshold: number;
insideThreshold: number;
top: number;
middle: number;
bottom: number;
};
readonly overSold?: number;
readonly middle?: number;
readonly overBought?: number;
}
export declare class RSISeries extends React.Component<RSISeriesProps> {
static defaultProps: {
className: string;
stroke: {
line: string;
top: string;
middle: string;
bottom: string;
outsideThreshold: string;
insideThreshold: string;
};
opacity: {
top: number;
middle: number;
bottom: number;
};
strokeDasharray: {
line: strokeDashTypes;
top: strokeDashTypes;
middle: strokeDashTypes;
bottom: strokeDashTypes;
};
strokeWidth: {
outsideThreshold: number;
insideThreshold: number;
top: number;
middle: number;
bottom: number;
};
overSold: number;
middle: number;
overBought: number;
};
private clipPathId1;
private clipPathId2;
render(): JSX.Element;
private readonly renderClip;
private readonly mainClip;
private readonly topAndBottomClip;
}
export {};