@syncfusion/ej2-angular-lineargauge
TypeScript icon, indicating that this package has built-in type declarations

29.2.4 • Public • Published

Angular Linear Gauge Component

The Angular Linear Gauge component is used to visualize numerical values of an axis in linear manner. All the linear gauge elements are rendered using Scalable Vector Graphics (SVG).

Getting started . Online demos . Learn more

Angular Linear Gauge Component

Trusted by the world's leading companies Bootstrap logo

Setup

Create an Angular Application

You can use Angular CLI to setup your Angular applications. To install the Angular CLI, use the following command.

npm install -g @angular/cli

Create a new Angular application using the following Angular CLI command.

ng new my-app
cd my-app

Add Syncfusion Linear Gauge package

All Syncfusion Angular packages are available in npmjs.com. To install the Angular Linear Gauge package, use the following command.

npm install @syncfusion/ej2-angular-lineargauge

The above command does the below configuration to your Angular app.

  • Adds @syncfusion/ej2-angular-lineargauge package and its peer dependencies to your package.json file.
  • Imports the LinearGaugeModule in your application module app.module.ts.
  • Registers the Syncfusion UI default theme (material) in the angular.json file.

This makes it easy to add the Syncfusion Angular Linear Gauge module to your project and start using it in your application.

Add Linear Gauge component

In src/app/app.component.ts, use <ejs-lineargauge> selector in the template attribute of the @Component directive to render the Syncfusion Angular Linear Gauge component.

import { Component } from '@angular/core';

@Component({
selector: 'app-container',
template: `<ejs-lineargauge id="gauge-container"></ejs-lineargauge>`
})

export class AppComponent {

}

Supported frameworks

Linear Gauge component is also offered in the following list of frameworks.


     JavaScript    

       React      

       Vue         

  ASP.NET Core  

  ASP.NET MVC  

Showcase samples

Key features

  • Axes: Axes is a collection of axis that can be used to indicate the numeric values in linear scale.
  • Orientation: Renders in both vertical and horizontal directions.
  • Container: Container holds multiple axes together. It supports three types of containers: normal, rounded rectangle, and thermometer.
  • Ranges: Supports ranges to categorize the axis values. Any number of ranges can be added to the linear gauge.
  • Pointers: Pointers are used to indicate values on the axis. Linear gauge supports two types of pointers: bar and marker.
  • Annotation: Uses any custom HTML element as annotations and place it anywhere on the gauge.
  • Tooltip: Provides information about the pointer values on hover.
  • Pointer drag: Provides support to place the pointer at the desired values by dragging it.
  • Print and Export: Prints or exports the rendered linear gauge to a desired format. Exporting supports four formats: PDF, PNG, JPEG and SVG.
  • Globalization: Personalize the linear gauge component with different languages, as well as culture-specific number, date and time formatting.
  • Accessibility: Provides with built-in accessibility support which helps to access all the linear gauge component features through the keyboard, screen readers, or other assistive technology devices.

Support

Product support is available through the following mediums.

Changelog

Check the changelog here. Get minor improvements and bug fixes every week to stay up to date with frequent updates.

License and copyright

This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. To acquire a license for 80+ Angular UI components, you can purchase or start a free 30-day trial.

A free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers. See LICENSE FILE for more info.

© Copyright 2025 Syncfusion® Inc. All Rights Reserved. The Syncfusion® Essential Studio® license and copyright applies to this distribution.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
29.2.4113latest
29.2.4-ngcc37ngcc

Version History

VersionDownloads (Last 7 Days)Published
29.2.4113
29.2.4-ngcc37
29.1.34268
29.1.3320
29.1.33-ngcc1
28.2.3109
28.2.3-ngcc0
28.1.3320
28.1.33-ngcc0
27.2.220
27.2.2-ngcc0
27.1.507
27.1.50-ngcc0
27.1.481
27.1.48-ngcc0
26.2.1016
26.2.10-ngcc1
26.2.50
26.2.5-ngcc1
26.2.40
26.2.4-ngcc0
26.1.420
26.1.42-ngcc0
26.1.3512
26.1.35-ngcc0
25.2.391
25.2.3-ngcc1
25.1.400
25.1.40-ngcc0
25.1.350
25.1.35-ngcc0
24.2.32
24.2.3-ngcc0
24.1.460
24.1.46-ngcc0
24.1.410
24.1.41-ngcc0
23.2.4804
23.2.4-ngcc2
23.1.362
23.1.36-ngcc0
22.2.58
22.2.5-ngcc0
22.1.341
22.1.34-ngcc0
21.2.35
21.2.3-ngcc0
21.1.371
21.1.37-ngcc0
21.1.351
21.1.35-ngcc0
20.4.4832
20.4.48-ngcc1
20.4.4233
20.4.42-ngcc0
20.4.401
20.4.40-ngcc1
20.4.381
20.4.38-ngcc0
20.3.566
20.3.56-ngcc1
20.3.473
20.3.47-ngcc0
20.2.4527
20.2.45-ngcc0
20.2.431
20.2.43-ngcc3
20.2.380
20.2.38-ngcc2
20.2.37-ngcc0
20.2.360
20.2.36-ngcc1
20.1.550
20.1.481
20.1.470
19.4.5210
19.4.481
19.4.380
19.3.5334
19.3.430
19.2.602
19.2.571
19.2.550
19.2.441
19.1.634
19.1.540
18.4.394
18.4.300
18.3.471
18.3.350
18.2.582
18.2.542
18.2.440
18.1.521
18.1.4220
18.1.36-beta0
17.4.550
17.4.511
17.4.500
17.4.471
17.4.461
17.4.431
17.4.390
17.3.270
17.3.260
17.3.210
17.3.200
17.3.190
17.3.140
17.3.9-beta0
17.2.48-beta0
17.2.29-beta0
17.2.472
17.2.460
17.2.390
17.2.341
17.2.28-beta0
17.1.480
17.1.471
17.1.420
17.1.391
17.1.381
17.1.32-beta0
16.4.521
17.1.1-beta0
16.4.470
16.4.460
16.4.421
16.4.40-beta0
16.3.340
16.3.331
16.3.320
16.3.303
16.3.290
16.3.240
16.3.210
16.3.181
16.3.170

Package Sidebar

Install

npm i @syncfusion/ej2-angular-lineargauge

Weekly Downloads

1,758

Version

29.2.4

License

SEE LICENSE IN license

Unpacked Size

234 kB

Total Files

39

Last publish

Collaborators

  • syncfusionorg
  • essentialjs2
  • syncfusion-javascript