All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.components.axes.grid.d.ts Maven / Gradle / Ivy

import { Component } from '../component';
import { RenderTypes } from '../../interfaces/enums';
export declare class Grid extends Component {
    type: string;
    renderType: RenderTypes;
    backdrop: any;
    render(animate?: boolean): void;
    drawXGrid(animate: boolean): void;
    drawYGrid(animate: boolean): void;
    /**
     * Returns the threshold for the gridline tooltips based on the mouse location.
     * Calculated based on the mouse position between the two closest gridlines or edges of chart.
     */
    getGridlineThreshold(mousePos: any): number;
    /**
     * Returns the active gridlines based on the gridline threshold and mouse position.
     * @param position mouse positon
     */
    getActiveGridline(position: any): import('d3-selection').Selection;
    drawBackdrop(isXGridEnabled: boolean, isYGridEnabled: boolean): void;
    cleanGrid(g: any): void;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy