Name | Type | Default | Description |
AnalogDisplayType | GaugeAnalogDisplayType | GaugeAnalogDisplayType.Needle | Determines the type of gauge's indicator. |
AnimationDuration | int | 300 | Sets or gets gauge's animation duration. Applicable only when animation is not 'none'. |
Coerce | bool | false | With the coerce property true, the value is set to the nearest value allowed by the interval property. |
CustomInterval | bool | false | Sets or gets whether custom ticks at (possibly) uneven interval will be plotted. The ticks to be plotted are defined with the property customTicks. |
CustomTicks | int[] | new int[]{} | If customInterval is enabled, sets a list of ticks to be plotted. If coerce is set to true, the value will snap to these ticks. |
DateLabelFormatString | string | "d" | Determines the date pattern of the labels when mode is 'date'. |
DecimalSeparator | string | ""."" | Sets or gets the char to use as the decimal separator in numeric values. |
DigitalDisplay | bool | false | Enables or disables the digital display of the element. |
DigitalDisplayPosition | GaugeDigitalDisplayPosition | GaugeDigitalDisplayPosition.Bottom | Sets the position of the digital display inside the element. |
Disabled | bool | false | Enables or disables the element. |
DrawNeedle | object | N/A | Callback function which allows rendering of a custom needle. Applicable only to analogDisplayType needle. |
EndAngle | int | 210 | Sets or gets Gauge's end angle. This property specifies the end of the gauge's scale and is measured in degrees. |
Interval | int | 1 | When cooerce property is true, all values coerce to the interval's value. |
Inverted | bool | false | Sets the direction of the gauge. If true - the positions of the gauge's start and end are switched. |
LabelFormatFunction | object | N/A | A callback function that can be used to format the values displayed inside the gauge labels. |
LabelsVisibility | LabelsVisibility | LabelsVisibility.All | Determines the visibility of the labels inside the element. |
Locale | string | "en" | Sets or gets the locale. Used in conjunction with the property messages. |
LogarithmicScale | bool | false | Enables or disables the usage of logarithmic scale in the element. |
Max | int | 100 | Determines the maximum value for the scale of the element. |
MechanicalAction | DragMechanicalAction | DragMechanicalAction.SwitchWhileDragging | Determines when the value of the element is updated. |
Messages | object | N/A | Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. |
Min | int | 0 | Determines the minimum value for the scale of the element. |
Mode | ScaleMode | ScaleMode.Numeric | Determines whether the element works with numbers or dates. |
Name | string | "" | Sets or gets the element's name, which is used as a reference when the data is submitted. |
NeedlePosition | GaugeNeedlePosition | GaugeNeedlePosition.Center | Determines the position of the needle when analogDisplayType is 'needle'. |
PrecisionDigits | int | N/A | Determines the number of digits after the decimal point. Applicable only when scaleType is 'floatingPoint'. |
Ranges | IEnumerable<object> | N/A | This property represents an array of objects. Each object is a different range. The range is a colored area with specific size. |
Readonly | bool | false | When the element is read only the users cannot interact with it. |
RightToLeft | bool | false | Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. If enabled, the scale is inverted and the labels and digital display are oriented from right to left. |
ScalePosition | GaugeScalePosition | GaugeScalePosition.Inside | Determines the position of the scale in the element. |
ScaleType | ScaleType | ScaleType.FloatingPoint | Determines the type of the gauge's value and scale. |
ScientificNotation | bool | false | Enables or disables scientific notation. |
ShowRanges | bool | false | This property indicates whether the gauge ranges are visible or not. |
ShowUnit | bool | false | Enables or disables displaying of units. |
SignificantDigits | int? | N/A | Determining how many significant digits are in a number. Applicable only when scaleType is 'integer'. |
SizeMode | GaugeSizeMode | GaugeSizeMode.Circle | Determines how the Gauge will size. |
StartAngle | int | -30 | Sets or gets gauge's start angle. This property specifies the beggining of the gauge's scale and is measured in degrees. |
Theme | string | "" | Sets or gets the element's visual theme. |
TicksPosition | TicksPosition | TicksPosition.Scale | Determines the position of the ticks in the Gauge. |
TicksVisibility | TicksVisibility | TicksVisibility.Minor | Determines the visibility of the ticks. |
Unfocusable | bool | false | Sets or gets if the element can be focused. |
Unit | string | "kg" | Sets or gets the name of unit used for the values on the scale of the element. |
Validation | Validation | Validation.Strict | Sets the value's validation by min/max. |
Value | object | 0 | Sets or gets the value of the element. The value can be a date only when scaleType is 'date'. |
WordLength | WordLength | WordLength.Int32 | Sets or gets the word length. Applicable only when scaleType is 'integer'. |
Name | Type | Arguments | Description |
GetOptimalSize | object | N/A | Gets the optimal size of the element (the current width and the height based on the plotted internal elements). |
GetValueAsync() | Task<object> | 'N/A' | Gets the "Value" property as Task<object>. |
Refresh | void | 'N/A' | Refreshes the Blazor Component. Performs a layout of the HTML Elements and recalculates the measurements. |
Render | void | 'N/A' | Re-renders the Blazor Component. This method will make a full re-render. |
StateHasChanged | void | 'N/A' | Refreshes the state and Re-renders the Blazor Component, if necessary. |
Val | string | object value | Get/set the value of the gauge.Args: object value - The value to be set. If no parameter is passed, returns the current value of the gauge. The value can be a date only when <b>scaleType</b> is 'date'. |
Val | string | N/A | Get/set the value of the gauge. |
Val | string | string value | Get/set the value of the gauge.Args: string value - The value to be set. If no parameter is passed, returns the current value of the gauge. The value can be a date only when <b>scaleType</b> is 'date'. |
Val | string | int value | Get/set the value of the gauge.Args: int value - The value to be set. If no parameter is passed, returns the current value of the gauge. The value can be a date only when <b>scaleType</b> is 'date'. |