import { SelectionType } from '../HistogramParams.js'; import { ChartAxes, HistogramData, HistogramSVGG } from '../utils/HistogramUtils.js'; import { AbstractChart } from './AbstractChart.js'; export declare class ChartBars extends AbstractChart { private strippedBarsContext; private headBandsContext; plot(inputData: Array): void; resize(histogramContainer: HTMLElement): void; /** Plots headbands on the top of each bar. A headband is small rectangle (that forms a band) * on top of each bar. Those headbands are added for styling purposes */ protected plotHeadBand(data: Array, axes: ChartAxes, barWeight?: number): void; /** Plots 3 rectangles behind data bars and selection brush. This rectangles are clippable in order to make a specific style for * - non selected parts of the chart * - current selected part * - already selected parts */ protected plotBackground(): void; protected plotChart(data: Array): void; protected createChartAxes(data: Array): void; protected drawChartAxes(chartAxes: ChartAxes, leftOffset: number): void; protected addSelectionBrush(selectionType: SelectionType, chartAxes: ChartAxes, leftOffset: number): void; protected applyStyleOnSelection(): void; /** * Draws a indicator behind the hovered bucket of the histogram. This has as objective to highlight it on the histogram * @override For bars charts, a grey rectangle is drawn behind the bucket * @param data * @param axes */ protected drawTooltipCursor(data: Array, axes: ChartAxes): void; /** * @override For bars charts, removes the rectangle behind the hovered bucket of the histogram */ protected clearTooltipCursor(): void; protected applyStyleOnHeadBand(headBandContext: HistogramSVGG): void; protected applyStyleOnStrippedSelectedBars(barsContext: HistogramSVGG): void; protected getStartPosition(data: Array, index: number): number; protected getEndPosition(data: Array, index: number): number; protected setTooltipXposition(xPosition: number): number; protected setTooltipYposition(yPosition: number): number; protected getAxes(): ChartAxes; private getHeadBandCssName; private createClipperContext; }