react-financial-charts
Version:
React charts specific to finance.
49 lines (48 loc) • 1.31 kB
TypeScript
import * as React from "react";
interface MACDSeriesProps {
readonly className?: string;
readonly clip?: boolean;
readonly divergenceStroke?: boolean;
readonly fill?: {
divergence: string | any;
};
readonly opacity?: number;
readonly stroke?: {
macd: string;
signal: string;
};
readonly widthRatio?: number;
readonly width?: number | any;
readonly yAccessor?: any;
readonly zeroLineStroke?: string;
readonly zeroLineOpacity?: number;
}
export declare class MACDSeries extends React.Component<MACDSeriesProps> {
static defaultProps: {
className: string;
clip: boolean;
divergenceStroke: boolean;
fill: {
divergence: string;
};
opacity: number;
stroke: {
macd: string;
signal: string;
};
widthRatio: number;
width: (props: {
widthRatio: number;
}, moreProps: {
xScale: any;
}) => number;
zeroLineStroke: string;
zeroLineOpacity: number;
};
render(): JSX.Element;
private readonly yAccessorForDivergenceBase;
private readonly yAccessorForDivergence;
private readonly yAccessorForSignal;
private readonly yAccessorForMACD;
}
export {};