ag-charts-enterprise
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
10 lines (9 loc) • 418 B
TypeScript
import type { Formatter, RichFormatter, TextOrSegments, TextValue } from 'ag-charts-community';
interface Ctx {
chartService: {
context?: unknown;
};
}
export declare function formatWithContext<P>(ctx: Ctx, formatter: Formatter<P>, params: P): TextValue | undefined;
export declare function formatWithContext<P>(ctx: Ctx, formatter: RichFormatter<P>, params: P): TextOrSegments | undefined;
export {};