ASP.NET Core CircularGauge Overview
The Telerik UI CircularGauge TagHelper and HtmlHelper for ASP.NET Core are server-side wrappers for the Kendo UI CircularGauge widget.
The CircularGauge represents a value on a circular scale. It allows you to visualize numeric values in an attractive manner that matches the other widgets on the page.
It is essentially very similar to the ArcGauge with the difference that the CircularGauge is a complete circle. There are bigger differences with RadialGauge, however, since the Radial widget is focusing on displaying a value on a scale with the help of a pointer element. Also, setting range colors on the RadialGauge happens for the scale itself, while the color ranges for the CircularGauge happen for the value fill.
Initializing the CircularGauge
-
Create a new action method which renders the view.
Razorpublic ActionResult Index() { return View(); }
-
Add the CircularGauge.
Razor@(Html.Kendo().CircularGauge() .Name("circularGauge") // The name of the CircularGauge is mandatory. It specifies the "id" attribute of the widget. .Value(65) .Scale(x => x.Min(0).Max(100)) .CenterTemplate("#:value#%") )
Functionality and Features
- Scale—You can control how the scale of the Circular Gauge renders the values, pointers and labels.
- Colors—The scale of the Circular Gauge can be configured to show different colors for different values.
- Export—You can export the Circular Gauge as an image, SVG, or a PDF file.
Next Steps
-
Basic Usage of the CircularGauge HtmlHelper for ASP.NET Core (Demo)
-
Basic Usage of the CircularGauge TagHelper for ASP.NET Core (Demo)