Top property (Excel Graph)
For the Application object, the distance from the top edge of the screen to the top edge of the main Graph window. Returns or sets the position of the Application object. In Windows, if the application window is minimized, this property controls the position of the window icon (anywhere on the screen). Read/write Double.
For the AxisTitle, ChartArea, ChartTitle, DataLabel, DataSheet, DisplayUnitLabel, Legend, and PlotArea objects, the distance from the top edge of the object to the top of row 1 (on a datasheet) or the top of the chart area (on a chart). Read/write Double.
For the Axis, LegendEntry, and LegendKey objects, the distance from the top edge of the object to the top of row 1 (on a datasheet) or the top of the chart area (on a chart). Read-only Double.
For the Chart object, the distance from the top edge of the object to the top of row 1 (on a datasheet) or the top of the chart area (on a chart). Read/write Variant.
expression.Top
expression Required. An expression that returns one of the above objects.
This example sets the position of the top of the chart title.
myChart.ChartTitle.Top = 10
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.