UNPKG

ag-charts-community

Version:

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

17 lines (16 loc) 692 B
import type { DynamicContext } from 'ag-charts-core'; import type { LayoutCompleteEvent } from '../core/eventsHub'; import type { ChartRegistry } from '../module/moduleContext'; import { ChartCaption } from './chartCaption'; import type { LayoutContext } from './layout/layoutManager'; export declare class ChartCaptions { readonly title: ChartCaption; readonly subtitle: ChartCaption; readonly footnote: ChartCaption; constructor(ctx: DynamicContext<ChartRegistry>); positionCaptions({ layoutBox }: LayoutContext): void; positionAbsoluteCaptions(ctx: LayoutCompleteEvent): void; private computeX; private positionCaption; private shrinkLayoutByCaption; }