import { ScaleLinear } from 'd3-scale'; import { SelectionType } from '../HistogramParams.js'; import { ChartAxes, HistogramData } from '../utils/HistogramUtils.js'; import { AbstractChart } from './AbstractChart.js'; export declare class ChartCurve extends AbstractChart { /** Replots the chart with new dimensions + repositionates selected areas correctly */ resize(histogramContainer: HTMLElement): void; plot(inputData: HistogramData[]): void; protected onSelectionClick(): void; protected addSelectionBrush(selectionType: SelectionType, chartAxes: ChartAxes, leftOffset: number): void; protected createNormalizeYDomain(): ScaleLinear; /** * @override For areas charts, removes the line behind the hovered bucket of the histogram + removes the circle on the hovered bucket */ protected clearTooltipCursor(): void; protected drawTooltipCursor(data: Array, axes: ChartAxes, chartIsToSides?: Map): void; protected createYDomain(data: Array): ScaleLinear; protected createChartNormalizeLeftAxes(): void; protected createChartYLeftAxes(data: Array): void; protected createChartYRightAxes(data: Array): void; protected drawChartAxes(chartAxes: ChartAxes, leftOffset: number): void; /** * Draws a curve linking the data array buckets. * @param chartId Identifier of the chart. * @param data Histogram bucket array. Buckets must be validated before. * @param line D3 line generator to plot the curves * @param dashed Whether the curves shall be dashed or solid * @param fixedSelectionClipPath Clip path applied to the fixed selections. * @param currentSelectionClipPath Clip path applied to the current selections. */ private plotCurves; protected plotChart(data: Array, domain?: ScaleLinear, normalize?: boolean): void; protected applyStyleOnSelection(): void; protected getStartPosition(data: Array, index: number): number; protected getEndPosition(data: Array, index: number): number; /** * @deprecated */ protected setTooltipXposition(xPosition: number): number; /** * @deprecated */ protected setTooltipYposition(yPosition: number): number; private normalize; private createClipperContext; }