ChartContainerStyle

class ChartContainerStyle(val styleTitle: TextStyle, val contentPadding: Dp, val styleSubtitle: TextStyle = TextStyle( fontSize = StyleDefaults.subtitleSize, fontWeight = StyleDefaults.subtitleWeight, textAlign = TextAlign.Start, ))(source)

Presentation-only container style shared by every chart.

The caller controls the surrounding chrome (background, shadow, shape, and outer padding) and the chart's size through the chart modifier. The style supplies the chart-internal content spacing and the title and subtitle text styles.

Constructors

Link copied to clipboard
constructor(styleTitle: TextStyle, contentPadding: Dp, styleSubtitle: TextStyle = TextStyle( fontSize = StyleDefaults.subtitleSize, fontWeight = StyleDefaults.subtitleWeight, textAlign = TextAlign.Start, ))

Properties

Link copied to clipboard

The internal spacing used for axes, title, legend, and plot content.

Link copied to clipboard

The text style applied to chart subtitles.

Link copied to clipboard

The text style applied to chart titles.