ClassRadLegend
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:
public class RadLegend : RadView, IView, IElement, ITransform
Inheritance: objectRadViewRadLegend
Implements:
Inherited Members
Constructors
RadLegend()
Declaration
public RadLegend()
Fields
LegendItemFontColorProperty
Identifies the LegendItemFontColor bindable property.
Declaration
public static readonly BindableProperty LegendItemFontColorProperty
Field Value
BindableProperty
LegendItemFontSizeProperty
Identifies the LegendItemFontSize bindable property.
Declaration
public static readonly BindableProperty LegendItemFontSizeProperty
Field Value
BindableProperty
LegendItemIconSizeProperty
Identifies the LegendItemIconSize bindable property.
Declaration
public static readonly BindableProperty LegendItemIconSizeProperty
Field Value
BindableProperty
LegendProviderProperty
Identifies the LegendProvider bindable property.
Declaration
public static readonly BindableProperty LegendProviderProperty
Field Value
BindableProperty
OrientationProperty
Identifies the Orientation bindable property.
Declaration
public static readonly BindableProperty OrientationProperty
Field Value
BindableProperty
Properties
LegendItemFontColor
Gets or sets the font color for legend item text.
Declaration
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.
LegendItemIconSize
Gets or sets the size of the legend item icons.
Declaration
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
public RadChartBase LegendProvider { get; set; }
Property Value
A RadChartBase instance that serves as the legend provider.
Orientation
Gets or sets the orientation of the legend items.
Declaration
public LegendOrientation Orientation { get; set; }
Property Value
A LegendOrientation value that determines how legend items are arranged. The default value is Vertical.