New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Configures the appearance of grid lines for chart axes.

Definition

Namespace:Telerik.Web.UI.HtmlChart.PlotArea

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class GridLinesBase : ObjectWithState

Inheritance: objectObjectWithStateGridLinesBase

Derived Classes: MajorGridLinesMinorGridLines

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public GridLinesBase(string key, StateBag OwnerStateBag)
Parameters:keystringOwnerStateBagStateBag

Properties

Get/Set the color of the grid lines

C#
[TypeConverter(typeof(ColorConverter))]
public Color Color { get; set; }

The dash type of the chart series border.

The following dash types are supported:

  • dasha line consisting of dashes
  • dashDota line consisting of a repeating pattern of dash-dot
  • dota line consisting of dots
  • longDasha line consisting of a repeating pattern of long-dash
  • longDashDota line consisting of a repeating pattern of long-dash-dot
  • longDashDotDota line consisting of a repeating pattern of long-dash-dot-dot
  • solid a solid line
C#
public DashType DashType { get; set; }

Defines that the first n axis grid lines will not be displayed..

C#
public int? Skip { get; set; }

Defines that every n-th axis grid line will be rendered.

C#
public int? Step { get; set; }

Get/Set whether the object should be visible

C#
public bool? Visible { get; set; }

Get/Set the width of the grid line

C#
public Unit Width { get; set; }