UNPKG

ag-charts-community

Version:

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

12 lines (11 loc) 524 B
import type { AxisContext } from './axisContext'; import type { BaseOptionsModule, ModuleInstance } from './baseModule'; import type { ModuleContextWithParent } from './moduleContext'; type AxisType = 'category' | 'number' | 'log' | 'time' | 'ordinal-time'; export interface AxisOptionModule<M extends ModuleInstance = ModuleInstance> extends BaseOptionsModule { type: 'axis-option'; axisTypes: AxisType[]; moduleFactory: (ctx: ModuleContextWithParent<AxisContext>) => M; themeTemplate: object; } export {};