Skip to main content
A newer version of this page is available. .

Legend Members

Stores chart legend settings.

Constructors

Name Description
Legend() Initializes a new instance of the Legend class with default settings.

Properties

Name Description
HorizontalPosition Gets or sets the horizontal position of the legend relative to the chart diagram.
Orientation Specifies whether legend items are arranged in a column (from the top to the bottom) or row (from the left to the right).
Style Gets or sets the legend appearance settings.
VerticalPosition Gets or sets the vertical position of the legend relative to the chart diagram.
Visible Specifies whether the legend is visible.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also