New to Telerik UI for .NET MAUIStart a free 30-day trial

Defines the contract for legend rendering functionality in chart controls.

Definition

Namespace:Telerik.Maui.Controls.Compatibility.Chart

Assembly:Telerik.Maui.Controls.Compatibility.dll

Syntax:

C#
public interface ILegendRenderer

Derived Classes: LegendRenderer

Methods

Updates the font color of the legend item text.

C#
void UpdateLegendItemsFontColor(Color color)
Parameters:colorColor

The Color for the legend item text.

Updates the font size of the legend item text.

C#
void UpdateLegendItemsFontSize(double size)
Parameters:sizedouble

The font size value.

Updates the size of the legend item icons.

C#
void UpdateLegendItemsIconSize(Size size)
Parameters:sizeSize

The Size of the legend item icons.

Updates the orientation of the legend.

C#
void UpdateLegendOrientation(LegendOrientation orientation)
Parameters:orientationLegendOrientation

The LegendOrientation value specifying the legend orientation.

Updates the legend provider that supplies legend data.

C#
void UpdateLegendProvider()