Class RadzenGridLines
Grid line configuration of IChartAxis.
Inheritance
RadzenGridLines
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenGridLines : RadzenChartComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Constructors
RadzenGridLines()
Grid line configuration of IChartAxis.
Declaration
public RadzenGridLines()
Properties
ChartAxis
The axis which this configuration applies to.
Declaration
[CascadingParameter]
public IChartAxis ChartAxis { set; }
Property Value
Type | Description |
---|---|
IChartAxis |
LineType
Specifies the type of line used to render the grid lines.
Declaration
[Parameter]
public LineType LineType { get; set; }
Property Value
Type | Description |
---|---|
LineType |
Stroke
Specifies the color of the grid lines.
Declaration
[Parameter]
public string Stroke { get; set; }
Property Value
Type | Description |
---|---|
string |
StrokeWidth
Specifies the pixel width of the grid lines. Set to 1
by default.
Declaration
[Parameter]
public double StrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
double |
Visible
Specifies whether to display grid lines or not. Set to false
by default.
Declaration
[Parameter]
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
ShouldRefreshChart(ParameterView)
Determines if RadzenChart should render.
Declaration
protected override bool ShouldRefreshChart(ParameterView parameters)
Parameters
Type | Name | Description |
---|---|---|
ParameterView | parameters | The parameters. |
Returns
Type | Description |
---|---|
bool |