Legend Class

The options of the legend of the color scale.

public sealed class Legend

Constructors

NameDescription
Legend()

Legend()

public Legend()

No documentation is available.

Properties

NameDescription
PositionGets or sets where the legend is drawn. The default is LegendPosition.Top.
TitleGets or sets the title of the legend, or null for none.
VisibleGets or sets a value that indicates whether the legend is drawn, or null for the default: drawn when the color scale has more than one category, or when it is continuous.

Position

Legend.cs

Gets or sets where the legend is drawn. The default is LegendPosition.Top.

public LegendPosition Position { get; set; }

Property value

LegendPosition

Gets or sets the title of the legend, or null for none.

public string? Title { get; set; }

Property value

string?

Visible

Legend.cs

Gets or sets a value that indicates whether the legend is drawn, or null for the default: drawn when the color scale has more than one category, or when it is continuous.

public bool? Visible { get; set; }

Property value

bool?