Class
ChartValueAxis

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class ChartValueAxis : DataVizCollectionItemComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseDataVizChildComponentDataVizCollectionItemComponentChartValueAxis

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members ComponentBase.OnInitializedAsync()ComponentBase.OnParametersSetAsync()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.SetParametersAsync(ParameterView)

Constructors

ChartValueAxis()

Declaration

cs-api-definition
public ChartValueAxis()

Properties

AxisCrossingValue

Value at which the category axis crosses this axis. (Only for object)Value indices at which the category axes cross the value axis. (Only for array)Date at which the category axis crosses this axis. (Only for date)

Declaration

cs-api-definition
[Parameter]
public object[] AxisCrossingValue { get; set; }

Property Value

object[]

Background

The background color of the axis.

Declaration

cs-api-definition
[Parameter]
public string Background { get; set; }

Property Value

string

ChildContent

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

Color

The color of the value axis. Accepts a valid CSS color string, including hex and rgb.

Declaration

cs-api-definition
[Parameter]
public string Color { get; set; }

Property Value

string

MajorUnit

The interval between major divisions. If the valueAxis.type is set to "log", the majorUnit value will be used for the base of the logarithm.

Declaration

cs-api-definition
[Parameter]
public double? MajorUnit { get; set; }

Property Value

double?

Max

The maximum value of the axis.

Declaration

cs-api-definition
[Parameter]
public double? Max { get; set; }

Property Value

double?

Min

The minimum value of the axis. Under certain conditions, the narrowRange setting can overwrite this setting. To give priority to the min setting of your choice, set valueAxis.narrowRange to false.

Declaration

cs-api-definition
[Parameter]
public double? Min { get; set; }

Property Value

double?

MinorUnit

The interval between minor divisions. It defaults to 1/5 of the valueAxis.majorUnit. If the valueAxis.type is set to "log", the minorUnit value represents the number of divisions between two major units and defaults to the major unit minus one.

Declaration

cs-api-definition
[Parameter]
public double? MinorUnit { get; set; }

Property Value

double?

Name

The unique axis name. Used to associate a series with a value axis using the series.axis option.

Declaration

cs-api-definition
[Parameter]
public string Name { get; set; }

Property Value

string

NarrowRange

If set to true the Chart will narrow the value axis range in order to display data points in better detail. Setting it to false will force the automatic axis range to start from 0 or the explicitly specified valueAxis.min value.

Declaration

cs-api-definition
[Parameter]
public bool? NarrowRange { get; set; }

Property Value

bool?

Type

Specifies the axis type.

Declaration

cs-api-definition
[Parameter]
public ChartValueAxisType? Type { get; set; }

Property Value

ChartValueAxisType?

Visible

If set to true the chart will display the value axis. By default the value axis is visible.

Declaration

cs-api-definition
[Parameter]
public bool? Visible { get; set; }

Property Value

bool?

ZIndex

An optional Z-index that can be used to change the default stacking position of the valueAxis.

Declaration

cs-api-definition
[Parameter]
public double? ZIndex { get; set; }

Property Value

double?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

cs-api-definition
public override void Dispose()

Overrides DataVizChildComponent.Dispose()

OnAfterRender(bool)

Declaration

cs-api-definition
protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides ComponentBase.OnAfterRender(bool)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides DataVizChildComponent.OnInitialized()

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()