Class
ChartYAxisMinorTicks

Configures the minor tick marks displayed between major ticks along the Y-axis. Provides precise control over secondary tick appearance to enhance chart accuracy and value 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

ChartYAxisMinorTicks()

Declaration

cs-api-definition
public ChartYAxisMinorTicks()

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 Y-axis. Accepts any valid CSS color value including hex codes (#888888), RGB values (rgb(136,136,136)), 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 value subdivision 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 Y-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 value subdivision reference without overwhelming major tick prominence. Balance minor tick size with chart scale and major tick length for optimal value reading precision.

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 value 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 numeric axes, specifies subdivisions between major values (e.g., 1 creates ticks between 5-unit majors). For date axes, defines the time interval for minor subdivisions (e.g., hourly ticks 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 Y-axis. When set to true, additional tick marks appear to provide finer value 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 value 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 to create appropriate visual hierarchy and maintain chart balance. Subtle thickness ensures minor ticks provide value reference without overwhelming major axis elements. Consider chart scale and major tick width when choosing minor tick thickness for optimal value precision indicators.

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>