Blazor LinearGauge - Overview

Configurator

Change pointer value

  • Overview.razor
Loading the demo source code...please wait.

Style in ThemeBuilder

  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming
blazor ui ninja image

The LinearGauge component is part of Telerik UI for Blazor, a professional grade UI library with 110+ native components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Description

The Telerik UI for Blazor LinearGauge visualizes numerical values on a scale of ranges in a linear format. It is one of the four gauge UI components available in the Telerik UI for Blazor data visualization collection that lets you visualize data values against a scale to easily identify them as suitable or sub-par values. In the linear gauge, the dial is a classic straight ruler scale that resembles a thermometer.

In the current demo, you can see a primary example of the Telerik LinearGauge component in Blazor applications. The gauge is added to a razor file by plugging the <TelerikLinearGauge> tag. Its scale is configured with minimum and maximum values in the tag <LinearGaugeScale> and an instance of the <LinearGaugePointer> is added as part of the <LinearGaugePointers> collection with an assigned value. To interact with the example, you can change the pointer values and see how the LinearGauge pointer updates its value on the scale.

The Telerik LinearGauge exposes multiple features and properties for further customization:

CSS class, width, height, scale orientation (horizontal and vertical), minimum and maximum values, direction, minor and major unit ticks, ranges (from and to values, color and opacity), labels (format, color and visibility) and pointer settings (shape, color, opacity, size and margin). In case you need to re-render the LinearGauge programmatically, you can take advantage of the exposed Refresh method.

This Blazor Gauges Overview example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.

Support & Learning Resources

Additional Resources

An error has occurred. This application may no longer respond until reloaded.