/syncfusion-aspnet-core:syncfusion-aspnetcore-circulargaugefrom Syncfusion ASP.NET Core UI Controls
Creating and customizing Syncfusion Circular Gauge - a circular data visualization component for displaying numeric values. ALWAYS use this skill when users need to implement circular gauges, display metrics on a circular scale, configure gauge axes, add pointers or ranges, create data visualization gauges, customize gauge appearance, handle user interactions with gauges, or build dashboards with circular gauge components.
Ships in Syncfusion ASP.NET Core UI Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill whenever a user needs to:
The Circular Gauge is a data visualization component used to display numeric values on a circular scale. It is suitable for dashboards, status indicators, monitoring screens, and KPI visualizations.
All gauge elements are rendered using SVG, which makes the component scalable and suitable for responsive layouts.
Key features include:
Read this topic when you need to set up the Circular Gauge for the first time in an ASP.NET Core Razor Pages application.
Covered areas:
Syncfusion.EJ2.AspNet.Core NuGet package._ViewImports.cshtml._Layout.cshtml.Index.cshtml.Index.cshtml.cs.Read this topic when you need to configure the gauge scale.
Covered areas:
Read this topic when you need to display values on the gauge.
Covered areas:
Read this topic when you need to visually divide the gauge into meaningful zones.
Covered areas:
Read this topic when you need to place additional content inside or around the gauge.
Covered areas:
Read this topic when you need to modify the visual appearance using Circular Gauge properties.
Covered areas:
centerX and centerY.Read this topic when you need to make the gauge interactive.
Covered areas:
Read this topic when you need to display culture-specific gauge content.
Covered areas:
Read this topic when you need to export or print the Circular Gauge.
Covered areas:
Read this topic when you need to make the Circular Gauge easier to use with assistive technologies.
Covered areas:
Read this topic when you need to control the rendered size of the gauge.
Covered areas:
The following quick start uses a complete ASP.NET Core Razor Pages structure.
This example intentionally uses:
@namespace directive in _ViewImports.cshtml.Index.cshtml.Use the latest package version consistently in both the NuGet package and CDN script reference.
Install the NuGet package:
Install-Package Syncfusion.EJ2.AspNet.Core -Version 33.2.7
Or install using .NET CLI:
dotnet add package Syncfusion.EJ2.AspNet.Core --version 33.2.7
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Syncfusion.EJ2
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Circular Gauge Demo</title>
<!-- Syncfusion ASP.NET Core controls script -->
<script src="https://cdn.syncfusion.com/ej2/33.2.7/dist/ej2.min.js"></script>
</head>
<body>
<header>
<nav>
<a asp-area="" asp-page="/Index">Circular Gauge Demo</a>
</nav>
</header>
<main role="main">
@RenderBody()
</main>
<!-- Syncfusion ASP.NET Core Script Manager -->
<ejs-scripts></ejs-scripts>
@await RenderSectionAsync("Scripts", required: false)
</body>
</html>
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace CircularGaugeGettingStarted.Pages
{
public class IndexModel : PageModel
{
public string GaugeTitle { get; set; } = "Speed";
public double MinimumValue { get; set; } = 0;
public double MaximumValue { get; set; } = 120;
public double PointerValue { get; set; } = 70;
public double SafeRangeStart { get; set; } = 0;
public double SafeRangeEnd { get; set; } = 50;
public double WarningRangeStart { get; set; } = 50;
public double WarningRangeEnd { get; set; } = 80;
public double DangerRangeStart { get; set; } = 80;
public double DangerRangeEnd { get; set; } = 120;
public void OnGet()
{
}
}
}
@page
@model CircularGaugeGettingStarted.Pages.IndexModel
@{
ViewData["Title"] = "Circular Gauge";
}
<h1>ASP.NET Core Circular Gauge</h1>
<p>Basic Circular Gauge with axis, pointer, and ranges.</p>
<ejs-circulargauge id="speedGauge"
title="@Model.GaugeTitle"
width="100%"
height="450px">
<e-circulargauge-axes>
<e-circulargauge-axis startAngle="240"
endAngle="120"
minimum="@Model.MinimumValue"
maximum="@Model.MaximumValue"
radius="90%">
<e-circulargauge-ranges>
<e-circulargauge-range start="@Model.SafeRangeStart"
end="@Model.SafeRangeEnd"
color="#30B32D"
radius="80%">
</e-circulargauge-range>
<e-circulargauge-range start="@Model.WarningRangeStart"
end="@Model.WarningRangeEnd"
color="#FFDD00"
radius="80%">
</e-circulargauge-range>
<e-circulargauge-range start="@Model.DangerRangeStart"
end="@Model.DangerRangeEnd"
color="#F03E3E"
radius="80%">
</e-circulargauge-range>
</e-circulargauge-ranges>
<e-circulargauge-pointers>
<e-circulargauge-pointer value="@Model.PointerValue">
</e-circulargauge-pointer>
</e-circulargauge-pointers>
</e-circulargauge-axis>
</e-circulargauge-axes>
</ejs-circulargauge>
Use this pattern when a dashboard needs to show multiple metrics such as speed, temperature, pressure, score, or utilization.
Implementation approach:
<ejs-circulargauge> instances for each metric.id values for every gauge.Index.cshtml.cs.Example model values:
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace CircularGaugeGettingStarted.Pages
{
public class IndexModel : PageModel
{
public double SpeedValue { get; set; } = 70;
public double TemperatureValue { get; set; } = 45;
public double PressureValue { get; set; } = 90;
public void OnGet()
{
}
}
}
Example Index.cshtml structure:
@page
@model CircularGaugeGettingStarted.Pages.IndexModel
@{
ViewData["Title"] = "Gauge Dashboard";
}
<h1>Gauge Dashboard</h1>
<ejs-circulargauge id="speedGauge" title="Speed" width="100%" height="300px">
<e-circulargauge-axes>
<e-circulargauge-axis minimum="0" maximum="120">
<e-circulargauge-pointers>
<e-circulargauge-pointer value="@Model.SpeedValue">
</e-circulargauge-pointer>
</e-circulargauge-pointers>
</e-circulargauge-axis>
</e-circulargauge-axes>
</ejs-circulargauge>
<ejs-circulargauge id="temperatureGauge" title="Temperature" width="100%" height="300px">
<e-circulargauge-axes>
<e-circulargauge-axis minimum="0" maximum="100">
<e-circulargauge-pointers>
<e-circulargauge-pointer value="@Model.TemperatureValue">
</e-circulargauge-pointer>
</e-circulargauge-pointers>
</e-circulargauge-axis>
</e-circulargauge-axes>
</ejs-circulargauge>
<ejs-circulargauge id="pressureGauge" title="Pressure" width="100%" height="300px">
<e-circulargauge-axes>
<e-circulargauge-axis minimum="0" maximum="150">
<e-circulargauge-pointers>
<e-circulargauge-pointer value="@Model.PressureValue">
</e-circulargauge-pointer>
</e-circulargauge-pointers>
</e-circulargauge-axis>
</e-circulargauge-axes>
</ejs-circulargauge>
Use this pattern when users need to change a gauge value directly by dragging the pointer.
Implementation approach:
enablePointerDrag="true" on the Circular Gauge.Example:
@page
@model CircularGaugeGettingStarted.Pages.IndexModel
@{
ViewData["Title"] = "Interactive Gauge";
}
<h1>Interactive Circular Gauge</h1>
<p>Drag the pointer to change the value.</p>
<ejs-circulargauge id="interactiveGauge"
title="Interactive Speed"
width="100%"
height="450px"
enablePointerDrag="true">
<e-circulargauge-axes>
<e-circulargauge-axis minimum="0"
maximum="120"
startAngle="240"
endAngle="120">
<e-circulargauge-pointers>
<e-circulargauge-pointer value="@Model.SpeedValue">
</e-circulargauge-pointer>
</e-circulargauge-pointers>
</e-circulargauge-axis>
</e-circulargauge-axes>
</ejs-circulargauge>
Use this pattern when the gauge must communicate safe, warning, and danger zones.
Recommended range design:
Example:
@page
@model CircularGaugeGettingStarted.Pages.IndexModel
@{
ViewData["Title"] = "Gauge with Ranges";
}
<h1>Gauge with Ranges</h1>
<ejs-circulargauge id="rangeGauge"
title="System Load"
width="100%"
height="450px">
<e-circulargauge-axes>
<e-circulargauge-axis minimum="0"
maximum="120"
startAngle="240"
endAngle="120">
<e-circulargauge-ranges>
<e-circulargauge-range start="0"
end="50"
color="#30B32D"
radius="80%">
</e-circulargauge-range>
<e-circulargauge-range start="50"
end="80"
color="#FFDD00"
radius="80%">
</e-circulargauge-range>
<e-circulargauge-range start="80"
end="120"
color="#F03E3E"
radius="80%">
</e-circulargauge-range>
</e-circulargauge-ranges>
<e-circulargauge-pointers>
<e-circulargauge-pointer value="@Model.SpeedValue">
</e-circulargauge-pointer>
</e-circulargauge-pointers>
</e-circulargauge-axis>
</e-circulargauge-axes>
</ejs-circulargauge>
Use this pattern when a gauge should support culture-specific text direction or number display.
Implementation approach:
locale to apply culture-specific formatting where localization resources are configured.enableRtl="true" for right-to-left rendering.Example:
@page
@model CircularGaugeGettingStarted.Pages.IndexModel
@{
ViewData["Title"] = "Localized Gauge";
}
<h1>Localized Circular Gauge</h1>
<ejs-circulargauge id="localizedGauge"
title="@Model.GaugeTitle"
width="100%"
height="450px"
locale="en-US"
enableRtl="false"
useGroupingSeparator="true">
<e-circulargauge-axes>
<e-circulargauge-axis minimum="0"
maximum="100000"
startAngle="240"
endAngle="120">
<e-circulargauge-pointers>
<e-circulargauge-pointer value="65000">
</e-circulargauge-pointer>
</e-circulargauge-pointers>
</e-circulargauge-axis>
</e-circulargauge-axes>
</ejs-circulargauge>
| Property | Purpose | Common Values |
|---|---|---|
title | Sets the gauge title text. | "Speed", "Temperature", "System Load" |
centerX | Sets the horizontal center position of the gauge. | "50%", "100px" |
centerY | Sets the vertical center position of the gauge. | "50%", "100px" |
width | Sets the gauge width. | "400px", "100%" |
height | Sets the gauge height. | "450px", "100%" |
background | Sets the gauge background color. | "transparent", "#f5f5f5", "white" |
enablePointerDrag | Enables pointer dragging. | true, false |
enableRtl | Enables right-to-left rendering. | true, false |
useGroupingSeparator | Enables grouping separators for numeric labels. | true, false |
allowPrint | Enables print support. | true, false |
allowImageExport | Enables image export support. | true, false |
allowPdfExport | Enables PDF export support. | true, false |
description | Provides assistive description text. | "Speed gauge showing current speed" |
Index.cshtml.cs responsible for values and page data.Index.cshtml responsible for Circular Gauge markup._Layout.cshtml responsible for the Syncfusion script reference and <ejs-scripts> registration.references/api-reference.md (opens in a new tab)references/gauge-accessibility.md (opens in a new tab)references/gauge-annotations.md (opens in a new tab)references/gauge-appearance.md (opens in a new tab)references/gauge-axes.md (opens in a new tab)references/gauge-dimensions.md (opens in a new tab)references/gauge-internationalization.md (opens in a new tab)references/gauge-pointers.md (opens in a new tab)references/gauge-print-export.md (opens in a new tab)references/gauge-ranges.md (opens in a new tab)references/gauge-user-interaction.md (opens in a new tab)references/getting-started.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-aspnet-core66 skills in this plugin
/syncfusion-aspnetcore-3d-chartGuide for implementing Syncfusion 3D Chart in ASP.NET Core. Always use this skill when user needs 3D chart functionality, data visualization, series configuration, axes setup, or interactive chart features like tooltips and selection. Covers setup, data binding, chart types, styling, and user interactions./syncfusion-aspnetcore-accordionImplement Syncfusion Accordion component for organizing expandable navigation and content sections with single or multiple pane expansion support./syncfusion-aspnetcore-Other plugins' skills for the same job