react-financial-charts
Version:
React charts specific to finance.
42 lines (41 loc) • 1.33 kB
TypeScript
import * as React from "react";
import { strokeDashTypes } from "../utils";
interface ElderRaySeriesProps {
readonly bearPowerFill?: string;
readonly bullPowerFill?: string;
readonly className?: string;
readonly clip?: boolean;
readonly stroke?: boolean;
readonly strokeOpacity?: number;
readonly straightLineStroke?: string;
readonly straightLineOpacity?: number;
readonly straightLineStrokeDasharray?: strokeDashTypes;
readonly widthRatio?: number;
readonly yAccessor: (data: any) => {
bearPower: number;
bullPower: number;
};
}
export declare class ElderRaySeries extends React.Component<ElderRaySeriesProps> {
static defaultProps: {
bearPowerFill: string;
bullPowerFill: string;
className: string;
clip: boolean;
opacity: number;
stroke: boolean;
strokeOpacity: number;
straightLineStroke: string;
straightLineStrokeDasharray: string;
straightLineOpacity: number;
widthRatio: number;
};
render(): JSX.Element;
private readonly yAccessorBullTop;
private readonly yAccessorBearTop;
private readonly yAccessorBullBottom;
private readonly yAccessorBearBottom;
private readonly yAccessorForBarBase;
private readonly fillForEachBar;
}
export {};