import { ChartHighlighter } from './ChartHighlighter'; import { Highlight } from './Highlight'; import { BarData } from '../data/BarData'; import { BarDataProvider } from '../interfaces/dataprovider/BarDataProvider'; import { IBarDataSet } from '../interfaces/datasets/IBarDataSet'; export declare class BarHighlighter extends ChartHighlighter { constructor(chart: BarDataProvider); protected getChartData(): BarData; getHighlight(x: number, y: number): Highlight[]; /** * This method creates the Highlight object that also indicates which value of a stacked BarEntry has been * selected. * * @param high the Highlight to work with looking for stacked values * @param set * @param xVal * @param yVal * @return */ getStackedHighlight(high: Highlight, set: IBarDataSet, touchX: any, touchY: any, xVal: any, yVal: any): Highlight; /** * Returns the index of the closest value inside the values array / ranges (stacked barchart) to the value * given as * a parameter. * * @param ranges * @param value * @return */ protected getClosestStackIndex(ranges: any[], value: any): number; protected getDistance(x1: any, y1: any, x2: any, y2: any): number; protected getData(): BarData; }