Class SmithChartLegendSettings
Options to customize the legend in the chart.
Inheritance
SmithChartLegendSettings
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class SmithChartLegendSettings : SfBaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
SmithChartLegendSettings()
Declaration
public SmithChartLegendSettings()
Properties
Alignment
Alignment for legend.
Declaration
[Parameter]
public SmithChartAlignment Alignment { get; set; }
Property Value
| Type |
|---|
| SmithChartAlignment |
ColumnCount
Column count for legend.
Declaration
[Parameter]
public int ColumnCount { get; set; }
Property Value
| Type |
|---|
| int |
Description
Description for legend.
Declaration
[Parameter]
public string Description { get; set; }
Property Value
| Type |
|---|
| string |
Height
Height of the legend.
Declaration
[Parameter]
public string Height { get; set; }
Property Value
| Type |
|---|
| string |
ItemPadding
Spacing between legend items.
Declaration
[Parameter]
public double ItemPadding { get; set; }
Property Value
| Type |
|---|
| double |
Position
Position of the legend.
Declaration
[Parameter]
public LegendPosition Position { get; set; }
Property Value
| Type |
|---|
| LegendPosition |
RowCount
Row count for legend.
Declaration
[Parameter]
public int RowCount { get; set; }
Property Value
| Type |
|---|
| int |
Shape
Shape of the legend.
Declaration
[Parameter]
public Shape Shape { get; set; }
Property Value
| Type |
|---|
| Shape |
ShapePadding
Padding between the legend shape and text.
Declaration
[Parameter]
public double ShapePadding { get; set; }
Property Value
| Type |
|---|
| double |
ToggleVisibility
If set to true, series visibility collapses based on the legend visibility.
Declaration
[Parameter]
public bool ToggleVisibility { get; set; }
Property Value
| Type |
|---|
| bool |
Visible
Visibility of the legend.
Declaration
[Parameter]
public bool Visible { get; set; }
Property Value
| Type |
|---|
| bool |
Width
Width of the legend.
Declaration
[Parameter]
public string Width { get; set; }
Property Value
| Type |
|---|
| string |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |