✅ You are viewing documentation for the latest version of Compose SDK.
Version:

# Type alias SeriesLabels

SeriesLabels: SeriesLabelsBase & SeriesLabelsAligning & { showPercentage: boolean; showPercentDecimals: boolean; showValue: boolean; }

Options that define series labels - titles/names identifying data series in a chart.

# SeriesLabels.showPercentage

showPercentage?: boolean

Boolean flag that defines if percentage should be shown in series labels (only applicable for subtypes that support percentage, like "stacked100")

# SeriesLabels.showPercentDecimals

showPercentDecimals?: boolean

Boolean flag that defines if percentage should be shown with decimals (will work only if showPercentage is true)

# SeriesLabels.showValue

showValue?: boolean

Boolean flag that defines if value should be shown in series labels (if not specified, default is determined by chart type)