react-financial-charts
Version:
React charts specific to finance.
70 lines (69 loc) • 1.68 kB
TypeScript
import * as React from "react";
import { strokeDashTypes } from "../utils";
interface AlternatingFillAreaSeriesProps {
readonly baseAt: number;
readonly className?: string;
readonly fill?: {
top: string;
bottom: string;
};
readonly fillOpacity?: {
top: number;
bottom: number;
};
readonly interpolation?: any;
readonly stroke?: {
top: string;
bottom: string;
};
readonly strokeWidth?: {
top: number;
bottom: number;
};
readonly strokeOpacity?: {
top: number;
bottom: number;
};
readonly strokeDasharray?: {
top: strokeDashTypes;
bottom: strokeDashTypes;
};
readonly yAccessor: (data: any) => number;
}
export declare class AlternatingFillAreaSeries extends React.Component<AlternatingFillAreaSeriesProps> {
static defaultProps: {
className: string;
fill: {
top: string;
bottom: string;
};
fillOpacity: {
top: number;
bottom: number;
};
stroke: {
top: string;
bottom: string;
};
strokeWidth: {
top: number;
bottom: number;
};
strokeOpacity: {
top: number;
bottom: number;
};
strokeDasharray: {
top: strokeDashTypes;
bottom: strokeDashTypes;
};
};
private clipPathId1;
private clipPathId2;
render(): JSX.Element;
private readonly baseAt;
private readonly renderClip;
private readonly bottomClip;
private readonly topClip;
}
export {};