import { ColumnBarBase, ColumnBarBaseConfig, ColumnBarBaseInstance } from "./ColumnBarBase"; import { Rect } from "../svg/util/Rect"; import { RenderingContext } from "../ui/RenderingContext"; import { NumberProp, BooleanProp } from "../ui/Prop"; export interface BarConfig extends ColumnBarBaseConfig { /** Base value. Default value is `0`. */ x0?: NumberProp; /** Size (height) of the bar in axis units. */ size?: NumberProp; /** Set to true to auto calculate size and offset. Available only if the y axis is a category axis. */ autoSize?: BooleanProp; /** Alias for size. */ height?: number; /** Hide the base of the bar (x0). */ hiddenBase?: boolean; } export declare class Bar extends ColumnBarBase { x0: number; size: number; autoSize: boolean; height: number; hiddenBase: boolean; constructor(config: BarConfig); init(): void; declareData(...args: any[]): any; checkValid(data: any): boolean; explore(context: RenderingContext, instance: ColumnBarBaseInstance): void; calculateRect(instance: ColumnBarBaseInstance): Rect; } //# sourceMappingURL=Bar.d.ts.map