Stacked Area Chart Defaults
Theme-aware style factories and default value formatters for StackedAreaChartStyle.
Properties
Functions
Link copied to clipboard
fun fill(color: Color = StyleDefaults.seriesColor, colors: List<Color> = emptyList(), alpha: Float = StyleDefaults.seriesAlpha, bezier: Boolean = false, gradient: ChartGradient? = null): StackedAreaFillStyle
Returns a StackedAreaFillStyle for the stacked layers.
Link copied to clipboard
Returns a LegendStyle with the provided visibility.
Link copied to clipboard
fun selection(visible: Boolean = true, color: Color = StyleDefaults.selectionColor, width: Dp = StyleDefaults.lineWidth, unselectedAlpha: Float = StyleDefaults.unselectedAlpha): StackedAreaSelectionStyle
Returns a StackedAreaSelectionStyle for the selection indicator.
Link copied to clipboard
fun style(chartContainerStyle: ChartContainerStyle = ChartContainerDefaults.style(), fill: StackedAreaFillStyle = fill(), axes: AxesStyle = AxesDefaults.style(), selection: StackedAreaSelectionStyle = selection(), legend: LegendStyle = legend(), zoomControlsVisible: Boolean = true): StackedAreaChartStyle
Returns a StackedAreaChartStyle with the provided parameters or their default values.
Link copied to clipboard
fun xLabels(visible: Boolean = StyleDefaults.axisLabelsVisible, color: Color = StyleDefaults.axisLabelColor, size: TextUnit = StyleDefaults.axisLabelSize, maxCount: Int? = StyleDefaults.axisLabelMaxCount): AxisLabelStyle
Returns an AxisLabelStyle for X-axis labels.
Link copied to clipboard
fun yLabels(visible: Boolean = StyleDefaults.axisLabelsVisible, color: Color = StyleDefaults.axisLabelColor, size: TextUnit = StyleDefaults.axisLabelSize, maxCount: Int? = StyleDefaults.axisLabelMaxCount): AxisLabelStyle
Returns an AxisLabelStyle for Y-axis labels.