Click or drag to resize

ChartLegend Class

Represents chart's legend properties.
Inheritance Hierarchy
System Object
Spire.Presentation.Charts ChartLegend

Namespace: Spire.Presentation.Charts
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public class ChartLegend

The ChartLegend type exposes the following members.

Properties
Name Description
Public property Effect
Gets effects used for a chart. Read-only EffectDag .
Public property Effect3D
Gets 3D format of a chart. Read-only FormatThreeD .
Public property EntryTextProperties
Represent text properties of Legend Entry
Public property Fill
Gets fill style properties of a chart. Read-only FillFormat .
Public property Height
Gets or sets the height of a legend. Read/write Single .
Public property IsOverlay
Indicates whether other chart elements allowed to overlap legend. Read/write Boolean .
Public property Left
Gets or sets the x coordinate of a legend. Read/write Single .
Public property LegendEntrys
Get legend entry collection.
Public property Line
Gets line style properties of a chart.
Public property Position
Gets or sets the position of the legend on a chart. Read/write ChartLegendPositionType .
Public property TextProperties
Represent text properties of Legend
Public property Top
Gets or sets the y coordinate of a legend. Read/write Single .
Public property Width
Gets or sets the width of a legend. Read/write Single .
Top
Methods
Name Description
Public method DeleteEntry
Delete legend entry by index
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method setEntrys
set Legend Entry
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also