@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
25 lines (24 loc) • 799 B
TypeScript
import { ChartPlugin } from "../../common/chart-plugin";
import { IScale } from "../../common/scales/types";
/**
* Highlights the label on x-axis that corresponds to interaction position
*
* @class InteractionLabelPlugin
* @extends {ChartPlugin}
*/
export declare class InteractionLabelPlugin extends ChartPlugin {
private formatterName;
static LAYER_NAME: string;
areLabelUpdatesEnabled: boolean;
private isChartInView;
private lastInteractionValuesPayload;
private interactionLabelLayer;
private readonly destroy$;
private elBBox;
constructor(formatterName?: string);
initialize(): void;
protected handleLabelUpdate(): void;
protected updateLabel(scale: IScale<any>, value: any): void;
destroy(): void;
private buildInteractionLabel;
}