Legend Properties

Name Returns

Description

AutoScaleFont Variant Set/Get whether the font size will change auto matically if the parent chart changes sizes

AutoScaleFont Variant Set/Get whether the font size will change auto matically if the parent chart changes sizes

Format

ChartFormat

Read-only. Returns the ChartFormat object that controls the line, fill, and effect formatting for the chart area

Height

Double

Set/Get the height of the legend box

IncludeIn Layout

Boolean

When set to True, the legend will occupy the chart layout space while a chart layout is being determined. Default is True

Left

Double

Set/Get the distance from the left edge of the legend box to the left edge of the chart containing the legend

Name

String

Read-only. Returns the name of the Legend object

Position

XlLegendPosition

Set/Get the position of the legend on the chart (for example, xlLegendPositionCorner, xlLegendPositionLeft)

Shadow

Boolean

Set/Get whether the legend has a shadow effect

Top

Double

Set/Get the distance from the top edge of the legend box to the top edge of the chart containing the legend

Width Double Set/Get the width of the legend box

Width Double Set/Get the width of the legend box

Was this article helpful?

0 -1

Post a comment