UNPKG

@nova-ui/charts

Version:

Nova Charts is a library created to provide potential consumers with solutions for various data visualizations that conform with the Nova Design Language. It's designed to solve common patterns identified by UX designers, but also be very flexible so that

16 lines (15 loc) 894 B
import { IXYScales } from "../../../core/common/scales/types"; import { IRectangleAccessors } from "../../accessors/rectangle-accessors"; import { IRenderSeries } from "../../types"; import { BarRenderer } from "../bar-renderer"; import { BarHighlightStrategy, SelectedDatPointIdxFn } from "./bar-highlight-strategy"; export declare class BarHighlightStrategyOutline extends BarHighlightStrategy { private outlineAdd; private outlineElsMap; /** * @param scaleKey scale that will be used for searching for the data point that will be highlighted * @param levels for band scales, how many levels deep do we go to compare values */ constructor(scaleKey: keyof IXYScales, levels?: number, selectedDataPointIdxFn?: SelectedDatPointIdxFn); highlightDataPoint(renderer: BarRenderer, renderSeries: IRenderSeries<IRectangleAccessors>, dataPointIndex: number): void; }