ClassStockChartLegend
Telerik UI StockChartLegend.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class StockChartLegend : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentStockChartLegend
Implements:
Inherited Members
Constructors
StockChartLegend()
Declaration
public StockChartLegend()
Properties
Align
Specifies the legend align.
Declaration
[Parameter]
public ChartLegendAlign? Align { get; set; }
Property Value
Background
The background color of the legend. Any valid CSS color string will work here, including hex and rgb.
Declaration
[Parameter]
public string Background { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
OffsetX
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.
Declaration
[Parameter]
public double? OffsetX { get; set; }
Property Value
OffsetY
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.
Declaration
[Parameter]
public double? OffsetY { get; set; }
Property Value
Orientation
Specifies the legend orientation.
Declaration
[Parameter]
public ChartLegendOrientation? Orientation { get; set; }
Property Value
Position
Specifies the legend position.
Declaration
[Parameter]
public ChartLegendPosition? Position { get; set; }
Property Value
Reverse
If set to true the legend items will be reversed.Available in versions 2013.3.1306 and later.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
OnAfterRender(bool)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
firstRender
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns