Legend

Legend class

Represents chart’s legend properties.

public class Legend : DomObject<Chart>, ILegend

Properties

Name Description
Bottom { get; } Bottom. Read-only Single.
Chart { get; } Returns the chart. Read-only IChart.
Entries { get; } Gets legend entries. Read-only ILegendEntryCollection.
Format { get; } Returns the format of a legend. Read-only IFormat.
Height { get; set; } Returns or sets the height of a legend as a fraction of the height of the chart. Read/write Single.
Overlay { get; set; } Determines whether other chart elements shall be allowed to overlap legend. Read/write Boolean.
Position { get; set; } 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.
Right { get; } Right. Read-only Single.
TextFormat { get; } Text format. Read-only IChartTextFormat.
Width { get; set; } Returns or sets the width of a legend as a fraction of the width of the chart. Read/write Single.
X { get; set; } Returns or sets the x coordinate of a legend as a fraction of the width of the chart. Read/write Single.
Y { get; set; } Returns or sets the y coordinate of a legend as a fraction of the height of the chart. Read/write Single.

See Also