Stacked Area Plot
A plot that renders multiple stacked series of data as lines with filled areas between them.
This function provides a flexible way to construct a stacked area chart, allowing each layer to be defined individually with its own data and drawing style (e.g., linear or cubic Bézier). The plot automatically uses the top of the previous layer as the baseline for the next, creating the stacked effect.
Parameters
The type of the x-axis values.
The type of the y-axis values.
A list of StackArea instances, where each defines a layer of the chart. The layers are rendered in the order provided, with the first item at the bottom of the stack.
The AreaBaseline for the very first (bottom) layer of the stack.
A Modifier for the plot.
The AnimationSpec to use for animating the plot when it is first composed or when data changes.
A Stacked Area Plot is like a line plot but with filled areas between lines.
Parameters
Data type of x-axis values
Data type of y-axis values
List of StackedAreaPlotEntry data items for the plot. Each must hold the same number of y-axis values.
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
The animation to provide to the graph when it is created or changed.