html5 dashboard gauge,JavaScript Linear Gauge Chart | HTML5 Linear Gauge | Syncfusion

Overview

The HTML5 JavaScript Linear Gauge is an ideal control for visualizing numeric values in a linear scale with features like multiple axes, different orientations, and more. Completely customize the appearance of the gauge to simulate a thermometer, pressure gauge, ruler, etc.

Orientation

Position the linear gauge either in vertical or horizontal orientation. This is helpful when viewing the gauge on mobile devices.

2eb8eb0aa08090718816375b456f53c5.png

JavaScript linear gauge chart rendered in vertical orientation

b37bef2fb8e934666a379ec599545639.png

JavaScript linear gauge chart rendered in horizontal orientation

Previous

Next

Containers

A container holds the ranges and pointers in linear gauge. Customize the shape of the container as a rectangle, rounded rectangle, or thermometer.

3190f3aa86a09eea21edbdbbd9145ceb.png

JavaScript linear gauge chart rendered with rectangle container

ce4984cf099c06b5585a091a28a975bd.png

JavaScript linear gauge chart rendered with rounded rectangle container

0c4c296e970f37ac6742e46c07801554.png

JavaScript linear gauge chart rendered with thermometer container

Previous

Next

Axes customization

The gauge axes are linear scales where a set of values can be plotted based on any business logic. You can also easily customize the appearance of the axes.

Label customization

Customize the look and feel of the default labels in the linear gauge by changing the font style, size, and color. Prefix or suffix text can also be added to the labels.

Ticks customization

Define the desired style for major ticks and minor ticks in the gauge by changing their height, width, and color.

Offset

To enhance readability, change the position of the default axes in the gauge by setting the offset value for labels, ticks, and axis lines.

68dd434d198f0af5d9b667362daa39f8.png

Axis line

Add a border to the gauge by using axis lines. The appearance of the default axis in the linear gauge can also be customized.

d700c247227b5af7b18e246ba39c3e6f.png

Multiple axes

The JavaScript linear gauge chart allows you to add multiple axes to a gauge to design it like a thermometer, ruler and more.

69c3324f3ecc8f952e034c9ead0f150e.png

Inverse axis

Values in the linear gauge axes can be reversed.

Range customization

A range in an HTML5 JavaScript linear gauge chart is a visual element that helps to quickly visualize where a value falls on the axis.

e68b0e57583fe20ded4d8a1961abbac7.png

Range position

Change the position of a range or move to any place inside the gauge.

3ef93539e02cd05ceede845d8cb27cfe.png

Range width

The range width varies based on the values to enhance usage and readability.

954834b2d9efd57278a00cb6a30af806.png

Multiple ranges

You can add multiple ranges inside the axes as a result to show color variations.

Pointer types

Indicate the values on an axis using pointers. The HTML5 JavaScript linear gauge chart control supports two types of pointers: marker, and bar.

Marker pointer

Point out the current value by using the following different types of marker pointers.

7c3e6dc278821dfda465e8e40206bc43.png

Pointer type

Change the marker pointer type to built-in shapes such as a triangle, inverted triangle, square, or circle to highlight values.

5b557c039d5c5954204133af409a90b3.png

Marker pointer position

You can change or move the marker pointers to any place inside the gauge.

Bar pointer

Use bar pointer to point the current value from the start value of the axes.

4f5b4e169a7255697758fbd045eda986.png

Pointer position

You can change or move the bar pointers to any place inside the gauge graphs.

6bd0f09803932146cd3ba528c734bff8.png

Multiple pointers

You can add more than one bar pointer to the axes to indicate multiple values.

Pointer animation

The HTML5 JavaScript linear gauge chart control provides a visually appealing way to view its pointers with animated transitions for a certain duration. Experience smooth pointer transitions by moving the pointer from one place to another.

6915748d65a88c75218ba43823469bdc.gif

Pointer interaction

The interactive linear gauge chart control provides an option to drag the pointer from one place to another. Control the pointer with swipe gestures and change the value at runtime.

c02f48087301b4baae0bb0135bd7da39.gif

Tooltips

The interactive HTML5 JavaScript linear gauge chart control provides options to display details about the pointer value through a tooltip when hovering the mouse over the pointer.

9ddfc297b1c1a720d18134d72bd2193f.png

Annotations

Display any HTML element as an annotation at a specific point of interest in the linear gauge chart. You can also add multiple annotations in a gauge.

fc5dcf11ebb444371637959d71841b92.png

Appearance

The appearance of each element in the linear gauge chart, such as axes, ranges, axes intervals, pointer positions, label positions, tick positions, and more can be customized easily.

e5a9f74214911b0fb83035100b60fca5.png

JavaScript linear gauge chart rendered with customized appearance

d072527a0a47343a031d29f5a0935f0f.png

JavaScript linear gauge chart rendered with customized appearance

dd6adf4a9284ce004fa51908cc1e0cac.png

JavaScript linear gauge chart rendered with customized appearance

Previous

Next

Gradient color

Colors applied to the range and pointer can vary gradually to create a smooth color transition.

linear-gauge-gradient.png

Gauge title

Add a title to visualize additional information on the linear gauge chart. You can also customize the font of the title in the gauge.

47ff8d729918bdcb3ce42e2f5397b7b3.png

Width and Height

The linear gauge control allows you to change its size by setting the width and height. You can also make the gauges to fill its parent container by simply setting the height and width as 100%.

Touch and Browser support

The interactive linear gauge control also support touch interactions.

263fd2b465d374ed05ac47f76eb9015b.png

Touch support

All the features in linear gauge chart will work on touch devices with zero configuration. Use the touch features such as tooltip and pointer drag without any customization.

81c08de231c97a3f08e9dd1f38782bc2.png

Responsive

You can view the linear gauge on various devices. It is also possible to hide specific elements in the gauges for particular screen sizes by making a very minimal change in the gauge events.

7c5ddd299ef9f480ee1ec67a903a0573.png

Cross browser support

You can render linear gauge control in all the modern browsers.

Other supported frameworks

The Linear Gauge Chart component is also available in Blazor, React, Angular, and Vue frameworks. Check out the different Linear Gauge Chart platforms from the links below,

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值