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

Encapsulates common line styling for series (width, dash pattern and basic line style). Provides serialization logic used by line-capable series types and is extended by ExtendedLineAppearance.

Definition

Namespace:Telerik.Web.UI.HtmlChart.PlotArea

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class LineAppearance : ObjectWithState

Inheritance: objectObjectWithStateLineAppearance

Derived Classes: ExtendedLineAppearance

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

Constructors

C#
public LineAppearance(string prefix, StateBag OwnerStateBag)
Parameters:prefixstringOwnerStateBagStateBag

Properties

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 the line style.

C#
public virtual LineStyle LineStyle { get; set; }

Gets or sets the line width of the series.

C#
[TypeConverter(typeof(UnitConverter))]
public Unit Width { get; set; }