react-financial-charts
Version:
React charts specific to finance.
40 lines (39 loc) • 1.13 kB
TypeScript
import * as React from "react";
interface OverlayBarSeriesProps {
readonly baseAt?: number | any;
readonly direction?: "up" | "down";
readonly stroke?: boolean;
readonly width?: any;
readonly widthRatio?: number;
readonly opacity?: number;
readonly fill?: string | any;
readonly className?: string | any;
readonly xAccessor?: any;
readonly yAccessor?: any[];
readonly xScale?: any;
readonly yScale?: any;
readonly plotData?: number[];
readonly clip?: boolean;
}
export declare class OverlayBarSeries extends React.Component<OverlayBarSeriesProps> {
static defaultProps: {
baseAt: (xScale: any, yScale: any) => any;
direction: string;
className: string;
stroke: boolean;
fill: string;
opacity: number;
widthRatio: number;
width: (props: {
widthRatio: number;
}, moreProps: {
xScale: any;
}) => number;
clip: boolean;
};
render(): JSX.Element;
private readonly renderSVG;
private readonly drawOnCanvas;
private readonly getBars;
}
export {};