Skip to main content
net8.0net9.0net10.0

Syncfusion® Blazor Linear Gauge component for visualizing measurements and metrics on a linear scale. Supports customizable ranges, pointers, labels, and annotations. Designed for Blazor Server and Blazor WebAssembly applications.

Published
Sep 8, 2026
1mo ago
Total Downloads
401.5K
401,508

Install

dotnet add package Syncfusion.Blazor.LinearGauge --version 34.2.7
ProductVersions
.NET
net10.0net8.0net9.0

README

Syncfusion® Blazor Linear Gauge Component

The Blazor Linear Gauge Component visualizes numeric values on a linear scale. It supports multiple axes, customizable ranges, pointers, labels, and annotations for creating thermometers, pressure gauges, rulers, and other measurement displays.

Blazor Linear Gauge

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, 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/blazor/llms.txt

Key Features

  • Multiple Axes Support - Add and customize multiple parallel axes within a single gauge to create advanced layouts such as thermometers, rulers, or dual‑scale indicators.
  • Customizable Ranges - Define multiple ranges with custom colors, gradients, widths, and positions to highlight specific value intervals or thresholds.
  • Versatile Pointer Types - Use bar pointers to represent progress or filled values, or marker pointers (circle, diamond, triangle, custom icons) to indicate exact data points. Pointer styling options include size, color, and animation effects.
  • Labels, Ticks & Annotations - Customize labels with prefixes, suffixes, font settings, and formatting. Configure major/minor ticks and add annotations (text, shapes, images) anywhere on the gauge for richer context.
  • Horizontal & Vertical Orientations - Render the gauge in vertical or horizontal layout, making it adaptable for dashboards, compact UI spaces, and responsive interfaces.
  • Container Customization - Choose from container styles such as rectangle, rounded rectangle, or thermometer, enabling highly tailored gauge visualizations.
  • Interactive Features - Enable pointer dragging for dynamic value updates and tooltips for enhanced data interaction in real‑time scenarios.
  • Themes & Styling - Supports built‑in themes such as Material, Bootstrap, Fluent, Tailwind, and Fabric, with full customization to match your application’s design system.
  • Export & Printing Options - Export the gauge as an image or PDF, or output base64 strings for embedding in documents, reports, or custom UI.
  • Globalization & Accessibility - Built‑in globalization for number formatting and full keyboard/screen‑reader accessibility compliance (WAI‑ARIA).
  • Blazor Server & WebAssembly Support - Fully compatible with both Blazor Server and Blazor WebAssembly hosting models.

System Requirements

  • .NET 8.0 or later (Blazor Web App, Blazor Server, Blazor WebAssembly and Blazor Hybrid)
  • See full requirements: System Requirements.

Installation

Install the LinearGauge package, which provides the scripts referenced below:

dotnet add package Syncfusion.Blazor.LinearGauge

Add Script References

  • For Blazor Server App / Blazor Web App, add these to Components/App.razor or App.razor.
  • For Blazor WebAssembly App: add these to wwwroot/index.html.
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>

Quick Start

  1. Register the Syncfusion® Blazor services in Program.cs:
using Syncfusion.Blazor;

builder.Services.AddSyncfusionBlazor();
  1. Add the Linear Gauge component in a Razor page:
@using Syncfusion.Blazor.LinearGauge

<SfLinearGauge>
    <LinearGaugeAxes>
        <LinearGaugeAxis Minimum="0" Maximum="100">
            <LinearGaugePointers>
                <LinearGaugePointer Value="40"></LinearGaugePointer>
            </LinearGaugePointers>
        </LinearGaugeAxis>
    </LinearGaugeAxes>
</SfLinearGauge>

Documentation

Support

License

This is a commercial product and requires a paid license for possession or use. Syncfusion® licensed software is subject to the terms and conditions of 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 Core | ASP.NET MVC | JavaScript | Angular | React | Vue

Mobile: Flutter | MAUI | UWP

Desktop: WinForms | WPF | WinUI

Learn more at www.syncfusion.com.

[email protected] | Toll Free: 1-888-9-DOTNET

Changes from Previous Version

No structural changes between v34.2.6 and v34.2.7.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.