Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenGridLines

    Grid line configuration of IChartAxis.

    Inheritance
    object
    ComponentBase
    RadzenChartComponentBase
    RadzenGridLines
    RadzenSeriesTrendLine
    RadzenSeriesValueLine
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    Inherited Members
    RadzenChartComponentBase.Initialize()
    RadzenChartComponentBase.SetParametersAsync(ParameterView)
    RadzenChartComponentBase.ValidateParameters()
    RadzenChartComponentBase.DidParameterChange<T>(ParameterView, string, T)
    RadzenChartComponentBase.Chart
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.StateHasChanged()
    ComponentBase.ShouldRender()
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.DispatchExceptionAsync(Exception)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    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
    Overrides
    RadzenChartComponentBase.ShouldRefreshChart(ParameterView)

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT