Class
ChartCategoryAxisMinorTicks

Configures the minor tick marks that appear between major ticks for enhanced measurement precision. Creates additional visual indicators for more detailed category positioning and scale reading. Useful for charts requiring fine-grained measurement guides without visual clutter. Controls tick styling with typically smaller size than major ticks for balanced presentation hierarchy.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class ChartCategoryAxisMinorTicks : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseDataVizChildComponentChartCategoryAxisMinorTicks

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

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

Constructors

ChartCategoryAxisMinorTicks()

Declaration

cs-api-definition
public ChartCategoryAxisMinorTicks()

Properties

ChildContent

Declaration

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

Property Value

RenderFragment

Color

Sets the color of minor tick marks on the category axis. Accepts any valid CSS color including hex codes (#CCCCCC), RGB values (rgb(204,204,204)), named colors (lightgray), or HSL values. Minor ticks provide additional reference points between major axis divisions and are typically colored more subtly than major ticks.

Declaration

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

Property Value

string

Size

Controls the length of minor tick marks in pixels. Minor ticks are typically shorter than major ticks to create visual hierarchy. Common values range from 2-8 pixels, with smaller values (2-4px) creating subtle reference marks and larger values (6-8px) providing more prominent visual guides.

Declaration

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

Property Value

double?

Skip

Sets how many minor tick marks to skip from the beginning of the category axis. Use this to offset the minor tick pattern, for example, Skip=1 starts minor ticks from the second category instead of the first. Useful for aligning minor ticks with specific data patterns or avoiding conflicts with major ticks.

Declaration

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

Property Value

double?

Step

Controls the interval between minor tick marks on the category axis. Set to 1 to show a minor tick between every category, 2 for every other category, etc. This helps provide additional reference points without overwhelming the chart with too many tick marks, especially useful for precise data reading.

Declaration

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

Property Value

double?

Visible

Controls whether minor tick marks are displayed on the category axis. Set to true (default) to show minor ticks for enhanced data reading precision, or false to hide them for cleaner chart appearance. Minor ticks help users interpolate values between major axis points.

Declaration

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

Property Value

bool?

Width

Sets the thickness of minor tick marks in pixels. Use thin lines (0.5-1 pixel) for subtle reference ticks, or slightly thicker lines (1-2 pixels) for more visible guides. Minor tick width is typically thinner than major ticks to maintain proper visual hierarchy. Combine with Color and Size for optimal appearance.

Declaration

cs-api-definition
[Parameter]
public double? Width { 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)

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()

Serialize()

Declaration

cs-api-definition
public Dictionary<string, object> Serialize()

Returns

Dictionary<string, object>