Class StockChartLegend
Telerik UI StockChartLegend.
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class StockChartLegend : DataVizChildComponent, IDisposable
Constructors
StockChartLegend()
Declaration
public StockChartLegend()
Properties
Align
Specifies the legend align.
Declaration
public Nullable<ChartLegendAlign> Align { get; set; }
Property Value
System.Nullable<ChartLegendAlign>
|
Background
The background color of the legend. Any valid CSS color string will work here, including hex and rgb.
Declaration
public string Background { get; set; }
Property Value
System.String
|
ChildContent
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
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
public Nullable<double> OffsetX { get; set; }
Property Value
System.Nullable<System.Double>
|
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
public Nullable<double> OffsetY { get; set; }
Property Value
System.Nullable<System.Double>
|
Orientation
Specifies the legend orientation.
Declaration
public Nullable<ChartLegendOrientation> Orientation { get; set; }
Property Value
System.Nullable<ChartLegendOrientation>
|
Position
Specifies the legend position.
Declaration
public Nullable<ChartLegendPosition> Position { get; set; }
Property Value
System.Nullable<ChartLegendPosition>
|
Reverse
If set to true the legend items will be reversed.Available in versions 2013.3.1306 and later.
Declaration
public Nullable<bool> Reverse { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Visible
The visibility of the legend.
Declaration
public Nullable<bool> Visible { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnAfterRender(Boolean)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
System.Boolean
firstRender
|
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns
System.Collections.Generic.Dictionary<System.String, System.Object>
|