react-financial-charts
Version:
React charts specific to finance.
41 lines (40 loc) • 1.16 kB
TypeScript
/// <reference types="d3-format" />
import * as React from "react";
import { default as defaultDisplayValuesFor } from "./displayValuesFor";
interface StochasticTooltipProps {
readonly origin: number[] | any;
readonly className?: string;
readonly fontFamily?: string;
readonly fontSize?: number;
readonly labelFill?: string;
readonly onClick?: any;
readonly yAccessor: any;
readonly options: {
windowSize: number;
kWindowSize: number;
dWindowSize: number;
};
readonly appearance: {
stroke: {
dLine: string;
kLine: string;
};
};
readonly displayFormat: any;
readonly displayValuesFor?: any;
readonly label: string;
}
export declare class StochasticTooltip extends React.Component<StochasticTooltipProps> {
static defaultProps: {
displayFormat: (n: number | {
valueOf(): number;
}) => string;
displayValuesFor: typeof defaultDisplayValuesFor;
origin: number[];
className: string;
label: string;
};
render(): JSX.Element;
private readonly renderSVG;
}
export {};