ag-charts-community
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
20 lines (19 loc) • 867 B
TypeScript
import { AbstractModuleInstance, type DynamicContext } from 'ag-charts-core';
import type { LayoutCompleteEvent } from '../../core/eventsHub';
import type { ChartRegistry } from '../../module/moduleContext';
import { Group } from '../../scene/group';
import { Rect } from '../../scene/shape/rect';
import { Text } from '../../scene/shape/text';
export declare class Background<TImage = never> extends AbstractModuleInstance {
protected readonly ctx: DynamicContext<ChartRegistry>;
protected readonly node: Group<unknown>;
protected readonly rectNode: Rect<unknown>;
protected readonly textNode: Text<unknown>;
visible: boolean;
fill?: string;
image?: TImage;
text?: string;
constructor(ctx: DynamicContext<ChartRegistry>);
protected createNode(): Group<unknown>;
protected onLayoutComplete(e: LayoutCompleteEvent): void;
}