react-financial-charts
Version:
React charts specific to finance.
35 lines (34 loc) • 959 B
TypeScript
import * as React from "react";
interface BarSeriesProps {
readonly baseAt?: number | any;
readonly className?: number | any;
readonly clip?: boolean;
readonly fill?: number | any;
readonly opacity?: number;
readonly stroke?: boolean;
readonly swapScales?: boolean;
readonly width?: number | any;
readonly yAccessor: any;
}
export declare class BarSeries extends React.Component<BarSeriesProps> {
static defaultProps: {
baseAt: (xScale: any, yScale: any) => any;
direction: string;
className: string;
stroke: boolean;
fill: string;
opacity: number;
width: (props: {
widthRatio: number;
}, moreProps: {
xScale: any;
}) => number;
widthRatio: number;
clip: boolean;
swapScales: boolean;
};
render(): JSX.Element;
private readonly drawOnCanvas;
private readonly renderSVG;
}
export {};