New to Telerik UI for Blazor? Start a free 30-day trial

Configuration for the numeric X axis used by scatter and bubble charts.

Does not inherit from ChartValueAxisConfig or ChartCategoryAxisConfig. The real Telerik.Blazor ChartXAxis component types Min/Max as object (a number, string, or date), unlike ChartValueAxis where they are strictly double?. It also types Type as a plain string ("numeric", "date", or "log") rather than an enum, since the numeric axis additionally supports a date scale that the ChartValueAxisType enum (Numeric/Logarithmic) doesn't model. These property-type differences make sharing a base class with ChartValueAxisConfig impossible.

Definition

Namespace:Telerik.Blazor.Components.DatAInsightsComposer

Assembly:Telerik.Blazor.DatAInsightsComposer.dll

Syntax:

C#
public class ChartXAxisConfig

Inheritance: objectChartXAxisConfig

Constructors

C#
public ChartXAxisConfig()

Properties

The interval between major gridlines / tick marks on the axis.

C#
public double? MajorUnit { get; set; }

The maximum value of the axis. May be a number or a DateTime for date axes. When not set the chart auto-calculates from data.

C#
public object? Max { get; set; }

The minimum value of the axis. May be a number or a DateTime for date axes. When not set the chart auto-calculates from data.

C#
public object? Min { get; set; }

Optional unique name used to associate a series with this axis.

C#
public string? Name { get; set; }

The axis title.

C#
public ChartAxisTitleConfig? Title { get; set; }

The axis scale type: "numeric" (default), "date", or "log".

C#
public string? Type { get; set; }