import { BoundedObject, BoundedObjectConfig, BoundedObjectInstance, SvgRenderingContext } from "../svg/BoundedObject"; import { Axis } from "./axis/Axis"; import type { NumericAxis } from "./axis/NumericAxis"; import type { CategoryAxis } from "./axis/CategoryAxis"; import type { TimeAxis } from "./axis/TimeAxis"; import { Create } from "../util/Component"; /** Typed context interface for chart-related context properties */ export interface ChartRenderingContext extends SvgRenderingContext { axes?: Record; } export interface ChartConfig extends BoundedObjectConfig { /** Axis definition. Each key represent an axis, and each value hold axis configuration. */ axes?: Record | Create | Create | Create>; /** Put axes over data series. */ axesOnTop?: boolean; } export interface ChartInstance extends BoundedObjectInstance { calculators: Record; axes: Record; } export declare class Chart extends BoundedObject { axes: Record; axesOnTop: boolean; constructor(config?: ChartConfig); init(): void; explore(context: ChartRenderingContext, instance: ChartInstance): void; exploreCleanup(context: ChartRenderingContext, instance: ChartInstance): void; prepare(context: ChartRenderingContext, instance: ChartInstance): void; prepareCleanup(context: ChartRenderingContext, instance: ChartInstance): void; render(context: ChartRenderingContext, instance: ChartInstance, key: string): any[]; } //# sourceMappingURL=Chart.d.ts.map