New to Telerik UI for Blazor? Start a free 30-day trial

Configuration for the chart legend.

Schema: src/common/models/chart.schema.json#/$defs/ChartLegendConfig

Definition

Namespace:Telerik.Blazor.Components.DatAInsightsComposer

Assembly:Telerik.Blazor.DatAInsightsComposer.dll

Syntax:

C#
public class ChartLegendConfig

Inheritance: objectChartLegendConfig

Constructors

C#
public ChartLegendConfig()

Properties

The alignment of the legend within its position. For top/bottom positions this is horizontal alignment; for left/right it is vertical. Default is Center.

C#
public ChartLegendAlign Align { get; set; }

The orientation of the legend items. Default is Vertical.

C#
public ChartLegendOrientation Orientation { get; set; }

The position of the legend relative to the chart. Default is Right.

C#
public ChartLegendPosition Position { get; set; }

Whether the legend is visible. null means not requested (renderer defaults to true).

C#
public bool? Visible { get; set; }