react-financial-charts
Version:
React charts specific to finance.
47 lines (46 loc) • 1.01 kB
TypeScript
import * as React from "react";
interface RenkoSeriesProps {
readonly classNames?: {
up: string;
down: string;
};
readonly stroke?: {
up: string;
down: string;
};
readonly fill?: {
up: string;
down: string;
partial: string;
};
readonly yAccessor?: any;
readonly clip?: boolean;
}
export declare class RenkoSeries extends React.Component<RenkoSeriesProps> {
static defaultProps: {
classNames: {
up: string;
down: string;
};
stroke: {
up: string;
down: string;
};
fill: {
up: string;
down: string;
partial: string;
};
yAccessor: (d: any) => {
open: any;
high: any;
low: any;
close: any;
};
clip: boolean;
};
render(): JSX.Element;
private readonly renderSVG;
private readonly drawOnCanvas;
}
export {};