Stacked Area Plot
fun <X, Y> XYGraphScope<X, Y>.StackedAreaPlot(data: List<StackedAreaPlotEntry<X, Y>>, styles: List<StackedAreaStyle>, firstBaseline: AreaBaseline.ConstantLine<X, Y>, modifier: Modifier = Modifier, animationSpec: AnimationSpec<Float> = KoalaPlotTheme.animationSpec)
A Stacked Area Plot is like a line plot but with filled areas between lines, and where each successive line is added to all of the lines before it, so they stack.
Parameters
X
Data type of x-axis values
Y
Data type of y-axis values
data
List of MultiPoint data items for the plot. Each MultiPoint must hold the same number of y-axis values.
styles
A list of StackedAreaStyles to be applied to each series in the data. The size of this list must match the number of data series provided by data
animation Spec
The animation to provide to the graph when it is created or changed.