react-financial-charts
Version:
React charts specific to finance.
45 lines (44 loc) • 1.39 kB
TypeScript
import * as React from "react";
import { strokeDashTypes } from "../utils";
interface LineSeriesProps {
readonly canvasClip?: any;
readonly className?: string;
readonly connectNulls?: boolean;
readonly defined?: any;
readonly fill?: string;
readonly highlightOnHover?: boolean;
readonly hoverStrokeWidth?: number;
readonly hoverTolerance?: number;
readonly interpolation?: any;
readonly onClick?: any;
readonly onDoubleClick?: any;
readonly onHover?: any;
readonly onUnHover?: any;
readonly onContextMenu?: any;
readonly stroke?: string;
readonly strokeDasharray?: strokeDashTypes;
readonly strokeOpacity?: number;
readonly strokeWidth?: number;
readonly style?: React.CSSProperties;
readonly yAccessor: (data: any) => number;
}
export declare class LineSeries extends React.Component<LineSeriesProps> {
static defaultProps: {
className: string;
strokeWidth: number;
strokeOpacity: number;
hoverStrokeWidth: number;
fill: string;
stroke: string;
strokeDasharray: string;
defined: (d: any) => boolean;
hoverTolerance: number;
highlightOnHover: boolean;
connectNulls: boolean;
};
render(): JSX.Element;
private readonly renderSVG;
private readonly drawOnCanvas;
private readonly isHover;
}
export {};