Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ExcelScript.ChartDataLabelAnchor interface

Package:
ExcelScript

Represents the chart data label anchor.

Methods

getLeft()

Specifies 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()

Specifies 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)

Specifies 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)

Specifies 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()

Specifies 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()

Specifies 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)

Specifies 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)

Specifies 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


Feedback

Was this page helpful?