A linear gauge for displaying a single value on a defined scale.

IgxLinearGaugeComponent

new IgxLinearGaugeComponent(_renderer: Renderer2, _elRef: ViewContainerRef, _ngZone: NgZone, _componentFactoryResolver: ComponentFactoryResolver, _injector: Injector): IgxLinearGaugeComponent

Returns IgxLinearGaugeComponent

_dynamicContent: ViewContainerRef

The ranges actually present in the chart. Do not directly modify this array. This array's contents can be modified by causing Angular to reproject the child content. Or adding and removing ranges from the manual ranges collection on the ranges property.

actualRanges: IgxLinearGraphRangeComponent[]
contentRanges: QueryList<IgxLinearGraphRangeComponent>

ngAcceptInputType_actualHighlightValueDisplayMode

Section titled "ngAcceptInputType_actualHighlightValueDisplayMode"
ngAcceptInputType_actualHighlightValueDisplayMode: any

ngAcceptInputType_actualHighlightValueOpacity

Section titled "ngAcceptInputType_actualHighlightValueOpacity"
ngAcceptInputType_actualHighlightValueOpacity: string | number

ngAcceptInputType_actualMaximumValue

Section titled "ngAcceptInputType_actualMaximumValue"
ngAcceptInputType_actualMaximumValue: string | number

ngAcceptInputType_actualMinimumValue

Section titled "ngAcceptInputType_actualMinimumValue"
ngAcceptInputType_actualMinimumValue: string | number

ngAcceptInputType_actualPixelScalingRatio

Section titled "ngAcceptInputType_actualPixelScalingRatio"
ngAcceptInputType_actualPixelScalingRatio: string | number
ngAcceptInputType_animating: string | boolean

ngAcceptInputType_backingInnerExtent

Section titled "ngAcceptInputType_backingInnerExtent"
ngAcceptInputType_backingInnerExtent: string | number

ngAcceptInputType_backingOuterExtent

Section titled "ngAcceptInputType_backingOuterExtent"
ngAcceptInputType_backingOuterExtent: string | number

ngAcceptInputType_backingStrokeThickness

Section titled "ngAcceptInputType_backingStrokeThickness"
ngAcceptInputType_backingStrokeThickness: string | number
ngAcceptInputType_highlightValue: string | number

ngAcceptInputType_highlightValueDisplayMode

Section titled "ngAcceptInputType_highlightValueDisplayMode"
ngAcceptInputType_highlightValueDisplayMode: any

ngAcceptInputType_highlightValueOpacity

Section titled "ngAcceptInputType_highlightValueOpacity"
ngAcceptInputType_highlightValueOpacity: string | number
ngAcceptInputType_interval: string | number

ngAcceptInputType_isHighlightNeedleDraggingEnabled

Section titled "ngAcceptInputType_isHighlightNeedleDraggingEnabled"
ngAcceptInputType_isHighlightNeedleDraggingEnabled: string | boolean

ngAcceptInputType_isNeedleDraggingEnabled

Section titled "ngAcceptInputType_isNeedleDraggingEnabled"
ngAcceptInputType_isNeedleDraggingEnabled: string | boolean
ngAcceptInputType_isScaleInverted: string | boolean
ngAcceptInputType_labelExtent: string | number

ngAcceptInputType_labelFormatSpecifiers

Section titled "ngAcceptInputType_labelFormatSpecifiers"
ngAcceptInputType_labelFormatSpecifiers: string | any[]
ngAcceptInputType_labelInterval: string | number

ngAcceptInputType_labelsPostInitial

Section titled "ngAcceptInputType_labelsPostInitial"
ngAcceptInputType_labelsPostInitial: string | number

ngAcceptInputType_labelsPreTerminal

Section titled "ngAcceptInputType_labelsPreTerminal"
ngAcceptInputType_labelsPreTerminal: string | number
ngAcceptInputType_labelsVisible: string | boolean
ngAcceptInputType_maximumValue: string | number
ngAcceptInputType_mergeViewports: string | boolean
ngAcceptInputType_minimumValue: string | number
ngAcceptInputType_minorTickCount: string | number

ngAcceptInputType_minorTickEndExtent

Section titled "ngAcceptInputType_minorTickEndExtent"
ngAcceptInputType_minorTickEndExtent: string | number

ngAcceptInputType_minorTickStartExtent

Section titled "ngAcceptInputType_minorTickStartExtent"
ngAcceptInputType_minorTickStartExtent: string | number

ngAcceptInputType_minorTickStrokeThickness

Section titled "ngAcceptInputType_minorTickStrokeThickness"
ngAcceptInputType_minorTickStrokeThickness: string | number
ngAcceptInputType_needleBreadth: string | number

