• Material
  • Fabric
  • Bootstrap
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Essential JS 2
HOME
All Controls

Button

This sample visualizes several population details of various countries from 2005 to 2014.

DEMO
SOURCE
Population comparision between various countries
- From 2005 to 2014


Population
Population Density
Population Growth Rate
Birth Rate
Australia
Canada
China
France
Germany
India
Russia
Sweden
United Kingdom
United Sates

In this example, you can see how to render sparkline in a table and we have customized the color and type of the sparklines.Tooltip is enabled in this example. To see the tooltip in action, hover the mouse over the data points or tap on a data point in touch enabled devices.


Injecting Module

Sparkline component features are segregated into individual feature-wise modules. To use a tooltip, inject the SparklineTooltip module using the Sparkline.Inject(SparklineTooltip) method.