ChartValueAxis
Defines and configures a value axis for displaying numeric data scales in charts. Controls how numeric values are presented along the Y-axis with formatting, ranges, and visual styling. Essential for charts that display quantitative data requiring proper scaling and measurement indication. Supports multiple value axes for displaying different data series with distinct scales or units. Children: ChartValueAxisLabels, ChartValueAxisMajorGridLines, ChartValueAxisMinorGridLines, ChartValueAxisMajorTicks, ChartValueAxisMinorTicks, ChartValueAxisTitle, ChartValueAxisPlotBands.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartValueAxis : DataVizCollectionItemComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentDataVizCollectionItemComponentChartValueAxis
Implements:
Inherited Members
Constructors
public ChartValueAxis()
Properties
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)
[Parameter]
public object[] AxisCrossingValue { get; set; }
The background color of the axis.
[Parameter]
public string Background { get; set; }
The content of the ChartValueAxis component. Children: ChartValueAxisLabels, ChartValueAxisMajorGridLines, ChartValueAxisMinorGridLines, ChartValueAxisMajorTicks, ChartValueAxisMinorTicks, ChartValueAxisTitle, ChartValueAxisPlotBands.
[Parameter]
public RenderFragment ChildContent { get; set; }
The color of the value axis. Accepts a valid CSS color string, including hex and rgb.
[Parameter]
public string Color { get; set; }
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.
[Parameter]
public double? MajorUnit { get; set; }
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.
[Parameter]
public double? Min { get; set; }
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.
[Parameter]
public double? MinorUnit { get; set; }
The unique axis name. Used to associate a series with a value axis using the series.axis option.
[Parameter]
public string Name { get; set; }
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.
[Parameter]
public bool? NarrowRange { get; set; }
Specifies the axis type.
[Parameter]
public ChartValueAxisType? Type { get; set; }
If set to true the chart will display the value axis. By default the value axis is visible.
[Parameter]
public bool? Visible { get; set; }
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides: