@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
8 lines (7 loc) • 668 B
TypeScript
import { ISeparators } from "@gooddata/numberjs";
import { IPointData } from "../../../interfaces/Config";
export declare const TOOLTIP_MAX_WIDTH = 320;
export declare function formatValueForTooltip(val: string | number, format: string, separators?: ISeparators): string;
export declare function getFormattedValueForTooltip(isDualChartWithRightAxis: boolean, stackMeasuresToPercent: boolean, point: IPointData, separators?: ISeparators, percentageValue?: number): string;
export declare const isTooltipShownInFullScreen: () => boolean;
export declare const getTooltipContentWidth: (isFullScreenTooltip: boolean, chartWidth: number, tooltipMaxWidth: number) => number;