react-financial-charts
Version:
React charts specific to finance.
36 lines (35 loc) • 1.1 kB
TypeScript
/// <reference types="d3-format" />
import * as React from "react";
import { default as defaultDisplayValuesFor } from "./displayValuesFor";
interface BollingerBandTooltipProps {
readonly className?: string;
readonly displayFormat: any;
readonly displayValuesFor?: any;
readonly fontFamily?: string;
readonly fontSize?: number;
readonly labelFill?: string;
readonly onClick?: any;
readonly options: {
movingAverageType: string;
multiplier: number;
sourcePath: string;
windowSize: number;
};
readonly origin?: number[];
readonly textFill?: string;
readonly yAccessor?: any;
}
export declare class BollingerBandTooltip extends React.Component<BollingerBandTooltipProps> {
static defaultProps: {
className: string;
displayFormat: (n: number | {
valueOf(): number;
}) => string;
displayValuesFor: typeof defaultDisplayValuesFor;
origin: number[];
yAccessor: (data: any) => any;
};
render(): JSX.Element;
private readonly renderSVG;
}
export {};