Skip to main content

Sparkline

The Sparkline is a compact and simple data visualization that displays a trend or pattern of data in a small, condensed format. It typically consists of a single line or area graph, without axes or labels, that represents the variation of data points over time.

SparklineProps

NameTypeDefaultDescription
data
| []
-

Data to show

color?
-

Sparkline color

variant?
-

Sparkline variant (line, area)

showTicks?
-

Whether Sparkline shows X Axis ticks or not

loading?
-

When true: Sets an overlay with default loader.

gapPolicy?
-

Gap policy

curve?
'linear'

Curve shape of the series

Still have questions?
Find answers in the Dynatrace Community