style
Returns a StackedAreaChartStyle with the provided parameters or their default values.
Parameters
The fallback fill color used when areaColors is empty. Defaults to the primary theme color.
The explicit fill colors used for stacked areas. Defaults to an empty list.
The alpha value applied to area fills. Defaults to 0.4f in light theme and 0.6f in dark theme.
Whether boundary lines are shown on top of filled areas. Defaults to true.
The fallback boundary line color used when lineColors is empty. Defaults to the primary theme color.
The explicit boundary line colors. Defaults to an empty list.
The stroke width of boundary lines. Defaults to 4f.
Whether curved lines are used for area boundaries. Defaults to false.
The style to be applied to the chart view. Defaults to ChartViewDefaults.style().
Whether zoom controls are shown in expanded dense mode. Defaults to true.
Whether Y-axis labels are shown. Defaults to true.
The color of Y-axis labels. Defaults to a theme-based onSurface variant.
The text size of Y-axis labels. Defaults to 11.sp.
Number of Y-axis labels. Defaults to 5.
Whether X-axis labels are shown. Defaults to true.
The color of X-axis labels. Defaults to a theme-based onSurface variant.
The text size of X-axis labels. Defaults to 11.sp.
Maximum number of X-axis labels to display. Defaults to 6.