Syncfusion® ASP.NET MVC Linear Gauge control is used to display data along a linear scale, either horizontally or vertically. It supports multiple axes, multiple pointers (bar, marker), ranges, gradient fills, tooltips, annotations, and animation. Common use cases include thermometers, progress indicators, ruler-style KPIs, and measurement instruments. It is highly customizable and accessible, making it a versatile gauge control for dashboards and industrial monitoring applications built on ASP.NET MVC.
Install
No framework information available.
README
Syncfusion® ASP.NET MVC Linear Gauge Component
The Syncfusion® ASP.NET MVC Linear Gauge component is used to display data linearly, similar to a thermometer or a progress bar gauge. It is ideal for visualizing measurements like temperature, voltage, pressure, and progress metrics.
Using this package with an AI coding agent
Before generating Syncfusion® code, ask your AI coding agent to run the Syncfusion® setup using the following prompt:
Set up this project for Syncfusion® before generating code. Fetch and follow the official instructions at https://ai.syncfusion.com/agent-setup/prompt.md, then report the detected platform, installed skill pack, MCP status, and any required licensing action.
The setup detects your project's platform and loads the appropriate Syncfusion® skill pack. No Syncfusion® account or MCP key is required to install or read Syncfusion® agent skills.
Platform reference: https://ai.syncfusion.com/aspnet-mvc/llms.txt
Key Features
- Orientations: Horizontal and vertical gauge orientations
- Multiple Axes: Support for multiple axes with independent ranges
- Pointer Types: Bar and marker pointer types for different use cases
- Range Coloring: Custom range colors and gradient support
- Annotations: Add custom content and labels inside the gauge
- Tooltip & Animation: Interactive tooltips with smooth animations
- Export Options: Export to PNG, JPEG, SVG, and PDF formats
- Responsive Design: Mobile-friendly layout and touch support
- Accessibility: Full WCAG compliance and ARIA support
Common Setup
These setup steps are required only once for your application, regardless of which Syncfusion components you use.
1. Install Base NuGet Package
Install-Package Syncfusion.AspNetMvc.LinearGauge
2. Add Namespace Reference
Edit Web.config under the Views folder and add the Syncfusion.EJ2 namespace:
<namespaces>
<add namespace="Syncfusion.EJ2"/>
</namespaces>
3. Add Stylesheet & Script References
In your layout file (~/Views/Shared/_Layout.cshtml), add the following in the <head> section:
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewBag.Title - Syncfusion Application</title>
<!-- Syncfusion ASP.NET MVC controls styles -->
<link rel="stylesheet" href="https://cdn.syncfusion.com/ej2/34.2.6/fluent2.css" />
<!-- Syncfusion ASP.NET MVC controls scripts -->
<script src="https://cdn.syncfusion.com/ej2/34.2.6/dist/ej2.min.js"></script>
</head>
4. Register Script Manager
At the end of the <body> tag in your layout file (~/Views/Shared/_Layout.cshtml):
<body>
@RenderBody()
<!-- Syncfusion ASP.NET MVC Script Manager -->
@Html.EJS().ScriptManager()
</body>
Quick Start
Step 1: Add ASP.NET MVC LinearGauge control
Add the Syncfusion® ASP.NET MVC LinearGauge control ~/Views/Home/Index.cshtml page:
@Html.EJS().LinearGauge("linear")
.Axes(ax =>
{
ax.Minimum(0).Maximum(100).Pointers(p =>
{
p.Value(60).Add();
}).Add();
})
.Render()
Support
License
This is a commercial product and requires a paid license for possession or use. Review the Syncfusion® EULA
About Syncfusion®
Syncfusion® provides 1600+ UI components and frameworks for web, mobile, and desktop development across multiple platforms:
Web: Blazor | ASP.NET MVC | ASP.NET MVC | JavaScript | Angular | React | Vue
Desktop: WinForms | WPF | WinUI
Learn more at www.syncfusion.com
[email protected] | Toll Free: 1-888-9-DOTNET
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.