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:
public class RadLegend : RadView, IView, IElement, ITransform
Inheritance: objectRadViewRadLegend
Implements:
Inherited Members
Constructors
public RadLegend()
Fields
LegendItemFontColorProperty
BindableProperty
Identifies the LegendItemFontColor bindable property.
public static readonly BindableProperty LegendItemFontColorProperty
LegendItemFontSizeProperty
BindableProperty
Identifies the LegendItemFontSize bindable property.
public static readonly BindableProperty LegendItemFontSizeProperty
LegendItemIconSizeProperty
BindableProperty
Identifies the LegendItemIconSize bindable property.
public static readonly BindableProperty LegendItemIconSizeProperty
LegendProviderProperty
BindableProperty
Identifies the LegendProvider bindable property.
public static readonly BindableProperty LegendProviderProperty
OrientationProperty
BindableProperty
Identifies the Orientation bindable property.
public static readonly BindableProperty OrientationProperty
Properties
LegendItemFontColor
Color
Gets or sets the font color for legend item text.
public Color LegendItemFontColor { get; set; }
A Color value that defines the text color of legend items.
Gets or sets the font size for legend item text.
public double LegendItemFontSize { get; set; }
A double value representing the font size in device-independent units. The default value is 15.
Gets or sets the size of the legend item icons.
public Size LegendItemIconSize { get; set; }
A Size structure that defines the width and height of legend item icons. The default value is 20x20.
Gets or sets the chart that provides legend information.
public RadChartBase LegendProvider { get; set; }
A RadChartBase instance that serves as the legend provider.
Gets or sets the orientation of the legend items.
public LegendOrientation Orientation { get; set; }
A LegendOrientation value that determines how legend items are arranged. The default value is Vertical.