Class
LinearGaugeScale

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

public class LinearGaugeScale : DataVizCollectionItemComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseDataVizChildComponentDataVizCollectionItemComponentLinearGaugeScale

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members ComponentBase.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DisExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

LinearGaugeScale()

Declaration

public LinearGaugeScale()

Properties

ChildContent

Declaration

[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

MajorUnit

The interval between major divisions.

Declaration

[Parameter]
public double? MajorUnit { get; set; }

Property Value

double?

Max

The maximum value of the scale.

Declaration

[Parameter]
public double? Max { get; set; }

Property Value

double?

Min

The minimum value of the scale.

Declaration

[Parameter]
public double? Min { get; set; }

Property Value

double?

MinorUnit

The interval between minor divisions.

Declaration

[Parameter]
public double? MinorUnit { get; set; }

Property Value

double?

Mirror

Mirrors the scale labels and ticks. If the labels are normally on the left side of the scale, mirroring the scale will render them to the right.

Declaration

[Parameter]
public bool? Mirror { get; set; }

Property Value

bool?

Reverse

Reverses the axis direction - values increase from right to left and from top to bottom.

Declaration

[Parameter]
public bool? Reverse { get; set; }

Property Value

bool?

Vertical

The position of the gauge.

Declaration

[Parameter]
public bool? Vertical { get; set; }

Property Value

bool?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

public override void Dispose()

Overrides DataVizChildComponent.Dispose()

OnAfterRenderAsync(bool)

Declaration

protected override Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender

bool

Returns

Task

Overrides ComponentBase.OnAfterRenderAsync(bool)

OnInitializedAsync()

Declaration

protected override Task OnInitializedAsync()

Returns

Task

Overrides ComponentBase.OnInitializedAsync()

OnParametersSetAsync()

Declaration

protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()