import * as d3 from 'd3'; import { GaugeChartSettings } from './gaugeChartSettings'; import { GaugeData } from './gaugeData.model'; declare type Selection = d3.Selection; export declare class GaugeChart { private svg; private padding; private outerWidth; private outerHeight; private uniqueId; private transitionDuration; private gMainChart; private gArcsContainer; private gArcList; private gArcBackgroundList; private gArcDataList; private gLegends; private gLinesList; private gTicks; private gNeedleContainer; private gPointerCircleLegend; private gPointerPath; private gPointerCircle; private gPointerSemiCircle; private gPointerSemiCircleOuter; private gDefs; private gGaugeLabelBottom; private labelPadding; private colorOptions; private defaultColor; private dataDomain; private defaultDomain; private _oldArcValue; private _oldTargetValue; private outerRadius; private dataCount; private minValueScale; private maxValueScale; private chartSettings; private arcScale; private data; private width; private height; private startValue; private endValue; private targetValue; private get range(); private get arcMin(); private get arcMax(); private get arcSize(); private config; private pointer; constructor(svg: Selection); private initContainers; draw(): void; private drawArcs; private updateLines; private drawLegends; private drawLegendsContainer; private renderLegends; private calculateLegendsWidth; private buildArcContainers; private addGContainers; private getArcValue; private getArcColor; private arcTween; private newAngle; private deg2rad; private getOuterRadius; private getOuterRadiusRotate; private centerTranslationMainChart; private setChartSettings; private setDomainColor; private generateRange; private updatePointerCircle; private updatePointer; private setDefsShadow; private updatePointerCircleLegend; private updatePointerArc; private getTargetValueArc; private textTween; private transformTween; private updateArcTooltip; private updateTicks; private updateLabelBottom; remove(): void; getUniqueID(): void; /** * It calculates the size percentage given a default value. * @param width width of the g (space). * @param value value to become responsive. */ protected calculateSizeByWidth(width: number, value: number): number; /** Settings */ setWidth(d: number): GaugeChart; setHeight(d: number): GaugeChart; setData(d: GaugeData[]): GaugeChart; setSettings(d: GaugeChartSettings): GaugeChart; setStartValue(d: number): GaugeChart; setEndValue(d: number): GaugeChart; setTargetValue(d: number): GaugeChart; } export {};