Search results

SparklineDataLabelSettings API in JavaScript (ES5) Sparkline API control

To configure the sparkline dataLabel options.

Properties

border

SparklineBorderModel

To configure Sparkline dataLabel border color and width.

edgeLabelMode

EdgeLabelMode

To change the edge dataLabel placement.

Defaults to ‘None’.

fill

string

To configure the dataLabel fill color.

Defaults to ‘transparent’

format

string

To configure the dataLabel format the value.

Defaults to

offset

LabelOffsetModel

To configure Sparkline dataLabel offset.

opacity

number

To configure the dataLabel opacity.

Defaults to 1

textStyle

SparklineFontModel

To configure Sparkline dataLabel text styles.

visible

VisibleType[]

To toggle the dataLabel visibility.

Defaults to [].