We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Overview

The HTML5 JavaScript Sparkline Charts which is also known as inline graph or tiny charts is a data visualization tool that helps represent trends and variations associated with a measurement—such as average temperature or stock market activity—in a simple, lightweight, and condensed manner. This is a replacement for chart when there are space constraints, for example, viewing on the mobile device, placing inside a grid cell, etc.


Sparkline types

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

JavaScript sparkline charts rendered in line type

Line sparkline

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

JavaScript sparkline charts rendered in area type

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.

JavaScript sparkline charts rendered in column type

Column sparkline

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

JavaScript sparkline charts rendered in win-loss type

Win-loss sparkline

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

JavaScript sparkline charts rendered in pie type

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.


Axis customization

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

JavaScript sparkline chart rendered with customized axis


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.

JavaScript sparkline charts rendered with customized special points


Marker

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

JavaScript sparkline charts rendered with markers


Data label

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

Sparkline with Data label


Tooltip

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

Displays a tooltip on moving mouse over the data points in JavaScript sparkline charts


Track line

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

Displays a track line on moving mouse over the data points in JavaScript sparkline charts


Range band

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

JavaScript sparkline charts rendered with range band


Touch and Browser support

The interactive sparkline control also support touch interactions.

Touch illustration

Touch support

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

Responsive illustration

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.

Cross browser illustration

Cross browser support

You can render sparkline control in all the modern browsers.


Other supported frameworks

Sparkline charts can also be used natively in Angular, React and Vue frameworks.


75+ JAVASCRIPT UI CONTROLS

Integrates with Top Frameworks

Built-in integration with the most popular third-party frameworks, like Angular 2+, and React.

Transform your applications today by downloading our free evaluation versionDownload Free Trial

Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon