Skip to main content
All docs
V26.1
  • Legend Members

    Specifies chart legend settings and custom entries.

    Constructors

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

    Properties

    Name Description
    AllowOverlapChart Gets or sets whether the legend can overlap the chart area. Inherited from LegendBase.
    CustomEntries Returns individual legend entries to allow you to customize the legend.
    Effects Gets or sets shape effects for the chart element. Inherited from ChartElement.
    Fill Gets or sets fill settings for the chart element. Inherited from ChartElement.
    Layout Gets or sets layout options for the legend.
    OutlineStyle Gets or sets outline settings for the chart element. Inherited from ChartElement.
    Position Gets or sets the legend position. Inherited from LegendBase.
    TextProperties Gets or sets text formatting properties for the legend. Inherited from LegendBase.

    Methods

    Name Description
    Clone() Creates a copy of the current legend object.
    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