ag-charts-types
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
17 lines (16 loc) • 747 B
TypeScript
import type { CssColor, DurationMs, Opacity } from './types';
export type AgFlashOnUpdateItem = 'chart' | 'category';
export interface AgFlashOnUpdateOptions {
/** Whether the flash effect is enabled. */
enabled?: boolean;
/** What part of the chart to flash. */
item?: AgFlashOnUpdateItem;
/** The fill colour of the flash effect. */
fill?: CssColor;
/** The fill opacity of the flash effect. */
fillOpacity?: Opacity;
/** The flash hold duration in milliseconds before fading begins. Actual timing may vary when animations are enabled. */
flashDuration?: DurationMs;
/** The fade-out duration in milliseconds. Actual timing may vary when animations are enabled. */
fadeOutDuration?: DurationMs;
}