react-financial-charts
Version:
React charts specific to finance.
28 lines (27 loc) • 870 B
TypeScript
import * as React from "react";
interface AreaOnlySeriesProps {
readonly base?: number | ((yScale: any, d: [number, number], moreProps: any) => number);
readonly canvasClip?: any;
readonly canvasGradient?: any;
readonly className?: string;
readonly defined?: any;
readonly fill?: string;
readonly opacity?: number;
readonly interpolation?: any;
readonly stroke?: string;
readonly style?: React.CSSProperties;
readonly yAccessor: (data: any) => number;
}
export declare class AreaOnlySeries extends React.Component<AreaOnlySeriesProps> {
static defaultProps: {
className: string;
fill: string;
opacity: number;
defined: (d: any) => boolean;
base: (yScale: any) => any;
};
render(): JSX.Element;
private readonly renderSVG;
private readonly drawOnCanvas;
}
export {};