Class
RadLegend

Represents a legend control for displaying chart series information. This control extends RadView to provide legend functionality for chart controls.

Definition

Namespace:Telerik.Maui.Controls.Compatibility.Chart

Assembly:Telerik.Maui.Controls.Compatibility.dll

Syntax:

cs-api-definition
public class RadLegend : RadView, IView, IElement, ITransform

Inheritance: objectRadViewRadLegend

Implements: IElementITransformIView

Inherited Members RadView.OnNativeControlLoaded()RadView.OnNativeControlUnloaded()RadView.IsDefaultValue(string)RadView.OnPropertyChanged(string)RadView.OnHandlerChanged()RadView.IsOperational

Constructors

RadLegend()

Declaration

cs-api-definition
public RadLegend()

Fields

LegendItemFontColorProperty

Identifies the LegendItemFontColor bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty LegendItemFontColorProperty

Field Value

BindableProperty

LegendItemFontSizeProperty

Identifies the LegendItemFontSize bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty LegendItemFontSizeProperty

Field Value

BindableProperty

LegendItemIconSizeProperty

Identifies the LegendItemIconSize bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty LegendItemIconSizeProperty

Field Value

BindableProperty

LegendProviderProperty

Identifies the LegendProvider bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty LegendProviderProperty

Field Value

BindableProperty

OrientationProperty

Identifies the Orientation bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty OrientationProperty

Field Value

BindableProperty

Properties

LegendItemFontColor

Gets or sets the font color for legend item text.

Declaration

cs-api-definition
public Color LegendItemFontColor { get; set; }

Property Value

Color

A Color value that defines the text color of legend items.

LegendItemFontSize

Gets or sets the font size for legend item text.

Declaration

cs-api-definition
public double LegendItemFontSize { get; set; }

Property Value

double

A double value representing the font size in device-independent units. The default value is 15.

LegendItemIconSize

Gets or sets the size of the legend item icons.

Declaration

cs-api-definition
public Size LegendItemIconSize { get; set; }

Property Value

Size

A Size structure that defines the width and height of legend item icons. The default value is 20x20.

LegendProvider

Gets or sets the chart that provides legend information.

Declaration

cs-api-definition
public RadChartBase LegendProvider { get; set; }

Property Value

RadChartBase

A RadChartBase instance that serves as the legend provider.

Orientation

Gets or sets the orientation of the legend items.

Declaration

cs-api-definition
public LegendOrientation Orientation { get; set; }

Property Value

LegendOrientation

A LegendOrientation value that determines how legend items are arranged. The default value is Vertical.