Hierarchy

Hierarchy

  • IIgrLinearGaugeProps

Properties

actualHighlightValueDisplayMode?: string | HighlightedValueDisplayMode

Gets whether and how to display the highlighted value.

actualHighlightValueOpacity?: string | number

Gets the actual opacity of the primary needle while highlighting

actualMaximumValue?: string | number

Gets the resolved maximum value of the scale.

actualMinimumValue?: string | number

Gets the resolved minimum value of the scale.

actualPixelScalingRatio?: string | number

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.

alignLabel?: ((s, e) => void)

Type declaration

    • (s, e): void
    • 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.

      Parameters

      Returns void

backingBrush?: string

Gets or sets the brush to use to fill the backing of the linear gauge.

backingInnerExtent?: string | number

Gets or sets the inner extent of the linear gauge backing.

backingOuterExtent?: string | number

Gets or sets the outer extent of the linear gauge backing.

backingOutline?: string

Gets or sets the brush to use for the outline of the backing.

backingStrokeThickness?: string | number

Gets or sets the stroke thickness of the backing outline.

children?: ReactNode
font?: string

Gets or sets the font.

fontBrush?: string

Gets or sets the brush to use for the label font.

formatLabel?: ((s, e) => void)

Type declaration

    • (s, e): void
    • 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.

      Parameters

      Returns void

height?: string
highlightValue?: string | number

Gets or sets the highlight value at which to point the secondary needle of the gauge.

highlightValueChanged?: ((s, e) => void)

Type declaration

    • (s, e): void
    • Occurs when the Hightlight Value property changes.

      Parameters

      Returns void

highlightValueDisplayMode?: string | HighlightedValueDisplayMode

Gets or sets whether and how to display the highlighted value.

highlightValueOpacity?: string | number

Gets or sets the opacity of the primary needle while highlighting

interval?: string | number

Gets or sets the interval to use for the scale.

isHighlightNeedleDraggingEnabled?: string | boolean

Gets or sets whether highlight needle dragging is enabled or not.

isNeedleDraggingEnabled?: string | boolean

Gets or sets whether needle dragging is enabled or not.

isScaleInverted?: string | boolean

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.

labelExtent?: string | number

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.

labelFormat?: string

Gets or sets the label composite format used when creating label values.

labelFormatSpecifiers?: any[]

Gets or sets the format specifiers to use with the LabelFormat string.

labelInterval?: string | number

Gets or sets the interval to use for rendering labels. This defaults to be the same interval as the tickmarks on the scale.

labelsPostInitial?: string | number

A value to start adding labels, added to the scale's MinimumValue.

labelsPreTerminal?: string | number

A value to stop adding labels, subtracted from the scale's MaximumValue.

maximumValue?: string | number

Gets or sets the maximum value of the scale.

mergeViewports?: string | boolean

Gets or sets whether the scale viewport will be merged with backing viewport.

minimumValue?: string | number

Gets or sets the minimum value of the scale.

minorTickBrush?: string

Gets or sets the brush to use for the minor tickmarks.

minorTickCount?: string | number

Gets or sets the number of minor tickmarks to place between major tickmarks.

minorTickEndExtent?: string | number

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.

minorTickStartExtent?: string | number

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.

minorTickStrokeThickness?: string | number

Gets or sets the stroke thickness to use when rendering minor ticks.

needleBreadth?: string | number

Gets or sets the needle breadth.

needleBrush?: string

Gets or sets the brush to use for needle element.

needleInnerBaseWidth?: string | number

Gets or sets the width of the needle's inner base.

needleInnerExtent?: string | number

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.

needleInnerPointExtent?: string | number

Gets or sets the extent of the needle's inner point.

needleInnerPointWidth?: string | number

Gets or sets the width of the needle's inner point.

needleName?: string

Gets or sets the name used for needle.

needleOuterBaseWidth?: string | number

Gets or sets the width of the needle's outer base.

needleOuterExtent?: string | number

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.

needleOuterPointExtent?: string | number

Gets or sets the extent of the needle's outer point.

needleOuterPointWidth?: string | number

Gets or sets the width of the needle's outer point.

needleOutline?: string

Gets or sets the brush to use for the outline of needle element.

needleShape?: string | LinearGraphNeedleShape

Gets or sets the shape to use when rendering the needle from a number of options.

needleStrokeThickness?: string | number

Gets or sets the stroke thickness to use when rendering single actual value element.

orientation?: string | LinearScaleOrientation

Gets or sets the orientation of the scale.

pixelScalingRatio?: string | number

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.

rangeBrushes?: string | string[]

Gets or sets a collection of brushes to be used as the palette for linear gauge ranges.

rangeInnerExtent?: string | number

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.

rangeOuterExtent?: string | number

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.

rangeOutlines?: string | string[]

Gets or sets a collection of brushes to be used as the palette for linear gauge outlines.

scaleBrush?: string

Gets or sets the brush to use to fill the scale of the linear gauge.

scaleEndExtent?: string | number

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.

scaleInnerExtent?: string | number

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.

scaleOuterExtent?: string | number

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.

scaleOutline?: string

Gets or sets the brush to use for the outline of the scale.

scaleStartExtent?: string | number

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.

scaleStrokeThickness?: string | number

Gets or sets the stroke thickness of the scale outline.

showToolTip?: string | boolean

Gets or sets a value indicating whether tooltips are enabled.

showToolTipTimeout?: string | number

Gets or sets the time in milliseconds that tooltip appearance is delayed with.

tickBrush?: string

Gets or sets the brush to use for the major tickmarks.

tickEndExtent?: string | number

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.

tickStartExtent?: string | number

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.

tickStrokeThickness?: string | number

Gets or sets the stroke thickness to use when rendering ticks.

ticksPostInitial?: string | number

A value to start adding tickmarks, added to the scale's MinimumValue.

ticksPreTerminal?: string | number

A value to stop adding tickmarks, subtracted from the scale's MaximumValue.

transitionDuration?: string | number

Gets or sets the number of milliseconds over which changes to the linear gauge should be animated.

transitionProgress?: string | number

Gets the transition progress of the animation when the control is animating.

value?: string | number

Gets or sets the value at which the needle is positioned.

valueChanged?: ((s, e) => void)

Type declaration

    • (s, e): void
    • Occurs when the Value property changes.

      Parameters

      Returns void

width?: string