Skip to main content

Data Labels Option Parameters

Gary Ditsch avatar
Written by Gary Ditsch
Updated today

Data Labels

option.label

option.path

data type

Labels

labels.display

boolean

X Axis Labels

labels.xAxisDisplay

boolean

Y Axis Labels

labels.yAxisDisplay

boolean

Data Values

labels.displayValue

boolean

Data percentages

labels.displayPercent

boolean

Individual Values

labels.displayIndividualValues

boolean

Show labels by bars

labels.labelOverBars

boolean

Percentage Axis

labels.displayPercentAxis

boolean

Font family

labels.family

string

Font size

labels.size

px

Text color

labels.color

color

Font style

labels.styles

array

Orientation

labels.orientation

string

Positioning

labels.position

string

Number formatting

labels.numberFormat

string

Currency

labels.displayCurrency

boolean

Select Currency

labels.currencySelect

string

Label Margin

labels.labelMargin

px

X Axis Truncation Threshold

labels.truncationThresholdX

number

Y Axis Truncation Threshold

labels.truncationThresholdY

number

Date formatting

labels.dateFormat

string

Individual Chart Labels (per combo layer)

labels.overrides.<layerKey>

boolean

Override Data Labels (per name)

labels.nameOverrides.<name>

string

Value Axis Font Family

valueAxisLabels.family

string

Value Axis Font Size

valueAxisLabels.size

px

Value Axis Color

valueAxisLabels.color

color

Value Axis Font Style

valueAxisLabels.styles

array

Value Axis Orientation

valueAxisLabels.orientation

string

Value Axis Number formatting

valueAxisLabels.numberFormat

string

Value Axis Currency

valueAxisLabels.displayCurrency

boolean

Value Axis Select Currency

valueAxisLabels.currencySelect

string

Use Custom Min

valueAxisLabels.useValueAxisMin

boolean

Custom Value Axis Min

valueAxisLabels.valueAxisMin

number

Use Custom Max

valueAxisLabels.useValueAxisMax

boolean

Custom Value Axis Max

valueAxisLabels.valueAxisMax

number

Name Axis Font Family

nameAxisLabels.family

string

Name Axis Font Size

nameAxisLabels.size

px

Name Axis Color

nameAxisLabels.color

color

Name Axis Font Style

nameAxisLabels.styles

array

Name Axis Orientation

nameAxisLabels.orientation

string

Did this answer your question?