Class
ChartYAxisMajorGridLines

Telerik UI ChartYAxisMajorGridLines.

Definition

Constructors

ChartYAxisMajorGridLines()

Declaration

public ChartYAxisMajorGridLines()

Properties

ChildContent

Declaration

[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

Color

The color of the lines. Accepts a valid CSS color string, including hex and rgb.

Declaration

[Parameter]
public string Color { get; set; }

Property Value

string

DashType

The dash type of the line.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.

Declaration

[Parameter]
public DashType? DashType { get; set; }

Property Value

DashType?

Skip

The skip of the y axis major grid lines.

Declaration

[Parameter]
public double? Skip { get; set; }

Property Value

double?

Step

The step of the y axis major grid lines.

Declaration

[Parameter]
public double? Step { get; set; }

Property Value

double?

Visible

If set to false the chart will not display the y major grid lines. By default the y major grid lines are visible.

Declaration

[Parameter]
public bool? Visible { get; set; }

Property Value

bool?

Width

The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines. #### Example - set the scatter chart x major grid lines width

Declaration

[Parameter]
public double? Width { get; set; }

Property Value

double?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnAfterRender(bool)

Declaration

protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides ComponentBase.OnAfterRender(bool)

OnInitialized()

Declaration

protected override void OnInitialized()

Overrides DataVizChildComponent.OnInitialized()

OnParametersSet()

Declaration

protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()

Serialize()

Declaration

public Dictionary<string, object> Serialize()

Returns

Dictionary<string, object>