Table of Contents

Class RadzenGridLines

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

Grid line configuration of IChartAxis.

public class RadzenGridLines : RadzenChartComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Inheritance
RadzenGridLines
Implements
Derived
Inherited Members

Constructors

RadzenGridLines()

public RadzenGridLines()

Properties

ChartAxis

The axis which this configuration applies to.

[CascadingParameter]
public IChartAxis ChartAxis { set; }

Property Value

IChartAxis

LineType

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

[Parameter]
public LineType LineType { get; set; }

Property Value

LineType

Stroke

Specifies the color of the grid lines.

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

Property Value

string

StrokeWidth

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

[Parameter]
public double StrokeWidth { get; set; }

Property Value

double

Visible

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

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

Property Value

bool

Methods

ShouldRefreshChart(ParameterView)

protected override bool ShouldRefreshChart(ParameterView parameters)

Parameters

parameters ParameterView

Returns

bool