Legend Class

Represents chart's legend properties.
Inheritance Hierarchy
SystemObject
  Aspose.Slides.ChartsLegend

Namespace:  Aspose.Slides.Charts
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntax
public class Legend : ILegend, ILayoutable, 
	IChartComponent, ISlideComponent, IPresentationComponent, IFormattedTextContainer

The Legend type exposes the following members.

Properties
  NameDescription
Public propertyBottom
Bottom. Read-only Single.
Public propertyChart
Returns the chart. Read-only IChart.
Public propertyEntries
Gets legend entries. Read-only ILegendEntryCollection.
Public propertyFormat
Returns the format of a legend. Read-only IFormat.
Public propertyHeight
Returns or sets the height of a legend as a fraction of the height of the chart. Read/write Single.
Public propertyOverlay
Determines whether other chart elements shall be allowed to overlap legend. Read/write Boolean.
Public propertyPosition
Specifies the position of the legend on a chart. Non-NaN values of X, Y, Width, Heigt properties override effect of this property. Read/write LegendPositionType.
Public propertyRight
Right. Read-only Single.
Public propertyTextFormat
Text format. Read-only IChartTextFormat.
Public propertyWidth
Returns or sets the width of a legend as a fraction of the width of the chart. Read/write Single.
Public propertyX
Returns or sets the x coordinate of a legend as a fraction of the width of the chart. Read/write Single.
Public propertyY
Returns or sets the y coordinate of a legend as a fraction of the height of the chart. Read/write Single.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also