Class
ChartXAxisMinorTicks

Configures the minor tick marks displayed between major ticks along the X-axis. Provides precise control over secondary tick appearance to enhance chart accuracy and subdivision reference without overwhelming the visualization. Use this component to create detailed position markers that help users identify precise intermediate values between major tick positions.

Definition

Constructors

ChartXAxisMinorTicks()

Declaration

cs-api-definition
public ChartXAxisMinorTicks()

Properties

ChildContent

Declaration

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

Property Value

RenderFragment

Color

Specifies the color of minor tick marks that appear between major ticks on the X-axis. Accepts any valid CSS color value including hex codes (#666666), RGB values (rgb(102,102,102)), or color names (gray). Use colors that create clear visual hierarchy - typically lighter or more subdued than major tick colors. Subtle colors ensure minor ticks provide reference without competing with major axis elements.

Declaration

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

Property Value

string

Size

Defines the length of minor tick marks extending from the X-axis line in pixels. Use shorter ticks than major ticks (typically 2-4 pixels) to create appropriate visual hierarchy. Shorter length ensures minor ticks provide subdivision reference without overwhelming major tick prominence. Balance minor tick size with chart scale and major tick length for optimal readability.

Declaration

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

Property Value

double?

Skip

Specifies how many minor tick marks to skip at the beginning of the axis. Use this property to fine-tune minor tick alignment with data intervals or create custom subdivision patterns. For example, setting Skip to 2 will start minor ticks from the third subdivision position. Useful for aligning minor ticks with specific measurement intervals or maintaining precision across multiple chart axes.

Declaration

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

Property Value

double?

Step

Defines the interval between minor tick marks in axis units. For category axes, specifies subdivisions between major categories (e.g., 0.5 creates ticks between each category). For date axes, defines the time interval for minor subdivisions (e.g., 6 for 6-hour intervals between daily majors). Use this property to control minor tick density and provide appropriate level of precision for your measurement needs.

Declaration

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

Property Value

double?

Visible

Controls whether minor tick marks are displayed between major ticks on the X-axis. When set to true, additional tick marks appear to provide finer reference points for precise data positioning. Set to false (default) to maintain clean axis appearance while preserving major tick structure. Enable minor ticks for charts requiring high precision measurements or detailed subdivision references.

Declaration

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

Property Value

bool?

Width

Sets the thickness of minor tick marks in pixels. Use thinner lines than major ticks (typically 0.5-1 pixel) to create appropriate visual hierarchy. Subtle thickness ensures minor ticks provide subdivision reference without overwhelming major axis elements. Consider chart scale and major tick thickness when choosing minor tick width for balanced 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>