StockChartLegend
Telerik UI StockChartLegend. Children: StockChartLegendBorder, StockChartLegendItem, StockChartLegendLabels, StockChartLegendTitle.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class StockChartLegend : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentStockChartLegend
Implements:
Inherited Members
Constructors
public StockChartLegend()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides:
Properties
Specifies the legend align.
[Parameter]
public ChartLegendAlign? Align { get; set; }
The background color of the legend. Any valid CSS color string will work here, including hex and rgb.
[Parameter]
public string Background { get; set; }
[Parameter]
public RenderFragment ChildContent { get; set; }
The X offset from its position. The offset is relative to the current position of the legend. For instance, a value of 20 will move the legend 20 pixels to the right of it's initial position. A negative value will move the legend to the left of the current position.
[Parameter]
public double? OffsetX { get; set; }
The Y offset from its position. The offset is relative to the current position of the legend. For instance, a value of 20 will move the legend 20 pixels down from it's initial position. A negative value will move the legend upwards from the current position.
[Parameter]
public double? OffsetY { get; set; }
Specifies the legend orientation.
[Parameter]
public ChartLegendOrientation? Orientation { get; set; }
Specifies the legend position.
[Parameter]
public ChartLegendPosition? Position { get; set; }
If set to true the legend items will be reversed.Available in versions 2013.3.1306 and later.
[Parameter]
public bool? Reverse { get; set; }