UNPKG

ag-charts-enterprise

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

21 lines (20 loc) 855 B
import type { AgChartLabelFormatterParams, RichFormatter, _ModuleSupport } from 'ag-charts-community'; import { type NormalisedTextOrSegments } from 'ag-charts-core'; import type { AgNumericValue } from 'ag-charts-types'; interface GaugeLabelDatum { value: AgNumericValue; text?: NormalisedTextOrSegments; formatter?: RichFormatter<AgChartLabelFormatterParams<any>>; } interface Ctx { chartService: { context?: unknown; }; } export declare const fadeInFns: _ModuleSupport.FromToFns<_ModuleSupport.Node, any, any>; export declare function formatLabel(value: AgNumericValue | undefined, scale: { min: AgNumericValue; max: AgNumericValue; }): string; export declare function getLabelText(seriesId: string, ctx: Ctx, datum: GaugeLabelDatum, valueOverride?: AgNumericValue): NormalisedTextOrSegments | undefined; export {};