Sparkline charts plot data at regular intervals, connected by lines from left to right to show changes in value.
The sparkline chart is meant as an alternative to the line chart, as it can be displayed in a smaller format without axes.
The design guidelines for sparkline charts aren't available yet. We're actively working on them.
As we've had some internal requirements, we decided to implement the sparkline chart in the component library based on the line chart.
Sparkline charts plot data at regular intervals connected by lines from left to right to demonstrate changes in value.
It is meant as an alternative to the regular line chart where it can be displayed in a smaller format without axes.
Usage
Importing
import { LumeSparklineChart } from '@adyen/lume';
Basic use
To generate a simple sparkline chart with default settings, simply pass the data and labels props.