/// import { ElementRef, Renderer, IterableDiffers } from "@angular/core"; import { IgControlBase } from "../igcontrolbase/igcontrolbase"; export declare class IgLinearGaugeComponent extends IgControlBase { constructor(el: ElementRef, renderer: Renderer, differs: IterableDiffers); /** * Returns a string containing the names of all the ranges delimited with a \n symbol. */ getRangeNames(): string; /** * Adds a new range to the linear gauge. * * @param value The range object to be added. */ addRange(value: Object): void; /** * Removes a range from the linear gauge. * * @param value A JS object with properties set as follows: name: nameOfTheRangeToRemove, remove: true */ removeRange(value: Object): void; /** * Updates the specified range of the linear gauge. * * @param value The range object to be updated. */ updateRange(value: Object): void; /** * Gets the value for the main scale of the gauge for a given point within the bounds of the gauge. * * @param x * @param y */ getValueForPoint(x: Object, y: Object): number; /** * Returns true if the main gauge needle bounding box contains the point provided, otherwise false. * * @param x The x coordinate of the point. * @param y The y coordinate of the point. */ needleContainsPoint(x: number, y: number): void; /** * Returns information about how the linear gauge is rendered. */ exportVisualData(): Object; /** * Causes all pending changes of the linear gauge e.g. by changed property values to be rendered immediately. */ flush(): void; /** * Destroys widget. */ destroy(): void; /** * Re-polls the css styles for the widget. Use this method when the css styles have been modified. */ styleUpdated(): void; }