Decoration
A Decoration
adds an additional layer of data to a CartesianChart
. There are two built-in
implementations—HorizontalLine
and HorizontalBox
—and you can add your own.
For an example, see the “AI test scores” (Compose, views) sample chart.