Example of Default in React Sparkline Charts Component

/
/
Default

This sample visualizes population, population density, population growth rate, and birth rate of various countries from 2005 to 2014.

More Details...

Loading....
Description

In this example, you can see how to render a sparkline in a table. The color and type of the sparklines have been customized. 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 tooltip, inject the SparklineTooltip module using the Sparkline.Inject(SparklineTooltip) method.