html5 charts,HTML5/JavaScript Sparkline Charts & Graphs | Syncfusion

Overview

HTML5/JavaScript Sparkline Charts is a replacement for normal charts to display trends in a very small area. Customize sparklines completely by changing the series or axis type and by adding markers, data labels, range bands, and more.

Sparkline types

JavaScript Sparkline Charts support five types of sparklines (line, column, area, win-loss, and pie) to show data trends.

373b6a40568f61605904ac9b11568277.png

Line sparkline

Use a line sparkline to represent patterns and trends in data, such as seasonal effects, large changes, and turning points over a period of time.

b837e32c08cbdf8da28683d9a76efafe.png

Area sparkline

An area sparkline is a line sparkline with the area between its points colored. Use this when the magnitude of the trend is to be communicated rather than individual data values.

2d34676eefe2c8dec24ac4f5027eb90b.png

Column sparkline

A column sparkline is designed to show different values of two or more subjects. Use vertical bars to represent the different values.

f1c7b53cfcc2b2c773dd3d305d3444c8.png

Win-loss sparkline

Use a win-loss sparkline to show if each value is positive, negative, or zero to visualize win/loss scenarios such as results in games.

93bad5610f2bb00bcd93255f0697027e.png

Pie sparkline

A pie sparkline is a circular graph that is divided into slices to illustrate numeric proportions.

Axis value types

JavaScript Sparkline Charts control offers different axes types like numeric, category, and date-time to plot any type of data in the sparkline.

21a31aea22f930d8beb56857998c7730.png

Sparkline with numeric values

840846bf175098586c4e07317bcbae58.png

Sparkline with datetime values

f9572caee7839a1de92633c3e8392ca1.png

Sparkline with categorical values

Previous

Next

Axis customization

Configure and customize the axis in sparkline graphs to show the origin and range of the data points.

4d9a1ed9b7e8f6e4a041bf27a14cd9e7.png

Special points customization

Denote the data usage in JavaScript sparkline charts by highlighting and customizing the special data points, such as first, last, high, low, and negative points.

120536f2b5fd25a9c512d01477c5e9a8.png

Markers

The markers highlights data points in the line and area sparklines and makes these sparklines more readable.

938e661c41b0450c856d8f56fd87110f.png

Data label

Improve readability by using data labels in the sparkline to display the values of data points.

f9d1586aa1c449b65550f31070673be2.png

Tooltip

The interactive JavaScript Sparkline Charts provide options to display details about data point values through a tooltip when hovering the mouse over a data point.

4fd122cbad4bf447bd77831802ea1eff.gif

Track line

The track line tracks the data points that are closer to the mouse position or touch contact.

566d1172e5a8427877a78aad4872ad55.gif

Range band

Highlight a particular region in a JavaScript sparkline charts using a range band to show the range of safe values. By setting the minimum and maximum ranges for a range band, the outliers can be easily identified.

ad2968287127a59726ec5c5b8cbeca56.png

Touch and browser support

The interactive Sparkline Chart control also supports touch interactions.

6c6935f7d6ef2551ca39fd6aef8d2f2a.png

Touch support

All the sparkline features will work on touch devices with zero configuration. Use touch features such as tooltip and track line without any customization.

f7e541c70d2bc47752b55dd914da7a83.png

Responsive

You can view the JavaScript Sparkline Charts control on various devices. Also hide specific elements in the sparkline for particular screen sizes by making a very minimal change in the events.

60d20872f70127ec8b2821aa71901bc1.png

Cross-browser support

You can render the Sparkline Charts component in all modern browsers.

Other supported frameworks

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

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值