A linear gauge for displaying a single value on a defined scale.
Constructors
Section titled "Constructors"IgxLinearGaugeComponent
new IgxLinearGaugeComponent(_renderer: Renderer2, _elRef: ViewContainerRef, _ngZone: NgZone, _componentFactoryResolver: ComponentFactoryResolver, _injector: Injector): IgxLinearGaugeComponent Returns IgxLinearGaugeComponent
Properties
Section titled "Properties"_dynamicContent
Section titled "_dynamicContent"_dynamicContent: ViewContainerRef actualRanges
Section titled "actualRanges"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
Section titled "contentRanges"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
Section titled "ngAcceptInputType_animating"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
Section titled "ngAcceptInputType_highlightValue"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
Section titled "ngAcceptInputType_interval"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
Section titled "ngAcceptInputType_isScaleInverted"ngAcceptInputType_isScaleInverted: string | boolean ngAcceptInputType_labelExtent
Section titled "ngAcceptInputType_labelExtent"ngAcceptInputType_labelExtent: string | number ngAcceptInputType_labelFormatSpecifiers
Section titled "ngAcceptInputType_labelFormatSpecifiers"ngAcceptInputType_labelFormatSpecifiers: string | any[] ngAcceptInputType_labelInterval
Section titled "ngAcceptInputType_labelInterval"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
Section titled "ngAcceptInputType_labelsVisible"ngAcceptInputType_labelsVisible: string | boolean ngAcceptInputType_maximumValue
Section titled "ngAcceptInputType_maximumValue"ngAcceptInputType_maximumValue: string | number ngAcceptInputType_mergeViewports
Section titled "ngAcceptInputType_mergeViewports"ngAcceptInputType_mergeViewports: string | boolean ngAcceptInputType_minimumValue
Section titled "ngAcceptInputType_minimumValue"ngAcceptInputType_minimumValue: string | number ngAcceptInputType_minorTickCount
Section titled "ngAcceptInputType_minorTickCount"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
Section titled "ngAcceptInputType_needleBreadth"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
Section titled "ngAcceptInputType_needleShape"ngAcceptInputType_needleShape: string | LinearGraphNeedleShape ngAcceptInputType_needleStrokeThickness
Section titled "ngAcceptInputType_needleStrokeThickness"ngAcceptInputType_needleStrokeThickness: string | number ngAcceptInputType_orientation
Section titled "ngAcceptInputType_orientation"ngAcceptInputType_orientation: string | LinearScaleOrientation ngAcceptInputType_pixelScalingRatio
Section titled "ngAcceptInputType_pixelScalingRatio"ngAcceptInputType_pixelScalingRatio: string | number ngAcceptInputType_rangeBrushes
Section titled "ngAcceptInputType_rangeBrushes"ngAcceptInputType_rangeBrushes: string | string[] ngAcceptInputType_rangeInnerExtent
Section titled "ngAcceptInputType_rangeInnerExtent"ngAcceptInputType_rangeInnerExtent: string | number ngAcceptInputType_rangeOuterExtent
Section titled "ngAcceptInputType_rangeOuterExtent"ngAcceptInputType_rangeOuterExtent: string | number ngAcceptInputType_rangeOutlines
Section titled "ngAcceptInputType_rangeOutlines"ngAcceptInputType_rangeOutlines: string | string[] ngAcceptInputType_scaleEndExtent
Section titled "ngAcceptInputType_scaleEndExtent"ngAcceptInputType_scaleEndExtent: string | number ngAcceptInputType_scaleInnerExtent
Section titled "ngAcceptInputType_scaleInnerExtent"ngAcceptInputType_scaleInnerExtent: string | number ngAcceptInputType_scaleOuterExtent
Section titled "ngAcceptInputType_scaleOuterExtent"ngAcceptInputType_scaleOuterExtent: string | number ngAcceptInputType_scaleStartExtent
Section titled "ngAcceptInputType_scaleStartExtent"ngAcceptInputType_scaleStartExtent: string | number ngAcceptInputType_scaleStrokeThickness
Section titled "ngAcceptInputType_scaleStrokeThickness"ngAcceptInputType_scaleStrokeThickness: string | number ngAcceptInputType_showToolTip
Section titled "ngAcceptInputType_showToolTip"ngAcceptInputType_showToolTip: string | boolean ngAcceptInputType_showToolTipTimeout
Section titled "ngAcceptInputType_showToolTipTimeout"ngAcceptInputType_showToolTipTimeout: string | number ngAcceptInputType_tickEndExtent
Section titled "ngAcceptInputType_tickEndExtent"ngAcceptInputType_tickEndExtent: string | number ngAcceptInputType_ticksPostInitial
Section titled "ngAcceptInputType_ticksPostInitial"ngAcceptInputType_ticksPostInitial: string | number ngAcceptInputType_ticksPreTerminal
Section titled "ngAcceptInputType_ticksPreTerminal"ngAcceptInputType_ticksPreTerminal: string | number ngAcceptInputType_tickStartExtent
Section titled "ngAcceptInputType_tickStartExtent"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
Section titled "ngAcceptInputType_value"ngAcceptInputType_value: string | number ɵcmp: ɵɵComponentDeclaration<IgxLinearGaugeComponent, "igx-linear-gauge", never, object, object, ["contentRanges"], never> ɵfac: ɵɵFactoryDeclaration<IgxLinearGaugeComponent, never> actualHighlightValueDisplayMode
Section titled "actualHighlightValueDisplayMode"actualHighlightValueDisplayMode: HighlightedValueDisplayMode actualHighlightValueOpacity
Section titled "actualHighlightValueOpacity"actualHighlightValueOpacity: number actualMaximumValue
Section titled "actualMaximumValue"actualMaximumValue: number actualMinimumValue
Section titled "actualMinimumValue"actualMinimumValue: number actualPixelScalingRatio
Section titled "actualPixelScalingRatio"actualPixelScalingRatio: number backingBrush
Section titled "backingBrush"backingBrush: string backingInnerExtent
Section titled "backingInnerExtent"backingInnerExtent: number backingOuterExtent
Section titled "backingOuterExtent"backingOuterExtent: number backingOutline
Section titled "backingOutline"backingOutline: string backingStrokeThickness
Section titled "backingStrokeThickness"backingStrokeThickness: number font: string fontBrush
Section titled "fontBrush"fontBrush: string height
Section titled "height"height: string highlightValue
Section titled "highlightValue"highlightValue: number highlightValueDisplayMode
Section titled "highlightValueDisplayMode"highlightValueDisplayMode: HighlightedValueDisplayMode highlightValueOpacity
Section titled "highlightValueOpacity"highlightValueOpacity: number interval
Section titled "interval"interval: number isHighlightNeedleDraggingEnabled
Section titled "isHighlightNeedleDraggingEnabled"isHighlightNeedleDraggingEnabled: boolean isNeedleDraggingEnabled
Section titled "isNeedleDraggingEnabled"isNeedleDraggingEnabled: boolean isScaleInverted
Section titled "isScaleInverted"isScaleInverted: boolean labelExtent
Section titled "labelExtent"labelExtent: number labelFormat
Section titled "labelFormat"labelFormat: string labelFormatSpecifiers
Section titled "labelFormatSpecifiers"labelFormatSpecifiers: any[] labelInterval
Section titled "labelInterval"labelInterval: number labelsPostInitial
Section titled "labelsPostInitial"labelsPostInitial: number labelsPreTerminal
Section titled "labelsPreTerminal"labelsPreTerminal: number labelsVisible
Section titled "labelsVisible"labelsVisible: boolean maximumValue
Section titled "maximumValue"maximumValue: number mergeViewports
Section titled "mergeViewports"mergeViewports: boolean minimumValue
Section titled "minimumValue"minimumValue: number minorTickBrush
Section titled "minorTickBrush"minorTickBrush: string minorTickCount
Section titled "minorTickCount"minorTickCount: number minorTickEndExtent
Section titled "minorTickEndExtent"minorTickEndExtent: number minorTickStartExtent
Section titled "minorTickStartExtent"minorTickStartExtent: number minorTickStrokeThickness
Section titled "minorTickStrokeThickness"minorTickStrokeThickness: number needleBreadth
Section titled "needleBreadth"needleBreadth: number needleBrush
Section titled "needleBrush"needleBrush: string needleInnerBaseWidth
Section titled "needleInnerBaseWidth"needleInnerBaseWidth: number needleInnerExtent
Section titled "needleInnerExtent"needleInnerExtent: number needleInnerPointExtent
Section titled "needleInnerPointExtent"needleInnerPointExtent: number needleInnerPointWidth
Section titled "needleInnerPointWidth"needleInnerPointWidth: number needleName
Section titled "needleName"needleName: string needleOuterBaseWidth
Section titled "needleOuterBaseWidth"needleOuterBaseWidth: number needleOuterExtent
Section titled "needleOuterExtent"needleOuterExtent: number needleOuterPointExtent
Section titled "needleOuterPointExtent"needleOuterPointExtent: number needleOuterPointWidth
Section titled "needleOuterPointWidth"needleOuterPointWidth: number needleOutline
Section titled "needleOutline"needleOutline: string needleShape
Section titled "needleShape"needleShape: LinearGraphNeedleShape needleStrokeThickness
Section titled "needleStrokeThickness"needleStrokeThickness: number orientation
Section titled "orientation"orientation: LinearScaleOrientation pixelScalingRatio
Section titled "pixelScalingRatio"pixelScalingRatio: number rangeBrushes
Section titled "rangeBrushes"rangeBrushes: string[] rangeInnerExtent
Section titled "rangeInnerExtent"rangeInnerExtent: number rangeOuterExtent
Section titled "rangeOuterExtent"rangeOuterExtent: number rangeOutlines
Section titled "rangeOutlines"rangeOutlines: string[] scaleBrush
Section titled "scaleBrush"scaleBrush: string scaleEndExtent
Section titled "scaleEndExtent"scaleEndExtent: number scaleInnerExtent
Section titled "scaleInnerExtent"scaleInnerExtent: number scaleOuterExtent
Section titled "scaleOuterExtent"scaleOuterExtent: number scaleOutline
Section titled "scaleOutline"scaleOutline: string scaleStartExtent
Section titled "scaleStartExtent"scaleStartExtent: number scaleStrokeThickness
Section titled "scaleStrokeThickness"scaleStrokeThickness: number showToolTip
Section titled "showToolTip"showToolTip: boolean showToolTipTimeout
Section titled "showToolTipTimeout"showToolTipTimeout: number tickBrush
Section titled "tickBrush"tickBrush: string tickEndExtent
Section titled "tickEndExtent"tickEndExtent: number ticksPostInitial
Section titled "ticksPostInitial"ticksPostInitial: number ticksPreTerminal
Section titled "ticksPreTerminal"ticksPreTerminal: number tickStartExtent
Section titled "tickStartExtent"tickStartExtent: number tickStrokeThickness
Section titled "tickStrokeThickness"tickStrokeThickness: number tooltipTemplate
Section titled "tooltipTemplate"tooltipTemplate: TemplateRef<any> transitionDuration
Section titled "transitionDuration"transitionDuration: number transitionProgress
Section titled "transitionProgress"transitionProgress: number value
Section titled "value"value: number width
Section titled "width"width: string Accessors
Section titled "Accessors"actualMaximumValueChange
Section titled "actualMaximumValueChange"get actualMaximumValueChange(): EventEmitter<number> Returns EventEmitter<number>
actualMinimumValueChange
Section titled "actualMinimumValueChange"get actualMinimumValueChange(): EventEmitter<number> Returns EventEmitter<number>
alignLabel
Section titled "alignLabel"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>
animating
Section titled "animating"Gets a value indicating whether the bullet graph is currently animating.
get animating(): boolean Returns boolean
formatLabel
Section titled "formatLabel"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>
highlightValueChanged
Section titled "highlightValueChanged"Occurs when the Hightlight Value property changes.
get highlightValueChanged(): EventEmitter<object> Returns EventEmitter<object>
ranges
Section titled "ranges"A collection or manually added axes for the chart.
get ranges(): IgxLinearGraphRangeCollection Returns IgxLinearGraphRangeCollection
valueChanged
Section titled "valueChanged"Occurs when the Value property changes.
get valueChanged(): EventEmitter<object> Returns EventEmitter<object>
Methods
Section titled "Methods"containerResized
Section titled "containerResized"containerResized(): void Returns void
exportSerializedVisualData
Section titled "exportSerializedVisualData"Returns visuals as a serialized string.
exportSerializedVisualData(): string Returns string
findByName
Section titled "findByName"findByName(name: string): any Parameters
- name:
string
Returns any
flush
Section titled "flush"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
getValueForPoint
Section titled "getValueForPoint"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
Section titled "highlightNeedleContainsPoint"highlightNeedleContainsPoint(point: IgPoint, isFinger: boolean): boolean Parameters
- point:
IgPoint - isFinger:
boolean
Returns boolean
needleContainsPoint
Section titled "needleContainsPoint"needleContainsPoint(point: IgPoint, isFinger: boolean): boolean Parameters
- point:
IgPoint - isFinger:
boolean
Returns boolean
ngAfterContentInit
Section titled "ngAfterContentInit"ngAfterContentInit(): void Returns void
ngAfterViewInit
Section titled "ngAfterViewInit"ngAfterViewInit(): void Returns void
ngOnDestroy
Section titled "ngOnDestroy"ngOnDestroy(): void Returns void
provideContainer
Section titled "provideContainer"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
Section titled "styleUpdated"styleUpdated(): void Returns void
updateStyle
Section titled "updateStyle"updateStyle(): void Returns void
_createFromInternal
Section titled "_createFromInternal"_createFromInternal(internal: any): IgxLinearGaugeComponent Parameters
- internal:
any