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, _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, true, never> ɵfac: ɵɵFactoryDeclaration<IgxLinearGaugeComponent, never> Accessors
Section titled "Accessors"actualHighlightValueDisplayMode
Section titled "actualHighlightValueDisplayMode"Gets whether and how to display the highlighted value.
get actualHighlightValueDisplayMode(): HighlightedValueDisplayMode
Returns HighlightedValueDisplayMode
set actualHighlightValueDisplayMode(v: HighlightedValueDisplayMode): void Parameters
- v:
HighlightedValueDisplayMode
Returns void
actualHighlightValueOpacity
Section titled "actualHighlightValueOpacity"Gets the actual opacity of the primary needle while highlighting
get actualHighlightValueOpacity(): number
Returns number
set actualHighlightValueOpacity(v: number): void Parameters
- v:
number
Returns void
actualMaximumValue
Section titled "actualMaximumValue"Gets the resolved maximum value of the scale.
get actualMaximumValue(): number
Returns number
set actualMaximumValue(v: number): void Parameters
- v:
number
Returns void
actualMaximumValueChange
Section titled "actualMaximumValueChange"get actualMaximumValueChange(): EventEmitter<number>
Returns EventEmitter<number>
actualMinimumValue
Section titled "actualMinimumValue"Gets the resolved minimum value of the scale.
get actualMinimumValue(): number
Returns number
set actualMinimumValue(v: number): void Parameters
- v:
number
Returns void
actualMinimumValueChange
Section titled "actualMinimumValueChange"get actualMinimumValueChange(): EventEmitter<number>
Returns EventEmitter<number>
actualPixelScalingRatio
Section titled "actualPixelScalingRatio"Gets the actual pixel scaling ratio used to affect the pixel density of the control. A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control to appear blurry.
get actualPixelScalingRatio(): number
Returns number
set actualPixelScalingRatio(v: number): void Parameters
- v:
number
Returns void
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
backingBrush
Section titled "backingBrush"Gets or sets the brush to use to fill the backing of the linear gauge.
get backingBrush(): string
Returns string
set backingBrush(v: string): void Parameters
- v:
string
Returns void
backingInnerExtent
Section titled "backingInnerExtent"Gets or sets the inner extent of the linear gauge backing.
get backingInnerExtent(): number
Returns number
set backingInnerExtent(v: number): void Parameters
- v:
number
Returns void
backingOuterExtent
Section titled "backingOuterExtent"Gets or sets the outer extent of the linear gauge backing.
get backingOuterExtent(): number
Returns number
set backingOuterExtent(v: number): void Parameters
- v:
number
Returns void
backingOutline
Section titled "backingOutline"Gets or sets the brush to use for the outline of the backing.
get backingOutline(): string
Returns string
set backingOutline(v: string): void Parameters
- v:
string
Returns void
backingStrokeThickness
Section titled "backingStrokeThickness"Gets or sets the stroke thickness of the backing outline.
get backingStrokeThickness(): number
Returns number
set backingStrokeThickness(v: number): void Parameters
- v:
number
Returns void
Gets or sets the font.
get font(): string
Returns string
set font(v: string): void Parameters
- v:
string
Returns void
fontBrush
Section titled "fontBrush"Gets or sets the brush to use for the label font.
get fontBrush(): string
Returns string
set fontBrush(v: string): void Parameters
- v:
string
Returns void
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>
height
Section titled "height"get height(): string
Returns string
set height(value: string): void Parameters
- value:
string
Returns void
highlightValue
Section titled "highlightValue"Gets or sets the highlight value at which to point the secondary needle of the gauge.
get highlightValue(): number
Returns number
set highlightValue(v: number): void Parameters
- v:
number
Returns void
highlightValueChanged
Section titled "highlightValueChanged"Occurs when the Hightlight Value property changes.
get highlightValueChanged(): EventEmitter<object>
Returns EventEmitter<object>
highlightValueDisplayMode
Section titled "highlightValueDisplayMode"Gets or sets whether and how to display the highlighted value.
get highlightValueDisplayMode(): HighlightedValueDisplayMode
Returns HighlightedValueDisplayMode
set highlightValueDisplayMode(v: HighlightedValueDisplayMode): void Parameters
- v:
HighlightedValueDisplayMode
Returns void
highlightValueOpacity
Section titled "highlightValueOpacity"Gets or sets the opacity of the primary needle while highlighting
get highlightValueOpacity(): number
Returns number
set highlightValueOpacity(v: number): void Parameters
- v:
number
Returns void
interval
Section titled "interval"Gets or sets the interval to use for the scale.
get interval(): number
Returns number
set interval(v: number): void Parameters
- v:
number
Returns void
isHighlightNeedleDraggingEnabled
Section titled "isHighlightNeedleDraggingEnabled"Gets or sets whether highlight needle dragging is enabled or not.
get isHighlightNeedleDraggingEnabled(): boolean
Returns boolean
set isHighlightNeedleDraggingEnabled(v: boolean): void Parameters
- v:
boolean
Returns void
isNeedleDraggingEnabled
Section titled "isNeedleDraggingEnabled"Gets or sets whether needle dragging is enabled or not.
get isNeedleDraggingEnabled(): boolean
Returns boolean
set isNeedleDraggingEnabled(v: boolean): void Parameters
- v:
boolean
Returns void
isScaleInverted
Section titled "isScaleInverted"Gets or sets a value indicating whether the scale is inverted. When the scale is inverted the direction in which the scale values increase is right to left.
get isScaleInverted(): boolean
Returns boolean
set isScaleInverted(v: boolean): void Parameters
- v:
boolean
Returns void
labelExtent
Section titled "labelExtent"Gets or sets the position at which to put the labels as a value from 0 to 1, measured from the bottom of the scale. Values further from zero than 1 can be used to hide the labels of the linear gauge.
get labelExtent(): number
Returns number
set labelExtent(v: number): void Parameters
- v:
number
Returns void
labelFormat
Section titled "labelFormat"Gets or sets the label composite format used when creating label values.
get labelFormat(): string
Returns string
set labelFormat(v: string): void Parameters
- v:
string
Returns void
labelFormatSpecifiers
Section titled "labelFormatSpecifiers"Gets or sets the format specifiers to use with the LabelFormat string.
get labelFormatSpecifiers(): any[]
Returns any[]
set labelFormatSpecifiers(v: any[]): void Parameters
- v:
any[]
Returns void
labelInterval
Section titled "labelInterval"Gets or sets the interval to use for rendering labels. This defaults to be the same interval as the tickmarks on the scale.
get labelInterval(): number
Returns number
set labelInterval(v: number): void Parameters
- v:
number
Returns void
labelsPostInitial
Section titled "labelsPostInitial"A value to start adding labels, added to the scale's MinimumValue.
get labelsPostInitial(): number
Returns number
set labelsPostInitial(v: number): void Parameters
- v:
number
Returns void
labelsPreTerminal
Section titled "labelsPreTerminal"A value to stop adding labels, subtracted from the scale's MaximumValue.
get labelsPreTerminal(): number
Returns number
set labelsPreTerminal(v: number): void Parameters
- v:
number
Returns void
labelsVisible
Section titled "labelsVisible"Gets or sets whether the labels are visible in the gauge.
get labelsVisible(): boolean
Returns boolean
set labelsVisible(v: boolean): void Parameters
- v:
boolean
Returns void
maximumValue
Section titled "maximumValue"Gets or sets the maximum value of the scale.
get maximumValue(): number
Returns number
set maximumValue(v: number): void Parameters
- v:
number
Returns void
mergeViewports
Section titled "mergeViewports"Gets or sets whether the scale viewport will be merged with backing viewport.
get mergeViewports(): boolean
Returns boolean
set mergeViewports(v: boolean): void Parameters
- v:
boolean
Returns void
minimumValue
Section titled "minimumValue"Gets or sets the minimum value of the scale.
get minimumValue(): number
Returns number
set minimumValue(v: number): void Parameters
- v:
number
Returns void
minorTickBrush
Section titled "minorTickBrush"Gets or sets the brush to use for the minor tickmarks.
get minorTickBrush(): string
Returns string
set minorTickBrush(v: string): void Parameters
- v:
string
Returns void
minorTickCount
Section titled "minorTickCount"Gets or sets the number of minor tickmarks to place between major tickmarks.
get minorTickCount(): number
Returns number
set minorTickCount(v: number): void Parameters
- v:
number
Returns void
minorTickEndExtent
Section titled "minorTickEndExtent"Gets or sets the position at which to stop rendering the minor tickmarks as a value from 0 to 1, measured from the front/bottom of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.
get minorTickEndExtent(): number
Returns number
set minorTickEndExtent(v: number): void Parameters
- v:
number
Returns void
minorTickStartExtent
Section titled "minorTickStartExtent"Gets or sets the position at which to start rendering the minor tickmarks as a value from 0 to 1, measured from the front/bottom of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.
get minorTickStartExtent(): number
Returns number
set minorTickStartExtent(v: number): void Parameters
- v:
number
Returns void
minorTickStrokeThickness
Section titled "minorTickStrokeThickness"Gets or sets the stroke thickness to use when rendering minor ticks.
get minorTickStrokeThickness(): number
Returns number
set minorTickStrokeThickness(v: number): void Parameters
- v:
number
Returns void
needleBreadth
Section titled "needleBreadth"Gets or sets the needle breadth.
get needleBreadth(): number
Returns number
set needleBreadth(v: number): void Parameters
- v:
number
Returns void
needleBrush
Section titled "needleBrush"Gets or sets the brush to use for needle element.
get needleBrush(): string
Returns string
set needleBrush(v: string): void Parameters
- v:
string
Returns void
needleInnerBaseWidth
Section titled "needleInnerBaseWidth"Gets or sets the width of the needle's inner base.
get needleInnerBaseWidth(): number
Returns number
set needleInnerBaseWidth(v: number): void Parameters
- v:
number
Returns void
needleInnerExtent
Section titled "needleInnerExtent"Gets or sets the position at which to start rendering the needle geometry, measured from the front/bottom of the linear gauge as a value from 0 to 1. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.
get needleInnerExtent(): number
Returns number
set needleInnerExtent(v: number): void Parameters
- v:
number
Returns void
needleInnerPointExtent
Section titled "needleInnerPointExtent"Gets or sets the extent of the needle's inner point.
get needleInnerPointExtent(): number
Returns number
set needleInnerPointExtent(v: number): void Parameters
- v:
number
Returns void
needleInnerPointWidth
Section titled "needleInnerPointWidth"Gets or sets the width of the needle's inner point.
get needleInnerPointWidth(): number
Returns number
set needleInnerPointWidth(v: number): void Parameters
- v:
number
Returns void
needleName
Section titled "needleName"Gets or sets the name used for needle.
get needleName(): string
Returns string
set needleName(v: string): void Parameters
- v:
string
Returns void
needleOuterBaseWidth
Section titled "needleOuterBaseWidth"Gets or sets the width of the needle's outer base.
get needleOuterBaseWidth(): number
Returns number
set needleOuterBaseWidth(v: number): void Parameters
- v:
number
Returns void
needleOuterExtent
Section titled "needleOuterExtent"Gets or sets the position at which to stop rendering the needle geometry as a value from 0 to 1 measured from the front/bottom of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.
get needleOuterExtent(): number
Returns number
set needleOuterExtent(v: number): void Parameters
- v:
number
Returns void
needleOuterPointExtent
Section titled "needleOuterPointExtent"Gets or sets the extent of the needle's outer point.
get needleOuterPointExtent(): number
Returns number
set needleOuterPointExtent(v: number): void Parameters
- v:
number
Returns void
needleOuterPointWidth
Section titled "needleOuterPointWidth"Gets or sets the width of the needle's outer point.
get needleOuterPointWidth(): number
Returns number
set needleOuterPointWidth(v: number): void Parameters
- v:
number
Returns void
needleOutline
Section titled "needleOutline"Gets or sets the brush to use for the outline of needle element.
get needleOutline(): string
Returns string
set needleOutline(v: string): void Parameters
- v:
string
Returns void
needleShape
Section titled "needleShape"Gets or sets the shape to use when rendering the needle from a number of options.
get needleShape(): LinearGraphNeedleShape
Returns LinearGraphNeedleShape
needleStrokeThickness
Section titled "needleStrokeThickness"Gets or sets the stroke thickness to use when rendering single actual value element.
get needleStrokeThickness(): number
Returns number
set needleStrokeThickness(v: number): void Parameters
- v:
number
Returns void
orientation
Section titled "orientation"Gets or sets the orientation of the scale.
get orientation(): LinearScaleOrientation
Returns LinearScaleOrientation
pixelScalingRatio
Section titled "pixelScalingRatio"Gets or sets the scaling value used to affect the pixel density of the control. A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control to appear blurry.
get pixelScalingRatio(): number
Returns number
set pixelScalingRatio(v: number): void Parameters
- v:
number
Returns void
rangeBrushes
Section titled "rangeBrushes"Gets or sets a collection of brushes to be used as the palette for linear gauge ranges.
get rangeBrushes(): string[]
Returns string[]
set rangeBrushes(v: string[]): void Parameters
- v:
string[]
Returns void
rangeInnerExtent
Section titled "rangeInnerExtent"Gets or sets the position at which to start rendering the ranges, measured from the front/bottom of the control as a value from 0 to 1. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.
get rangeInnerExtent(): number
Returns number
set rangeInnerExtent(v: number): void Parameters
- v:
number
Returns void
rangeOuterExtent
Section titled "rangeOuterExtent"Gets or sets the position at which to stop rendering the range as a value from 0 to 1 measured from the front/bottom of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.
get rangeOuterExtent(): number
Returns number
set rangeOuterExtent(v: number): void Parameters
- v:
number
Returns void
rangeOutlines
Section titled "rangeOutlines"Gets or sets a collection of brushes to be used as the palette for linear gauge outlines.
get rangeOutlines(): string[]
Returns string[]
set rangeOutlines(v: string[]): void Parameters
- v:
string[]
Returns void
ranges
Section titled "ranges"A collection or manually added axes for the chart.
get ranges(): IgxLinearGraphRangeCollection
Returns IgxLinearGraphRangeCollection
scaleBrush
Section titled "scaleBrush"Gets or sets the brush to use to fill the scale of the linear gauge.
get scaleBrush(): string
Returns string
set scaleBrush(v: string): void Parameters
- v:
string
Returns void
scaleEndExtent
Section titled "scaleEndExtent"Gets or sets the position at which to stop rendering the scale as a value from 0 to 1, measured from the front/bottom of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.
get scaleEndExtent(): number
Returns number
set scaleEndExtent(v: number): void Parameters
- v:
number
Returns void
scaleInnerExtent
Section titled "scaleInnerExtent"Gets or sets the position at which to start rendering the scale, measured from the bottom/front (when orientation is horizontal/vertical) of the control as a value from 0 to 1. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.
get scaleInnerExtent(): number
Returns number
set scaleInnerExtent(v: number): void Parameters
- v:
number
Returns void
scaleOuterExtent
Section titled "scaleOuterExtent"Gets or sets the position at which to stop rendering the scale as a value from 0 to 1 measured from the bottom/front (when orientation is horizontal/vertical) of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.
get scaleOuterExtent(): number
Returns number
set scaleOuterExtent(v: number): void Parameters
- v:
number
Returns void
scaleOutline
Section titled "scaleOutline"Gets or sets the brush to use for the outline of the scale.
get scaleOutline(): string
Returns string
set scaleOutline(v: string): void Parameters
- v:
string
Returns void
scaleStartExtent
Section titled "scaleStartExtent"Gets or sets the position at which to start rendering the scale, measured from the front/bottom of the linear gauge as a value from 0 to 1. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.
get scaleStartExtent(): number
Returns number
set scaleStartExtent(v: number): void Parameters
- v:
number
Returns void
scaleStrokeThickness
Section titled "scaleStrokeThickness"Gets or sets the stroke thickness of the scale outline.
get scaleStrokeThickness(): number
Returns number
set scaleStrokeThickness(v: number): void Parameters
- v:
number
Returns void
showToolTip
Section titled "showToolTip"Gets or sets a value indicating whether tooltips are enabled.
get showToolTip(): boolean
Returns boolean
set showToolTip(v: boolean): void Parameters
- v:
boolean
Returns void
showToolTipTimeout
Section titled "showToolTipTimeout"Gets or sets the time in milliseconds that tooltip appearance is delayed with.
get showToolTipTimeout(): number
Returns number
set showToolTipTimeout(v: number): void Parameters
- v:
number
Returns void
tickBrush
Section titled "tickBrush"Gets or sets the brush to use for the major tickmarks.
get tickBrush(): string
Returns string
set tickBrush(v: string): void Parameters
- v:
string
Returns void
tickEndExtent
Section titled "tickEndExtent"Gets or sets the position at which to stop rendering the major tickmarks as a value from 0 to 1, measured from the front/bottom of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.
get tickEndExtent(): number
Returns number
set tickEndExtent(v: number): void Parameters
- v:
number
Returns void
ticksPostInitial
Section titled "ticksPostInitial"A value to start adding tickmarks, added to the scale's MinimumValue.
get ticksPostInitial(): number
Returns number
set ticksPostInitial(v: number): void Parameters
- v:
number
Returns void
ticksPreTerminal
Section titled "ticksPreTerminal"A value to stop adding tickmarks, subtracted from the scale's MaximumValue.
get ticksPreTerminal(): number
Returns number
set ticksPreTerminal(v: number): void Parameters
- v:
number
Returns void
tickStartExtent
Section titled "tickStartExtent"Gets or sets the position at which to start rendering the major tickmarks as a value from 0 to 1, measured from the front/bottom of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.
get tickStartExtent(): number
Returns number
set tickStartExtent(v: number): void Parameters
- v:
number
Returns void
tickStrokeThickness
Section titled "tickStrokeThickness"Gets or sets the stroke thickness to use when rendering ticks.
get tickStrokeThickness(): number
Returns number
set tickStrokeThickness(v: number): void Parameters
- v:
number
Returns void
tooltipTemplate
Section titled "tooltipTemplate"get tooltipTemplate(): TemplateRef<any>
Returns TemplateRef<any>
set tooltipTemplate(value: TemplateRef<any>): void Parameters
- value:
TemplateRef<any>
Returns void
transitionDuration
Section titled "transitionDuration"Gets or sets the number of milliseconds over which changes to the linear gauge should be animated.
get transitionDuration(): number
Returns number
set transitionDuration(v: number): void Parameters
- v:
number
Returns void
transitionProgress
Section titled "transitionProgress"Gets the transition progress of the animation when the control is animating.
get transitionProgress(): number
Returns number
set transitionProgress(v: number): void Parameters
- v:
number
Returns void
value
Section titled "value"Gets or sets the value at which the needle is positioned.
get value(): number
Returns number
set value(v: number): void Parameters
- v:
number
Returns void
valueChanged
Section titled "valueChanged"Occurs when the Value property changes.
get valueChanged(): EventEmitter<object>
Returns EventEmitter<object>
width
Section titled "width"get width(): string
Returns string
set width(value: string): void Parameters
- value:
string
Returns void
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