ngAcceptInputType_needleInnerBaseWidth

Section titled "ngAcceptInputType_needleInnerBaseWidth"
ngAcceptInputType_needleInnerBaseWidth: string | number

ngAcceptInputType_needleInnerExtent

Section titled "ngAcceptInputType_needleInnerExtent"
ngAcceptInputType_needleInnerExtent: string | number

ngAcceptInputType_needleInnerPointExtent

Section titled "ngAcceptInputType_needleInnerPointExtent"
ngAcceptInputType_needleInnerPointExtent: string | number

ngAcceptInputType_needleInnerPointWidth

Section titled "ngAcceptInputType_needleInnerPointWidth"
ngAcceptInputType_needleInnerPointWidth: string | number

ngAcceptInputType_needleOuterBaseWidth

Section titled "ngAcceptInputType_needleOuterBaseWidth"
ngAcceptInputType_needleOuterBaseWidth: string | number

ngAcceptInputType_needleOuterExtent

Section titled "ngAcceptInputType_needleOuterExtent"
ngAcceptInputType_needleOuterExtent: string | number

ngAcceptInputType_needleOuterPointExtent

Section titled "ngAcceptInputType_needleOuterPointExtent"
ngAcceptInputType_needleOuterPointExtent: string | number

ngAcceptInputType_needleOuterPointWidth

Section titled "ngAcceptInputType_needleOuterPointWidth"
ngAcceptInputType_needleOuterPointWidth: string | number
ngAcceptInputType_needleShape: string | LinearGraphNeedleShape

ngAcceptInputType_needleStrokeThickness

Section titled "ngAcceptInputType_needleStrokeThickness"
ngAcceptInputType_needleStrokeThickness: string | number
ngAcceptInputType_orientation: string | LinearScaleOrientation

ngAcceptInputType_pixelScalingRatio

Section titled "ngAcceptInputType_pixelScalingRatio"
ngAcceptInputType_pixelScalingRatio: string | number
ngAcceptInputType_rangeBrushes: string | string[]
ngAcceptInputType_rangeInnerExtent: string | number
ngAcceptInputType_rangeOuterExtent: string | number
ngAcceptInputType_rangeOutlines: string | string[]
ngAcceptInputType_scaleEndExtent: string | number
ngAcceptInputType_scaleInnerExtent: string | number
ngAcceptInputType_scaleOuterExtent: string | number
ngAcceptInputType_scaleStartExtent: string | number

ngAcceptInputType_scaleStrokeThickness

Section titled "ngAcceptInputType_scaleStrokeThickness"
ngAcceptInputType_scaleStrokeThickness: string | number
ngAcceptInputType_showToolTip: string | boolean

ngAcceptInputType_showToolTipTimeout

Section titled "ngAcceptInputType_showToolTipTimeout"
ngAcceptInputType_showToolTipTimeout: string | number
ngAcceptInputType_tickEndExtent: string | number
ngAcceptInputType_ticksPostInitial: string | number
ngAcceptInputType_ticksPreTerminal: string | number
ngAcceptInputType_tickStartExtent: string | number

ngAcceptInputType_tickStrokeThickness

Section titled "ngAcceptInputType_tickStrokeThickness"
ngAcceptInputType_tickStrokeThickness: string | number

ngAcceptInputType_transitionDuration

Section titled "ngAcceptInputType_transitionDuration"
ngAcceptInputType_transitionDuration: string | number

ngAcceptInputType_transitionProgress

Section titled "ngAcceptInputType_transitionProgress"
ngAcceptInputType_transitionProgress: string | number
ngAcceptInputType_value: string | number
ɵcmp: ɵɵComponentDeclaration<IgxLinearGaugeComponent, "igx-linear-gauge", never, object, object, ["contentRanges"], never>
ɵfac: ɵɵFactoryDeclaration<IgxLinearGaugeComponent, never>
actualHighlightValueDisplayMode: HighlightedValueDisplayMode
actualHighlightValueOpacity: number
actualMaximumValue: number
actualMinimumValue: number
actualPixelScalingRatio: number
backingBrush: string
backingInnerExtent: number
backingOuterExtent: number
backingOutline: string
backingStrokeThickness: number
font: string
fontBrush: string
height: string
highlightValue: number
highlightValueDisplayMode: HighlightedValueDisplayMode
highlightValueOpacity: number
interval: number
isHighlightNeedleDraggingEnabled: boolean
isNeedleDraggingEnabled: boolean
isScaleInverted: boolean
labelExtent: number
labelFormat: string
labelFormatSpecifiers: any[]
labelInterval: number
labelsPostInitial: number
labelsPreTerminal: number
labelsVisible: boolean
maximumValue: number
mergeViewports: boolean
minimumValue: number
minorTickBrush: string
minorTickCount: number
minorTickEndExtent: number
minorTickStartExtent: number
minorTickStrokeThickness: number
needleBreadth: number
needleBrush: string
needleInnerBaseWidth: number
needleInnerExtent: number
needleInnerPointExtent: number
needleInnerPointWidth: number
needleName: string
needleOuterBaseWidth: number
needleOuterExtent: number
needleOuterPointExtent: number
needleOuterPointWidth: number
needleOutline: string
needleShape: LinearGraphNeedleShape
needleStrokeThickness: number
orientation: LinearScaleOrientation
pixelScalingRatio: number
rangeBrushes: string[]
rangeInnerExtent: number
rangeOuterExtent: number
rangeOutlines: string[]
scaleBrush: string
scaleEndExtent: number
scaleInnerExtent: number
scaleOuterExtent: number
scaleOutline: string
scaleStartExtent: number
scaleStrokeThickness: number
showToolTip: boolean
showToolTipTimeout: number
tickBrush: string
tickEndExtent: number
ticksPostInitial: number
ticksPreTerminal: number
tickStartExtent: number
tickStrokeThickness: number
tooltipTemplate: TemplateRef<any>
transitionDuration: number
transitionProgress: number
value: number
width: string
get actualMaximumValueChange(): EventEmitter<number>

Returns EventEmitter<number>

get actualMinimumValueChange(): EventEmitter<number>

Returns EventEmitter<number>

Event which is raised when a label of the linear gauge is aligned along the scale. Function takes first argument evt and second argument ui. Use ui.owner to obtain reference to the gauge widget. Use ui.actualMinimumValue to obtain the minimum value of the gauge scale. Use ui.actualMaximumValue to obtain the maximum value of the gauge scale. Use ui.value to obtain the value on the gauge scale associated with the label. Use ui.label to obtain the string value of the label. Use ui.width to obtain the width of the label. Use ui.height to obtain the height of the label. Use ui.offsetX to obtain the X offset of the label on the gauge scale. Use ui.offsetY to obtain the Y offset of the label on the gauge scale.

get alignLabel(): EventEmitter<object>

Returns EventEmitter<object>

Gets a value indicating whether the bullet graph is currently animating.

get animating(): boolean

Returns boolean

Event which is raised when a label of the the gauge is formatted. Function takes first argument evt and second argument ui. Use ui.owner to obtain reference to the gauge widget. Use ui.actualMinimumValue to obtain the minimum value of the gauge scale. Use ui.actualMaximumValue to obtain the maximum value of the gauge scale. Use ui.value to obtain the value on the the gauge scale associated with the label. Use ui.label to obtain the string value of the label.

get formatLabel(): EventEmitter<object>

Returns EventEmitter<object>

Occurs when the Hightlight Value property changes.

get highlightValueChanged(): EventEmitter<object>

Returns EventEmitter<object>

A collection or manually added axes for the chart.

get ranges(): IgxLinearGraphRangeCollection

Returns IgxLinearGraphRangeCollection

Occurs when the Value property changes.

get valueChanged(): EventEmitter<object>

Returns EventEmitter<object>

containerResized(): void

Returns void

Returns visuals as a serialized string.

exportSerializedVisualData(): string

Returns string

findByName(name: string): any

Parameters

  • name: string

Returns any

Use to force the linear gauge to finish any deferred work before printing or evaluating its visual. This should only be called if the visual of the linear gauge needs to be synchronously saved or evaluated. Calling this method too often will hinder the performance of the linear gauge.

flush(): void

Returns void

Gets the value for the main scale of the gauge for a given point within the bounds of the gauge.

getValueForPoint(point: IgPoint): number

Parameters

  • point: IgPoint
    • The point for which to retrieve the associated value.

Returns number

highlightNeedleContainsPoint(point: IgPoint, isFinger: boolean): boolean

Parameters

  • point: IgPoint
  • isFinger: boolean

Returns boolean

needleContainsPoint(point: IgPoint, isFinger: boolean): boolean

Parameters

  • point: IgPoint
  • isFinger: boolean

Returns boolean

ngAfterContentInit(): void

Returns void

ngAfterViewInit(): void

Returns void

ngOnDestroy(): void

Returns void

Called by the UI framework to provide a UI container for rendering this control.

provideContainer(container: any): void

Parameters

  • container: any
    • The UI container element.

Returns void

styleUpdated(): void

Returns void

updateStyle(): void

Returns void

_createFromInternal(internal: any): IgxLinearGaugeComponent

Parameters

  • internal: any

Returns IgxLinearGaugeComponent