package.dist.components.axes.ruler.d.ts Maven / Gradle / Ivy
import { Selection } from 'd3';
import { Component } from '../component';
import { RenderTypes } from '../../interfaces/enums';
export type GenericSvgSelection = Selection;
export declare class Ruler extends Component {
type: string;
renderType: RenderTypes;
backdrop: GenericSvgSelection;
elementsToHighlight: GenericSvgSelection;
pointsWithinLine: {
domainValue: number;
originalData: any;
}[];
isXGridEnabled: any;
isYGridEnabled: any;
isEventListenerAdded: boolean;
render(animate?: boolean): void;
removeBackdropEventListeners(): void;
formatTooltipData(tooltipData: any): any;
showRuler(event: CustomEvent, [x, y]: [
number,
number
]): void;
hideRuler(): void;
/**
* Adds the listener on the X grid to trigger multiple point tooltips along the x axis.
*/
addBackdropEventListeners(): void;
drawBackdrop(): void;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy