RadzenGridLines Class

Grid line configuration of IChartAxis.

Inheritance

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

RadzenChartComponentBase.Initialize

RadzenChartComponentBase.SetParametersAsync

RadzenChartComponentBase.ValidateParameters

RadzenChartComponentBase.DidParameterChange

RadzenChartComponentBase.Chart

ComponentBase.BuildRenderTree

ComponentBase.OnInitialized

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.OnAfterRenderAsync

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenGridLines : RadzenChartComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Constructors

RadzenGridLineslink

Grid line configuration of IChartAxis.

Declaration
public RadzenGridLines()

Properties

ChartAxislink

The axis which this configuration applies to.

Declaration
public IChartAxis ChartAxis { set; }
Property Value
Type Description
IChartAxisThe axis which this configuration applies to.

LineTypelink

Specifies the type of line used to render the grid lines.

Declaration
public LineType LineType { get; set; }
Property Value
Type Description
LineTypeSpecifies the type of line used to render the grid lines.

Strokelink

Specifies the color of the grid lines.

Declaration
public string Stroke { get; set; }
Property Value
Type Description
stringSpecifies the color of the grid lines.

StrokeWidthlink

Specifies the pixel width of the grid lines. Set to 1 by default.

Declaration
public double StrokeWidth { get; set; }
Property Value
Type Description
doubleSpecifies the pixel width of the grid lines. Set to 1 by default.

Visiblelink

Specifies whether to display grid lines or not. Set to false by default.

Declaration
public bool Visible { get; set; }
Property Value
Type Description
boolSpecifies whether to display grid lines or not. Set to false by default.

Methods

ShouldRefreshChartlink

Declaration
protected override bool ShouldRefreshChart(ParameterView parameters)
Parameters
Type Name Description
ParameterView parameters
Returns
Type Description
bool
An error has occurred. This app may no longer respond until reloaded. Reload 🗙