import { PlotDrawableElement } from "../plot-drawable-element"; import Konva from "konva"; import { NumericDataRect, DataTransformation, NumericPoint } from "../../../../geometry"; import { Font } from "../../../../font"; import { BarsColoring } from "./bars-coloring"; import { AnimatedProperty } from "../../animated-property"; import { Color } from "../../../../color"; export declare class Bar extends PlotDrawableElement { private readonly boundsShape; private readonly textShape; relativeBounds: AnimatedProperty; private readonly labelFont; get animatedProperties(): Array>; constructor(metricId: string, dataPoint: NumericPoint, relativeBounds: NumericDataRect, coloring: BarsColoring, labelText: string | undefined, labelFont: Font, labelColor: Color); updateShapesForAnimationFrame(dataPoint: NumericPoint, dataTransformation: DataTransformation, visible: NumericDataRect, screen: NumericDataRect): void; private updateBarBoundingShape; setBarLabelText(text: string): void; private arrangeTextWithinBar; getBoundingRectangle(): NumericDataRect; } //# sourceMappingURL=bar.d.ts.map