Edit

Share via


ExcelScript.ChartDataLabelAnchor interface

Represents the chart data label anchor.

Methods

getLeft()

Represents the distance, in points, from the anchor to the left edge of the chart data label. Note that when getting the value, it may differ slightly from the set value.

getTop()

Represents the distance, in points, from the anchor to the top edge of the chart data label. Note that when getting the value, it may differ slightly from the set value.

setLeft(left)

Represents the distance, in points, from the anchor to the left edge of the chart data label. Note that when getting the value, it may differ slightly from the set value.

setTop(top)

Represents the distance, in points, from the anchor to the top edge of the chart data label. Note that when getting the value, it may differ slightly from the set value.

Method Details

getLeft()

Represents the distance, in points, from the anchor to the left edge of the chart data label. Note that when getting the value, it may differ slightly from the set value.

getLeft(): number;

Returns

number

getTop()

Represents the distance, in points, from the anchor to the top edge of the chart data label. Note that when getting the value, it may differ slightly from the set value.

getTop(): number;

Returns

number

setLeft(left)

Represents the distance, in points, from the anchor to the left edge of the chart data label. Note that when getting the value, it may differ slightly from the set value.

setLeft(left: number): void;

Parameters

left

number

Returns

void

setTop(top)

Represents the distance, in points, from the anchor to the top edge of the chart data label. Note that when getting the value, it may differ slightly from the set value.

setTop(top: number): void;

Parameters

top

number

Returns

void