Blazor ArcGauge - Overview
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
Change pointer value
The ArcGauge component is part of Telerik UI for Blazor, a professional grade UI library with 100+ native components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.
The Telerik UI for Blazor ArcGauge is one of the four gauge UI components available in the Telerik UI for Blazor data visualization collection. The Arc Gauge lets you visualize data values against a scale to easily identify them as suitable or sub-par values. In essence, you can use the ArcGauge component when you need to visualize numerical values on an arc scale.
In the current demo, you can see a primary example of how to use the Telerik ArcGauge component in Blazor applications. You need to add the <TelerikArcGauge> tag in your razor file, add an instance of the <ArcGaugePointer> to the <ArcGaugePointers> collection and provide a value for it. Additionally, you can also add a center label to the gauge and customize its content by using the gauge’s templating feature. To do so, you need to place the content you want to be rendered within the <ArcGaugeCenterLabel> tag.
The Blazor ArcGauge scale consists of values, pointers and labels. The multiple configuration properties enable you to easily implement the component based on your requirements. The customization settings include minimum and maximum values, minor and major unit ticks, start and end angle of the scale, pointer shape, size and color, as well as scale labels color, position, visibility and format. In case you need to re-render the ArcGauge programmatically, you can take advantage of the exposed Refresh method.