Class
LegendRenderer

Definition

Namespace:Telerik.Maui.Controls.Compatibility.ChartRenderer.Android

Assembly:Telerik.Maui.Controls.Compatibility.dll

Syntax:

cs-api-definition
public class LegendRenderer : AndroidRendererBase<RadLegend, RadLegendView>, ILegendRenderer, ICollectionChangeListener, IJavaObject, IDisposable, IJavaPeerable

Inheritance: objectAndroidRendererBase<RadLegend, RadLegendView>LegendRenderer

Implements: ICollectionChangeListenerIDisposableIJavaObjectIJavaPeerableILegendRenderer

Inherited Members AndroidRendererBase<RadLegend, RadLegendView>.OnElementChanged(ElementChangedEventArgs<RadLegend>)AndroidRendererBase<RadLegend, RadLegendView>.CreateNativeControl()AndroidRendererBase<RadLegend, RadLegendView>.DisconnectHandler(RadLegendView)AndroidRendererBase<RadLegend, RadLegendView>.Dispose(bool)

Constructors

LegendRenderer(Context)

Declaration

cs-api-definition
public LegendRenderer(Context context)

Parameters

context

Context

Methods

CollectionChanged(CollectionChangedEvent)

Declaration

cs-api-definition
public void CollectionChanged(CollectionChangedEvent p0)

Parameters

p0

CollectionChangedEvent

OnElementPropertyChanged(object, PropertyChangedEventArgs)

Declaration

cs-api-definition
protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)

Parameters

sender

object

e

PropertyChangedEventArgs

UpdateLegendItemsFontColor(Color)

Updates the font color of the legend item text.

Declaration

cs-api-definition
public void UpdateLegendItemsFontColor(Color color)

Parameters

color

Color

The Color for the legend item text.

Implements ILegendRenderer.UpdateLegendItemsFontColor(Color)

UpdateLegendItemsFontSize(double)

Updates the font size of the legend item text.

Declaration

cs-api-definition
public void UpdateLegendItemsFontSize(double size)

Parameters

size

double

The font size value.

Implements ILegendRenderer.UpdateLegendItemsFontSize(double)

UpdateLegendItemsIconSize(Size)

Updates the size of the legend item icons.

Declaration

cs-api-definition
public void UpdateLegendItemsIconSize(Size size)

Parameters

size

Size

The Size of the legend item icons.

Implements ILegendRenderer.UpdateLegendItemsIconSize(Size)

UpdateLegendOrientation(LegendOrientation)

Updates the orientation of the legend.

Declaration

cs-api-definition
public void UpdateLegendOrientation(LegendOrientation orientation)

Parameters

orientation

LegendOrientation

The LegendOrientation value specifying the legend orientation.

Implements ILegendRenderer.UpdateLegendOrientation(LegendOrientation)

UpdateLegendProvider()

Updates the legend provider that supplies legend data.

Declaration

cs-api-definition
public void UpdateLegendProvider()

Implements ILegendRenderer.UpdateLegendProvider()