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