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

Interface FunnelSeriesLabels

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

Properties

align

align?: "center" | "left" | "right"

The horizontal alignment of the data label compared to the point

For some chart types, this will only apply when alignInside is true.


alignInside

alignInside?: boolean

If true, series labels appear inside bars/columns instead of at the datapoints. Not applicable for some chart types e.g. line, area


backgroundColor

backgroundColor?: GradientColor | string

Background color of the labels. auto uses the same color as the data point


borderColor

borderColor?: GradientColor | string

Color of the labels border


borderRadius

borderRadius?: number

Border radius in pixels applied to the labels border, if visible

Default

0

borderWidth

borderWidth?: number

Border width of the series labels, in pixels


enabled

enabled: boolean

Boolean flag that defines if series labels should be shown on the chart


padding

padding?: number

Padding of the series labels, in pixels


prefix

prefix?: string

Text to be shown before the series labels


rotation

rotation?: number

Rotation of series labels (in degrees) Note that due to a more complex structure, backgrounds, borders and padding will be lost on a rotated data label


showCategory

showCategory?: boolean

Boolean flag that defines if category names should be shown in series labels


showPercentage

showPercentage?: boolean

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


showPercentDecimals

showPercentDecimals?: boolean

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


showValue

showValue?: boolean

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


suffix

suffix?: string

Text to be shown after the series labels


textStyle

textStyle?: SeriesLabelsTextStyle

Styling for labels text


verticalAlign

verticalAlign?: "bottom" | "middle" | "top"

The vertical alignment of the data label

For some chart types, this will only apply when alignInside is true.


xOffset

xOffset?: number

Horizontal offset of the labels in pixels, relative to its horizontal alignment specified via align

Default

0

yOffset

yOffset?: number

Vertical offset of the labels in pixels, relative to its vertical alignment specified via verticalAlign

Default

0
Last Updated: