Partager via


Point.PieSliceLocation Method (Excel)

Returns the vertical or horizontal position of a point on a chart item, in points, from the top or left edge of the object to the top or left edge of the chart area.

Version Information

Version Added: Excel 2010

Syntax

expression .PieSliceLocation(loc, Index)

expression A variable that represents a Point object.

Parameters

Name

Required/Optional

Data Type

Description

loc

Required

XlPieSliceLocation

Specifies a horizontal or vertical coordinate.

Index

Optional

XlPieSliceIndex

Specifies which pie slice position coordinate to return. The default value is xlOuterCenterPoint.

Return Value

Double

Remarks

This property only applies to pie and doughnut chart types.

See Also

Concepts

Point Object

Point Object Members