UNPKG

ag-charts-enterprise

Version:

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

49 lines (48 loc) 2.1 kB
import { _ModuleSupport } from 'ag-charts-community'; import { type RangeAreaMarkerDatum } from './rangeAreaProperties'; export interface RangeAreaLabelDatum extends Readonly<_ModuleSupport.Point> { datumIndex: number; text: string; textAlign: CanvasTextAlign; textBaseline: CanvasTextBaseline; datum: any; itemId?: string; series: _ModuleSupport.CartesianSeriesNodeDatum['series']; } interface RangeAreaFillPathDatum { readonly spans: _ModuleSupport.LinePathSpan[]; readonly phantomSpans: _ModuleSupport.LinePathSpan[]; readonly itemId: string; } interface RangeAreaStrokePathDatum { readonly spans: _ModuleSupport.LinePathSpan[]; readonly itemId: string; } export interface RangeAreaContext extends _ModuleSupport.CartesianSeriesNodeDataContext<RangeAreaMarkerDatum, RangeAreaLabelDatum> { fillData: RangeAreaFillPathDatum; highStrokeData: RangeAreaStrokePathDatum; lowStrokeData: RangeAreaStrokePathDatum; } export declare function prepareRangeAreaPathAnimation(newData: RangeAreaContext, oldData: RangeAreaContext, diff: _ModuleSupport.ProcessedOutputDiff | undefined): { status: _ModuleSupport.NodeUpdateState; fill: { status: _ModuleSupport.NodeUpdateState; path: { addPhaseFn: (ratio: number, path: _ModuleSupport.Path<any>) => void; updatePhaseFn: (ratio: number, path: _ModuleSupport.Path<any>) => void; removePhaseFn: (ratio: number, path: _ModuleSupport.Path<any>) => void; }; pathProperties: _ModuleSupport.FromToFns<_ModuleSupport.Path<any>, any, unknown>; }; stroke: { status: _ModuleSupport.NodeUpdateState; path: { addPhaseFn: (ratio: number, path: _ModuleSupport.Path<any>) => void; updatePhaseFn: (ratio: number, path: _ModuleSupport.Path<any>) => void; removePhaseFn: (ratio: number, path: _ModuleSupport.Path<any>) => void; }; pathProperties: _ModuleSupport.FromToFns<_ModuleSupport.Path<any>, any, unknown>; }; hasMotion: boolean; } | undefined; export {};