/** @jsxImportSource react */ import { ColumnBarGraphBase, ColumnBarGraphBaseConfig, ColumnBarGraphBaseInstance } from "./ColumnBarGraphBase"; import { TooltipParentInstance } from "../widgets/overlay/tooltip-ops"; import { RenderingContext } from "../ui/RenderingContext"; import { NumberProp } from "../ui/Prop"; export interface BarGraphConfig extends ColumnBarGraphBaseConfig { /** * Name of the property which holds the base value. * Default value is `false`, which means x0 value is not read from the data array. */ x0Field?: string | false; /** Bar base value. Default value is `0`. */ x0?: NumberProp; /** Hide the base of the bar (x0). */ hiddenBase?: boolean; /** Tooltip configuration. */ tooltip?: any; } export interface BarGraphInstance extends ColumnBarGraphBaseInstance, TooltipParentInstance { } export declare class BarGraph extends ColumnBarGraphBase { x0Field: string | false; x0: number; hiddenBase: boolean; tooltip: any; constructor(config: BarGraphConfig); explore(context: RenderingContext, instance: BarGraphInstance): void; renderGraph(context: RenderingContext, instance: BarGraphInstance): React.ReactNode; } //# sourceMappingURL=BarGraph.d.ts.map