ExcelScript.ChartDataLabelAnchor interface
Represents the chart data label anchor.
Methods
get |
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. |
get |
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. |
set |
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. |
set |
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